libmicrohttpd2

HTTP server C library (MHD 2.x, alpha)
Log | Files | Refs | README | LICENSE

response_options.h (1178B)


      1 /* This is generated code, it is still under LGPLv2.1+.
      2    Do not edit directly! */
      3 /**
      4  * @file response_options.h
      5  * @author response-options-generator.c
      6  */
      7 
      8 #ifndef MHD_RESPONSE_OPTIONS_H
      9 #define MHD_RESPONSE_OPTIONS_H 1
     10 
     11 #include "mhd_sys_options.h"
     12 #include "mhd_public_api.h"
     13 
     14 struct ResponseOptions
     15 {
     16   /**
     17    * Value for #MHD_R_O_REUSABLE.
     18    */
     19   enum MHD_Bool reusable;
     20 
     21 
     22   /**
     23    * Value for #MHD_R_O_HEAD_ONLY_RESPONSE.
     24    */
     25   enum MHD_Bool head_only_response;
     26 
     27 
     28   /**
     29    * Value for #MHD_R_O_CHUNKED_ENC.
     30    */
     31   enum MHD_Bool chunked_enc;
     32 
     33 
     34   /**
     35    * Value for #MHD_R_O_CONN_CLOSE.
     36    */
     37   enum MHD_Bool conn_close;
     38 
     39 
     40   /**
     41    * Value for #MHD_R_O_HTTP_1_0_COMPATIBLE_STRICT.
     42    */
     43   enum MHD_Bool http_1_0_compatible_strict;
     44 
     45 
     46   /**
     47    * Value for #MHD_R_O_HTTP_1_0_SERVER.
     48    */
     49   enum MHD_Bool http_1_0_server;
     50 
     51 
     52   /**
     53    * Value for #MHD_R_O_INSANITY_HEADER_CONTENT_LENGTH.
     54    */
     55   enum MHD_Bool insanity_header_content_length;
     56 
     57 
     58   /**
     59    * Value for #MHD_R_O_TERMINATION_CALLBACK.
     60    * the function to call,
     61    * NULL to not use the callback
     62    */
     63   struct MHD_ResponseOptionValueEndedCB termination_callback;
     64 
     65 
     66 };
     67 
     68 #endif /* ! MHD_RESPONSE_OPTIONS_H 1 */