#include <http-socket.h>
Data Fields | |
uint64_t | bodylen |
http_socket_callback_t | callback |
void * | callbackptr |
const char * | content_type |
struct http_socket_header | header |
int | header_chars |
char | header_field [15] |
uint8_t | header_received |
struct pt pt | headerpt |
uint8_t | inputbuf [HTTP_SOCKET_INPUTBUFSIZE] |
uint64_t | length |
struct http_socket * | next |
uint8_t | outputbuf [HTTP_SOCKET_OUTPUTBUFSIZE] |
int64_t | pos |
const uint8_t * | postdata |
uint16_t | postdatalen |
struct tcp_socket | s |
struct etimer | timeout_timer |
uint8_t | timeout_timer_started |
char | url [HTTP_SOCKET_URLLEN] |
uint64_t http_socket::bodylen |
Referenced by input_pt().
http_socket_callback_t http_socket::callback |
Referenced by call_callback(), http_socket_get(), and http_socket_post().
void* http_socket::callbackptr |
Referenced by call_callback(), http_socket_get(), and http_socket_post().
const char* http_socket::content_type |
Referenced by event(), and http_socket_post().
struct http_socket_header http_socket::header |
Referenced by input_pt(), and parse_header_byte().
int http_socket::header_chars |
Referenced by parse_header_byte().
char http_socket::header_field[15] |
Referenced by parse_header_byte().
uint8_t http_socket::header_received |
Referenced by input_pt().
Referenced by parse_header_byte(), and parse_header_init().
uint8_t http_socket::inputbuf[HTTP_SOCKET_INPUTBUFSIZE] |
Referenced by http_socket_get(), and http_socket_post().
uint64_t http_socket::length |
Referenced by event(), http_socket_get(), and http_socket_post().
struct http_socket* http_socket::next |
uint8_t http_socket::outputbuf[HTTP_SOCKET_OUTPUTBUFSIZE] |
Referenced by http_socket_get(), and http_socket_post().
int64_t http_socket::pos |
Referenced by event(), http_socket_get(), and http_socket_post().
const uint8_t* http_socket::postdata |
Referenced by event(), http_socket_get(), and http_socket_post().
uint16_t http_socket::postdatalen |
Referenced by event(), http_socket_get(), and http_socket_post().
struct tcp_socket http_socket::s |
Referenced by http_socket_close(), http_socket_get(), http_socket_post(), input_pt(), parse_header_byte(), PROCESS_THREAD(), and start_request().
struct etimer http_socket::timeout_timer |
Referenced by PROCESS_THREAD(), removesocket(), and start_timeout_timer().
uint8_t http_socket::timeout_timer_started |
Referenced by http_socket_get(), http_socket_post(), PROCESS_THREAD(), removesocket(), and start_timeout_timer().
char http_socket::url[HTTP_SOCKET_URLLEN] |
Referenced by event(), http_socket_get(), http_socket_post(), parse_url(), PROCESS_THREAD(), and start_request().