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
struct 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

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

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

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

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

hostname from URI (or from Host: header)

port string (integer representation is in "port")

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

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

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

has the structure been initialized

has the DNS been looked up yet

has the dns been resolved yet


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

Generated on Sat Aug 16 19:14:10 2008 for Apache Portable Runtime Utility Library by  doxygen 1.5.6