Apache Portable Runtime Utility Library
Data Fields
apr_uri_t Struct Reference

#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

has the DNS been looked up yet

has the dns been resolved yet

Trailing "#fragment" string, if present

structure returned from gethostbyname()

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

hostname from URI (or from Host: header)

has the structure been initialized

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

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

apr_port_t apr_uri_t::port

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

port string (integer representation is in "port")

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

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

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

The documentation for this struct was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines