Public Types | |
enum | trailer_state { trailer_line_begin = 0, trailer_empty_cr, trailer_nonempty, trailer_nonempty_cr } |
Data Fields | |
int | sd |
void(* | cb )(struct httpread *handle, void *cookie, enum httpread_event e) |
void * | cookie |
int | max_bytes |
int | timeout_seconds |
int | sd_registered |
int | to_registered |
int | got_hdr |
char | hdr [HTTPREAD_HEADER_MAX_SIZE+1] |
int | hdr_nbytes |
enum httpread_hdr_type | hdr_type |
int | version |
int | reply_code |
int | got_content_length |
int | content_length |
int | chunked |
char * | uri |
int | got_body |
char * | body |
int | body_nbytes |
int | body_alloc_nbytes |
int | got_file |
int | in_chunk_data |
int | chunk_start |
int | chunk_size |
int | in_trailer |
enum httpread::trailer_state | trailer_state |
Definition at line 68 of file httpread.c.