Apache HTTPD
Public Attributes | List of all members
apr_uri_t Struct Reference

#include <apr_uri.h>

Public Attributes

charscheme
 
charhostinfo
 
charuser
 
charpassword
 
charhostname
 
charport_str
 
charpath
 
charquery
 
charfragment
 
struct hostent * hostent
 
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

Definition at line 85 of file apr_uri.h.

Member Data Documentation

◆ dns_looked_up

unsigned apr_uri_t::dns_looked_up

has the DNS been looked up yet

Definition at line 115 of file apr_uri.h.

◆ dns_resolved

unsigned apr_uri_t::dns_resolved

has the dns been resolved yet

Definition at line 117 of file apr_uri.h.

◆ fragment

char* apr_uri_t::fragment

Trailing "#fragment" string, if present

Definition at line 103 of file apr_uri.h.

◆ hostent

struct hostent* apr_uri_t::hostent

structure returned from gethostbyname()

Definition at line 106 of file apr_uri.h.

◆ hostinfo

char* apr_uri_t::hostinfo

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

Definition at line 89 of file apr_uri.h.

◆ hostname

char* apr_uri_t::hostname

hostname from URI (or from Host: header)

Definition at line 95 of file apr_uri.h.

◆ is_initialized

unsigned apr_uri_t::is_initialized

has the structure been initialized

Definition at line 112 of file apr_uri.h.

◆ password

char* apr_uri_t::password

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

Definition at line 93 of file apr_uri.h.

◆ path

char* apr_uri_t::path

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

Definition at line 99 of file apr_uri.h.

◆ port

apr_port_t apr_uri_t::port

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

Definition at line 109 of file apr_uri.h.

◆ port_str

char* apr_uri_t::port_str

port string (integer representation is in "port")

Definition at line 97 of file apr_uri.h.

◆ query

char* apr_uri_t::query

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

Definition at line 101 of file apr_uri.h.

◆ scheme

char* apr_uri_t::scheme

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

Definition at line 87 of file apr_uri.h.

◆ user

char* apr_uri_t::user

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

Definition at line 91 of file apr_uri.h.


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