|
wpa_supplicant / hostapd 2.0
|
httpread - Manage reading file(s) from HTTP/TCP socket Author: Ted Merrill More...
Go to the source code of this file.
Enumerations | |
| enum | httpread_event { HTTPREAD_EVENT_FILE_READY = 1, HTTPREAD_EVENT_TIMEOUT = 2, HTTPREAD_EVENT_ERROR = 3 } |
| enum | httpread_hdr_type { HTTPREAD_HDR_TYPE_UNKNOWN = 0, HTTPREAD_HDR_TYPE_REPLY = 1, HTTPREAD_HDR_TYPE_GET = 2, HTTPREAD_HDR_TYPE_HEAD = 3, HTTPREAD_HDR_TYPE_POST = 4, HTTPREAD_HDR_TYPE_PUT = 5, HTTPREAD_HDR_TYPE_DELETE = 6, HTTPREAD_HDR_TYPE_TRACE = 7, HTTPREAD_HDR_TYPE_CONNECT = 8, HTTPREAD_HDR_TYPE_NOTIFY = 9, HTTPREAD_HDR_TYPE_M_SEARCH = 10, HTTPREAD_HDR_TYPE_M_POST = 11, HTTPREAD_HDR_TYPE_SUBSCRIBE = 12, HTTPREAD_HDR_TYPE_UNSUBSCRIBE = 13, HTTPREAD_N_HDR_TYPES } |
Functions | |
| void | httpread_destroy (struct httpread *h) |
| struct httpread * | httpread_create (int sd, void(*cb)(struct httpread *handle, void *cookie, enum httpread_event e), void *cookie, int max_bytes, int timeout_seconds) |
| enum httpread_hdr_type | httpread_hdr_type_get (struct httpread *h) |
| char * | httpread_uri_get (struct httpread *h) |
| int | httpread_reply_code_get (struct httpread *h) |
| int | httpread_length_get (struct httpread *h) |
| void * | httpread_data_get (struct httpread *h) |
| char * | httpread_hdr_get (struct httpread *h) |
| char * | httpread_hdr_line_get (struct httpread *h, const char *tag) |
httpread - Manage reading file(s) from HTTP/TCP socket Author: Ted Merrill
This software may be distributed under the terms of the BSD license. See README for more details.
1.7.3