HTP  0.3
Functions
htp_request_generic.c File Reference
#include "htp.h"
Include dependency graph for htp_request_generic.c:

Functions

int htp_process_request_header_generic (htp_connp_t *connp)
int htp_parse_request_header_generic (htp_connp_t *connp, htp_header_t *h, unsigned char *data, size_t len)
int htp_parse_request_line_generic (htp_connp_t *connp)

Detailed Description

Author:
Ivan Ristic <ivanr@webkreator.com>

Function Documentation

int htp_parse_request_header_generic ( htp_connp_t connp,
htp_header_t h,
unsigned char *  data,
size_t  len 
)

Generic request header parser.

Parameters:
connp
h
data
len
Returns:
HTP_OK or HTP_ERROR

Here is the call graph for this function:

Here is the caller graph for this function:

Generic request line parser.

Parameters:
connp
Returns:
HTP_OK or HTP_ERROR

Here is the call graph for this function:

Here is the caller graph for this function:

Extract one request header. A header can span multiple lines, in which case they will be folded into one before parsing is attempted.

Parameters:
connp
Returns:
HTP_OK or HTP_ERROR

Here is the call graph for this function:

Here is the caller graph for this function: