GNU libmicrohttpd 1.0.9
Loading...
Searching...
No Matches
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 2250 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 2256 of file microhttpd.h.

Referenced by add_opt(), build_options(), LLVMFuzzerTestOneInput(), mhd_opt_matrix_fill_options(), and 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 2269 of file microhttpd.h.

Referenced by add_opt(), build_options(), LLVMFuzzerTestOneInput(), mhd_opt_matrix_fill_options(), and 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 2263 of file microhttpd.h.

Referenced by add_opt(), build_options(), LLVMFuzzerTestOneInput(), mhd_opt_matrix_fill_options(), and parse_options_va().


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