Go to the source code of this file.
Data Structures | |
| struct | tRequestLine |
| struct | tHttpHeaderLine |
| struct | tHttpHeader |
| struct | tHttpRequest |
Defines | |
| #define | HTTP_REQ_OPTIONS 0 |
| #define | HTTP_REQ_GET 1 |
| #define | HTTP_REQ_HEAD 2 |
| #define | HTTP_REQ_POST 3 |
| #define | HTTP_REQ_PUT 4 |
| #define | HTTP_REQ_DELETE 5 |
| #define | HTTP_REQ_TRACE 6 |
| #define | HTTP_REQ_CONNECT 7 |
Functions | |
| int | getHttpRequest (char **, unsigned int *, tHttpRequest *) |
| void | freeHttpRequest (tHttpRequest *) |
| void | freeHttpHeader (tHttpHeader *) |
| unsigned char | httpHeaderIsStarted (tHttpHeader *) |
| int | httpHeaderIsComplete (tHttpHeader *) |
| int | httpHeaderGet (char **, unsigned int *, tHttpHeader *) |
| void | httpHeaderParseRequestLine (tHttpHeader *, const char *, unsigned int) |
Variables | |
| char | httpRequest [8][8] |
| #define HTTP_REQ_CONNECT 7 |
Definition at line 11 of file httpRequest.h.
| #define HTTP_REQ_DELETE 5 |
Definition at line 9 of file httpRequest.h.
| #define HTTP_REQ_GET 1 |
Definition at line 5 of file httpRequest.h.
| #define HTTP_REQ_HEAD 2 |
Definition at line 6 of file httpRequest.h.
| #define HTTP_REQ_OPTIONS 0 |
Definition at line 4 of file httpRequest.h.
| #define HTTP_REQ_POST 3 |
Definition at line 7 of file httpRequest.h.
| #define HTTP_REQ_PUT 4 |
Definition at line 8 of file httpRequest.h.
| #define HTTP_REQ_TRACE 6 |
Definition at line 10 of file httpRequest.h.
| void freeHttpHeader | ( | tHttpHeader * | ) |
Definition at line 187 of file httpRequest.c.
| void freeHttpRequest | ( | tHttpRequest * | ) |
Definition at line 217 of file httpRequest.c.
| int getHttpRequest | ( | char ** | , | |
| unsigned int * | , | |||
| tHttpRequest * | ||||
| ) |
Definition at line 162 of file httpRequest.c.
| int httpHeaderGet | ( | char ** | , | |
| unsigned int * | , | |||
| tHttpHeader * | ||||
| ) |
Definition at line 85 of file httpRequest.c.
| int httpHeaderIsComplete | ( | tHttpHeader * | ) |
Definition at line 52 of file httpRequest.c.
| unsigned char httpHeaderIsStarted | ( | tHttpHeader * | ) |
Definition at line 62 of file httpRequest.c.
| void httpHeaderParseRequestLine | ( | tHttpHeader * | , | |
| const char * | , | |||
| unsigned | int | |||
| ) |
Definition at line 47 of file httpRequest.c.
| char httpRequest[8][8] |
Definition at line 13 of file httpRequest.c.
1.5.8