#include <stdint.h>
#include <sys/types.h>
Go to the source code of this file.
|
int | phr_parse_request (const char *buf, size_t len, const char **method, size_t *method_len, const char **path, size_t *path_len, int *minor_version, struct phr_header *headers, size_t *num_headers, size_t last_len) |
|
int | phr_parse_response (const char *buf, size_t len, int *minor_version, int *status, const char **msg, size_t *msg_len, struct phr_header *headers, size_t *num_headers, size_t last_len) |
|
int | phr_parse_headers (const char *buf, size_t len, struct phr_header *headers, size_t *num_headers, size_t last_len) |
|
ssize_t | phr_decode_chunked (struct phr_chunked_decoder *decoder, char *buf, size_t *bufsz) |
|
int | phr_decode_chunked_is_in_data (struct phr_chunked_decoder *decoder) |
|
◆ _SSIZE_T_DEFINED
◆ ssize_t
◆ phr_decode_chunked()
◆ phr_decode_chunked_is_in_data()
◆ phr_parse_headers()
int phr_parse_headers |
( |
const char * | buf, |
|
|
size_t | len, |
|
|
struct phr_header * | headers, |
|
|
size_t * | num_headers, |
|
|
size_t | last_len ) |
◆ phr_parse_request()
int phr_parse_request |
( |
const char * | buf, |
|
|
size_t | len, |
|
|
const char ** | method, |
|
|
size_t * | method_len, |
|
|
const char ** | path, |
|
|
size_t * | path_len, |
|
|
int * | minor_version, |
|
|
struct phr_header * | headers, |
|
|
size_t * | num_headers, |
|
|
size_t | last_len ) |
◆ phr_parse_response()
int phr_parse_response |
( |
const char * | buf, |
|
|
size_t | len, |
|
|
int * | minor_version, |
|
|
int * | status, |
|
|
const char ** | msg, |
|
|
size_t * | msg_len, |
|
|
struct phr_header * | headers, |
|
|
size_t * | num_headers, |
|
|
size_t | last_len ) |