HTP  0.5
Data Fields
htp_uri_t Struct Reference

#include <htp.h>

Data Fields

bstrscheme
 
bstrusername
 
bstrpassword
 
bstrhostname
 
bstrport
 
int port_number
 
bstrpath
 
bstrquery
 
bstrfragment
 

Detailed Description

URI structure. Each of the fields provides access to a single URI element. Where an element is not present in a URI, the corresponding field will be set to NULL or -1, depending on the field type.

Field Documentation

§ fragment

bstr* htp_uri_t::fragment

Fragment identifier. This field will rarely be available in a server-side setting, but it's not impossible to see it.

§ hostname

bstr* htp_uri_t::hostname

Hostname.

§ password

bstr* htp_uri_t::password

Password.

§ path

bstr* htp_uri_t::path

The path part of this URI.

§ port

bstr* htp_uri_t::port

Port, as string.

§ port_number

int htp_uri_t::port_number

Port, as number. This field will contain HTP_PORT_NONE if there was no port information in the URI and HTP_PORT_INVALID if the port information was invalid (e.g., it's not a number or it falls out of range.

§ query

bstr* htp_uri_t::query

Query string.

§ scheme

bstr* htp_uri_t::scheme

Scheme, e.g., "http".

§ username

bstr* htp_uri_t::username

Username.


The documentation for this struct was generated from the following file: