htp_cookies.c File Reference

#include "htp_config_auto.h"
#include "htp_private.h"

Functions

int htp_parse_single_cookie_v0 (htp_connp_t *connp, unsigned char *data, size_t len)
htp_status_t htp_parse_cookies_v0 (htp_connp_t *connp)

Detailed Description

Author:
Ivan Ristic <ivanr@webkreator.com>

Function Documentation

htp_status_t htp_parse_cookies_v0 ( htp_connp_t connp  ) 

Parses the Cookie request header in v0 format.

Parameters:
[in] connp 
Returns:
HTP_OK on success, HTP_ERROR on error
int htp_parse_single_cookie_v0 ( htp_connp_t connp,
unsigned char *  data,
size_t  len 
)

Parses a single v0 request cookie and places the results into tx->request_cookies.

Parameters:
[in] connp 
[in] data 
[in] len 
Returns:
HTP_OK on success, HTP_ERROR on error.

Generated on 15 Jul 2018 for HTP by  doxygen 1.6.1