Home | History | Annotate | Download | only in wps

Lines Matching defs:httpread

2  * httpread - Manage reading file(s) from HTTP/TCP socket
45 #include "httpread.h"
66 struct httpread {
69 void (*cb)(struct httpread *handle, void *cookie,
158 void httpread_destroy(struct httpread *h)
183 struct httpread *h = user_ctx;
184 wpa_printf(MSG_DEBUG, "httpread timeout (%p)", h);
194 struct httpread *h,
230 static int httpread_hdr_analyze(struct httpread *h)
403 struct httpread *h = sock_ctx;
426 wpa_printf(MSG_DEBUG, "httpread premature eof(%p)", h);
432 "httpread premature eof(%p) %d/%d",
442 wpa_printf(MSG_DEBUG, "httpread ok eof(%p)", h);
479 wpa_printf(MSG_DEBUG, "httpread bad hdr(%p)", h);
485 "httpread no body hdr end(%p)", h);
491 "httpread zero content length(%p)",
507 "httpread NO BODY for sp. type");
575 "httpread end chunks(%p)", h);
607 "httpread got content(%p)", h);
669 "httpread got content(%p)", h);
692 wpa_printf(MSG_DEBUG, "httpread read/parse failure (%p)", h);
702 "httpread got file %d bytes type %d",
738 struct httpread * httpread_create(
740 void (*cb)(struct httpread *handle, void *cookie,
747 struct httpread *h = NULL;
784 enum httpread_hdr_type httpread_hdr_type_get(struct httpread *h)
793 char * httpread_uri_get(struct httpread *h)
800 int httpread_reply_code_get(struct httpread *h)
807 int httpread_length_get(struct httpread *h)
817 void * httpread_data_get(struct httpread *h)
827 char * httpread_hdr_get(struct httpread *h)
841 char * httpread_hdr_line_get(struct httpread *h, const char *tag)