GNU libmicrohttpd  0.9.29
MHD_OptionItem Struct Reference

#include <microhttpd.h>

Data Fields

enum MHD_OPTION option
 
intptr_t value
 
void * ptr_value
 

Detailed Description

Entry in an MHD_OPTION_ARRAY.

Definition at line 1496 of file microhttpd.h.

Field Documentation

◆ option

enum MHD_OPTION MHD_OptionItem::option

Which option is being given. Use MHD_OPTION_END to terminate the array.

Definition at line 1502 of file microhttpd.h.

Referenced by parse_options_va().

◆ ptr_value

void* MHD_OptionItem::ptr_value

Pointer option value (use NULL for options taking no arguments or only an integer option).

Definition at line 1515 of file microhttpd.h.

Referenced by parse_options_va().

◆ value

intptr_t MHD_OptionItem::value

Option value (for integer arguments, and for options requiring two pointer arguments); should be 0 for options that take no arguments or only a single pointer argument.

Definition at line 1509 of file microhttpd.h.

Referenced by parse_options_va().


The documentation for this struct was generated from the following file: