htp_parsers.c File Reference

#include "htp.h"
#include "htp_base64.h"
Include dependency graph for htp_parsers.c:

Functions

int htp_parse_protocol (bstr *protocol)
int htp_parse_status (bstr *status)
int htp_parse_authorization_digest (htp_connp_t *connp, htp_header_t *auth_header)
int htp_parse_authorization_basic (htp_connp_t *connp, htp_header_t *auth_header)
int htp_parse_authorization (htp_connp_t *connp)

Detailed Description

Author:
Ivan Ristic <ivanr@webkreator.com>

Function Documentation

int htp_parse_authorization ( htp_connp_t connp  ) 

Parses Authorization request header.

Parameters:
connp 

Here is the call graph for this function:

Here is the caller graph for this function:

int htp_parse_authorization_basic ( htp_connp_t connp,
htp_header_t auth_header 
)

Parses Basic Authorization request header.

Parameters:
connp 
auth_header 

Here is the call graph for this function:

Here is the caller graph for this function:

int htp_parse_authorization_digest ( htp_connp_t connp,
htp_header_t auth_header 
)

Parses Digest Authorization request header.

Parameters:
connp 
auth_header 

Here is the call graph for this function:

Here is the caller graph for this function:

int htp_parse_protocol ( bstr protocol  ) 

Determines protocol number from a textual representation (i.e., "HTTP/1.1"). This function will only understand a properly formatted protocol information. It does not try to be flexible.

Parameters:
protocol 
Returns:
Protocol version or PROTOCOL_UNKNOWN.

Here is the caller graph for this function:

int htp_parse_status ( bstr status  ) 

Determines the numerical value of a response status given as a string.

Parameters:
status 
Returns:
Status code on success, or -1 on error.

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on 17 Aug 2012 for HTP by  doxygen 1.6.1