$search

httpread.h File Reference

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

Go to the source code of this file.

Enumerations

enum  httpread_event { HTTPREAD_EVENT_FILE_READY = 1, HTTPREAD_EVENT_TIMEOUT = 2, HTTPREAD_EVENT_ERROR = 3 }
enum  httpread_hdr_type {
  HTTPREAD_HDR_TYPE_UNKNOWN = 0, HTTPREAD_HDR_TYPE_REPLY = 1, HTTPREAD_HDR_TYPE_GET = 2, HTTPREAD_HDR_TYPE_HEAD = 3,
  HTTPREAD_HDR_TYPE_POST = 4, HTTPREAD_HDR_TYPE_PUT = 5, HTTPREAD_HDR_TYPE_DELETE = 6, HTTPREAD_HDR_TYPE_TRACE = 7,
  HTTPREAD_HDR_TYPE_CONNECT = 8, HTTPREAD_HDR_TYPE_NOTIFY = 9, HTTPREAD_HDR_TYPE_M_SEARCH = 10, HTTPREAD_HDR_TYPE_M_POST = 11,
  HTTPREAD_HDR_TYPE_SUBSCRIBE = 12, HTTPREAD_HDR_TYPE_UNSUBSCRIBE = 13, HTTPREAD_N_HDR_TYPES
}

Functions

struct httpreadhttpread_create (int sd, void(*cb)(struct httpread *handle, void *cookie, enum httpread_event e), void *cookie, int max_bytes, int timeout_seconds)
void * httpread_data_get (struct httpread *h)
void httpread_destroy (struct httpread *h)
char * httpread_hdr_get (struct httpread *h)
char * httpread_hdr_line_get (struct httpread *h, const char *tag)
enum httpread_hdr_type httpread_hdr_type_get (struct httpread *h)
int httpread_length_get (struct httpread *h)
int httpread_reply_code_get (struct httpread *h)
char * httpread_uri_get (struct httpread *h)

Enumeration Type Documentation

Enumerator:
HTTPREAD_EVENT_FILE_READY 
HTTPREAD_EVENT_TIMEOUT 
HTTPREAD_EVENT_ERROR 

Definition at line 20 of file httpread.h.

Enumerator:
HTTPREAD_HDR_TYPE_UNKNOWN 
HTTPREAD_HDR_TYPE_REPLY 
HTTPREAD_HDR_TYPE_GET 
HTTPREAD_HDR_TYPE_HEAD 
HTTPREAD_HDR_TYPE_POST 
HTTPREAD_HDR_TYPE_PUT 
HTTPREAD_HDR_TYPE_DELETE 
HTTPREAD_HDR_TYPE_TRACE 
HTTPREAD_HDR_TYPE_CONNECT 
HTTPREAD_HDR_TYPE_NOTIFY 
HTTPREAD_HDR_TYPE_M_SEARCH 
HTTPREAD_HDR_TYPE_M_POST 
HTTPREAD_HDR_TYPE_SUBSCRIBE 
HTTPREAD_HDR_TYPE_UNSUBSCRIBE 
HTTPREAD_N_HDR_TYPES 

Definition at line 30 of file httpread.h.


Function Documentation

struct httpread* httpread_create ( int  sd,
void(*)(struct httpread *handle, void *cookie, enum httpread_event e)  cb,
void *  cookie,
int  max_bytes,
int  timeout_seconds 
) [read]

Definition at line 738 of file httpread.c.

void* httpread_data_get ( struct httpread h  ) 

Definition at line 817 of file httpread.c.

void httpread_destroy ( struct httpread h  ) 

Definition at line 158 of file httpread.c.

char* httpread_hdr_get ( struct httpread h  ) 

Definition at line 827 of file httpread.c.

char* httpread_hdr_line_get ( struct httpread h,
const char *  tag 
)

Definition at line 841 of file httpread.c.

enum httpread_hdr_type httpread_hdr_type_get ( struct httpread h  ) 

Definition at line 784 of file httpread.c.

int httpread_length_get ( struct httpread h  ) 

Definition at line 807 of file httpread.c.

int httpread_reply_code_get ( struct httpread h  ) 

Definition at line 800 of file httpread.c.

char* httpread_uri_get ( struct httpread h  ) 

Definition at line 793 of file httpread.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Fri Mar 1 16:00:23 2013