HTP
0.5
|
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) |
int htp_parse_authorization | ( | htp_connp_t * | connp | ) |
Parses Authorization request header.
[in] | connp |
int htp_parse_authorization_basic | ( | htp_connp_t * | connp, |
htp_header_t * | auth_header | ||
) |
Parses Basic Authorization request header.
[in] | connp | |
[in] | auth_header |
int htp_parse_authorization_digest | ( | htp_connp_t * | connp, |
htp_header_t * | auth_header | ||
) |
Parses Digest Authorization request header.
[in] | connp | |
[in] | auth_header |
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.
[in] | protocol |
int htp_parse_status | ( | bstr * | status | ) |
Determines the numerical value of a response status given as a string.
[in] | status |