apr_uri_t Struct Reference
[URI]

#include <apr_uri.h>


Data Fields

char * scheme
char * hostinfo
char * user
char * password
char * hostname
char * port_str
char * path
char * query
char * fragment
hostenthostent
apr_port_t port
unsigned is_initialized:1
unsigned dns_looked_up:1
unsigned dns_resolved:1


Detailed Description

A structure to encompass all of the fields in a uri


Field Documentation

char* apr_uri_t::scheme

scheme ("http"/"ftp"/...)

char* apr_uri_t::hostinfo

combined [user[:password]@]host[:port]

char* apr_uri_t::user

user name, as in http://user:passwd@host:port/

char* apr_uri_t::password

password, as in http://user:passwd@host:port/

char* apr_uri_t::hostname

hostname from URI (or from Host: header)

char* apr_uri_t::port_str

port string (integer representation is in "port")

char* apr_uri_t::path

the request path (or "/" if only scheme://host was given)

char* apr_uri_t::query

Everything after a '?' in the path, if present

char* apr_uri_t::fragment

Trailing "#fragment" string, if present

struct hostent* apr_uri_t::hostent [read]

structure returned from gethostbyname()

apr_port_t apr_uri_t::port

The port number, numeric, valid only if port_str != NULL

unsigned apr_uri_t::is_initialized

has the structure been initialized

unsigned apr_uri_t::dns_looked_up

has the DNS been looked up yet

unsigned apr_uri_t::dns_resolved

has the dns been resolved yet


The documentation for this struct was generated from the following file:
Generated on Mon Nov 26 11:24:10 2007 for Apache Portable Runtime Utility Library by  doxygen 1.5.2