libmicrohttpd2

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

response_options.h (1197B)


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