$search
Go to the source code of this file.
Functions | |
void | http_request_deinit (struct http_request *req) |
struct sockaddr_in * | http_request_get_cli_addr (struct http_request *req) |
char * | http_request_get_data (struct http_request *req) |
char * | http_request_get_hdr (struct http_request *req) |
char * | http_request_get_hdr_line (struct http_request *req, const char *tag) |
enum httpread_hdr_type | http_request_get_type (struct http_request *req) |
char * | http_request_get_uri (struct http_request *req) |
void | http_request_send (struct http_request *req, struct wpabuf *resp) |
void | http_request_send_and_deinit (struct http_request *req, struct wpabuf *resp) |
void | http_server_deinit (struct http_server *srv) |
int | http_server_get_port (struct http_server *srv) |
struct http_server * | http_server_init (struct in_addr *addr, int port, void(*cb)(void *ctx, struct http_request *req), void *cb_ctx) |
void http_request_deinit | ( | struct http_request * | req | ) |
Definition at line 97 of file http_server.c.
struct sockaddr_in* http_request_get_cli_addr | ( | struct http_request * | req | ) | [read] |
Definition at line 199 of file http_server.c.
char* http_request_get_data | ( | struct http_request * | req | ) |
Definition at line 187 of file http_server.c.
char* http_request_get_hdr | ( | struct http_request * | req | ) |
Definition at line 181 of file http_server.c.
char* http_request_get_hdr_line | ( | struct http_request * | req, | |
const char * | tag | |||
) |
Definition at line 193 of file http_server.c.
enum httpread_hdr_type http_request_get_type | ( | struct http_request * | req | ) |
Definition at line 169 of file http_server.c.
char* http_request_get_uri | ( | struct http_request * | req | ) |
Definition at line 175 of file http_server.c.
void http_request_send | ( | struct http_request * | req, | |
struct wpabuf * | resp | |||
) |
Definition at line 138 of file http_server.c.
void http_request_send_and_deinit | ( | struct http_request * | req, | |
struct wpabuf * | resp | |||
) |
Definition at line 161 of file http_server.c.
void http_server_deinit | ( | struct http_server * | srv | ) |
Definition at line 295 of file http_server.c.
int http_server_get_port | ( | struct http_server * | srv | ) |
Definition at line 309 of file http_server.c.
struct http_server* http_server_init | ( | struct in_addr * | addr, | |
int | port, | |||
void(*)(void *ctx, struct http_request *req) | cb, | |||
void * | cb_ctx | |||
) | [read] |
Definition at line 234 of file http_server.c.