rsstats 0.0.1
Redis Enterprise Statistic collector
|
HTTP parsing and building library. More...
#include "libhttp.h"
#include "sclist.h"
#include "base64.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
Go to the source code of this file.
Classes | |
struct | HTTP_s |
struct | HTTPHeader_s |
Typedefs | |
typedef struct HTTP_s | HTTP_t |
typedef struct HTTPHeader_s | HTTPHeader_t |
Functions | |
HTTPHeader_t * | HTTPHeader_new (const char *name, const char *value) |
void | HTTPHeader_del (HTTPHeader_t *header) |
HTTPHeader_t * | HTTPHeader_basicauth (const char *login, const char *pass) |
char * | HTTPHeader_getname (HTTPHeader_t *header) |
char * | HTTPHeader_getvalue (HTTPHeader_t *header) |
HTTP_t * | HTTP_new () |
void | HTTP_del (HTTP_t *http) |
char * | HTTP_setbody (HTTP_t *http, const char *body) |
char * | HTTP_getbody (HTTP_t *http) |
HTTP_t * | HTTP_addheader (HTTP_t *http, HTTPHeader_t *header) |
HTTPHeader_t * | HTTP_firstheader (const HTTP_t *http) |
HTTPHeader_t * | HTTP_nextheader (const HTTPHeader_t *header) |
HTTPHeader_t * | HTTP_findheader (const HTTPHeader_t *start, const char *name, const char *value) |
HTTP_t * | HTTP_delheader (HTTP_t *http, HTTPHeader_t *header) |
char * | HTTP_buildrequest (const HTTPMethod_t method, const char *uri, const HTTPVersion_t version) |
char * | HTTP_buildheaders (const HTTP_t *http) |
HTTP parsing and building library.
Definition in file libhttp.c.
typedef struct HTTPHeader_s HTTPHeader_t |
HTTP_t * HTTP_addheader | ( | HTTP_t * | http, |
HTTPHeader_t * | header | ||
) |
char * HTTP_buildheaders | ( | const HTTP_t * | http | ) |
char * HTTP_buildrequest | ( | const HTTPMethod_t | method, |
const char * | uri, | ||
const HTTPVersion_t | version | ||
) |
void HTTP_del | ( | HTTP_t * | http | ) |
HTTP_t * HTTP_delheader | ( | HTTP_t * | http, |
HTTPHeader_t * | header | ||
) |
HTTPHeader_t * HTTP_findheader | ( | const HTTPHeader_t * | start, |
const char * | name, | ||
const char * | value | ||
) |
HTTPHeader_t * HTTP_firstheader | ( | const HTTP_t * | http | ) |
HTTP_t * HTTP_new | ( | ) |
HTTPHeader_t * HTTP_nextheader | ( | const HTTPHeader_t * | header | ) |
HTTPHeader_t * HTTPHeader_basicauth | ( | const char * | login, |
const char * | pass | ||
) |
void HTTPHeader_del | ( | HTTPHeader_t * | header | ) |
char * HTTPHeader_getname | ( | HTTPHeader_t * | header | ) |
char * HTTPHeader_getvalue | ( | HTTPHeader_t * | header | ) |
HTTPHeader_t * HTTPHeader_new | ( | const char * | name, |
const char * | value | ||
) |