HomePort
Data Structures | Macros | Typedefs | Functions
httpd_header_parser.h File Reference
Include dependency graph for httpd_header_parser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  hp_settings
 

Macros

#define HP_SETTINGS_DEFAULT
 

Typedefs

typedef hpd_error_t(* hp_string_cb) (void *data, const char *field, size_t field_length, const char *value, size_t value_length)
 

Functions

hpd_error_t hp_create (struct hp **instance, struct hp_settings *settings, const hpd_module_t *context)
 
hpd_error_t hp_destroy (struct hp *)
 
hpd_error_t hp_on_header_complete (struct hp *instance)
 
hpd_error_t hp_on_header_field (struct hp *instance, const char *field_chunk, size_t length)
 
hpd_error_t hp_on_header_value (struct hp *instance, const char *value_chunk, size_t length)
 

Data Structure Documentation

struct hp_settings

Definition at line 37 of file httpd_header_parser.h.

Collaboration diagram for hp_settings:
Data Fields
void * data
hp_string_cb on_field_value_pair

Macro Definition Documentation

#define HP_SETTINGS_DEFAULT
Value:
{\
.on_field_value_pair = NULL, \
.data = NULL }

Definition at line 42 of file httpd_header_parser.h.

Typedef Documentation

typedef hpd_error_t(* hp_string_cb) (void *data, const char *field, size_t field_length, const char *value, size_t value_length)

Definition at line 33 of file httpd_header_parser.h.

Function Documentation

hpd_error_t hp_create ( struct hp **  instance,
struct hp_settings settings,
const hpd_module_t context 
)

Definition at line 67 of file httpd_header_parser.c.

Here is the caller graph for this function:

hpd_error_t hp_destroy ( struct hp )

Definition at line 183 of file httpd_header_parser.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hp_on_header_complete ( struct hp instance)

Definition at line 158 of file httpd_header_parser.c.

Here is the caller graph for this function:

hpd_error_t hp_on_header_field ( struct hp instance,
const char *  field_chunk,
size_t  length 
)

Definition at line 90 of file httpd_header_parser.c.

Here is the call graph for this function:

Here is the caller graph for this function:

hpd_error_t hp_on_header_value ( struct hp instance,
const char *  value_chunk,
size_t  length 
)

Definition at line 131 of file httpd_header_parser.c.

Here is the caller graph for this function: