http_client.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  http_client_event { HTTP_CLIENT_FAILED, HTTP_CLIENT_TIMEOUT, HTTP_CLIENT_OK, HTTP_CLIENT_INVALID_REPLY }

Functions

struct http_clienthttp_client_addr (struct sockaddr_in *dst, struct wpabuf *req, size_t max_response, void(*cb)(void *ctx, struct http_client *c, enum http_client_event event), void *cb_ctx)
void http_client_free (struct http_client *c)
struct wpabufhttp_client_get_body (struct http_client *c)
char * http_client_get_hdr_line (struct http_client *c, const char *tag)
struct http_clienthttp_client_url (const char *url, struct wpabuf *req, size_t max_response, void(*cb)(void *ctx, struct http_client *c, enum http_client_event event), void *cb_ctx)
char * http_client_url_parse (const char *url, struct sockaddr_in *dst, char **path)
char * http_link_update (char *url, const char *base)

Enumeration Type Documentation

Enumerator:
HTTP_CLIENT_FAILED 
HTTP_CLIENT_TIMEOUT 
HTTP_CLIENT_OK 
HTTP_CLIENT_INVALID_REPLY 

Definition at line 20 of file http_client.h.


Function Documentation

struct http_client* http_client_addr ( struct sockaddr_in *  dst,
struct wpabuf req,
size_t  max_response,
void(*)(void *ctx, struct http_client *c, enum http_client_event event)  cb,
void *  cb_ctx 
) [read]

Definition at line 133 of file http_client.c.

void http_client_free ( struct http_client c  ) 

Definition at line 293 of file http_client.c.

struct wpabuf* http_client_get_body ( struct http_client c  )  [read]

Definition at line 308 of file http_client.c.

char* http_client_get_hdr_line ( struct http_client c,
const char *  tag 
)

Definition at line 318 of file http_client.c.

struct http_client* http_client_url ( const char *  url,
struct wpabuf req,
size_t  max_response,
void(*)(void *ctx, struct http_client *c, enum http_client_event event)  cb,
void *  cb_ctx 
) [read]

Definition at line 245 of file http_client.c.

char* http_client_url_parse ( const char *  url,
struct sockaddr_in *  dst,
char **  path 
)

Definition at line 196 of file http_client.c.

char* http_link_update ( char *  url,
const char *  base 
)

Definition at line 326 of file http_client.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Fri Jan 11 10:02:12 2013