Home | History | Annotate | Download | only in wps

Lines Matching refs:httpread

2  * httpread - Manage reading file(s) from HTTP/TCP socket
39 #include "httpread.h"
60 struct httpread {
63 void (*cb)(struct httpread *handle, void *cookie,
137 void httpread_destroy(struct httpread *h)
158 struct httpread *h = user_ctx;
159 wpa_printf(MSG_DEBUG, "httpread timeout (%p)", h);
168 struct httpread *h,
204 static int httpread_hdr_analyze(struct httpread *h)
376 struct httpread *h = sock_ctx;
399 wpa_printf(MSG_DEBUG, "httpread premature eof(%p)", h);
405 "httpread premature eof(%p) %d/%d",
415 wpa_printf(MSG_DEBUG, "httpread ok eof(%p)", h);
452 wpa_printf(MSG_DEBUG, "httpread bad hdr(%p)", h);
458 "httpread no body hdr end(%p)", h);
464 "httpread zero content length(%p)",
480 "httpread NO BODY for sp. type");
548 "httpread end chunks(%p)", h);
580 "httpread got content(%p)", h);
641 "httpread got content(%p)", h);
664 wpa_printf(MSG_DEBUG, "httpread read/parse failure (%p)", h);
674 "httpread got file %d bytes type %d",
706 struct httpread * httpread_create(
708 void (*cb)(struct httpread *handle, void *cookie,
715 struct httpread *h = NULL;
748 enum httpread_hdr_type httpread_hdr_type_get(struct httpread *h)
757 char * httpread_uri_get(struct httpread *h)
764 int httpread_reply_code_get(struct httpread *h)
771 int httpread_length_get(struct httpread *h)
781 void * httpread_data_get(struct httpread *h)
791 char * httpread_hdr_get(struct httpread *h)
805 char * httpread_hdr_line_get(struct httpread *h, const char *tag)