31#include "apr_network_io.h"
43#define APR_URI_FTP_DEFAULT_PORT 21
44#define APR_URI_SSH_DEFAULT_PORT 22
45#define APR_URI_TELNET_DEFAULT_PORT 23
46#define APR_URI_GOPHER_DEFAULT_PORT 70
47#define APR_URI_HTTP_DEFAULT_PORT 80
48#define APR_URI_POP_DEFAULT_PORT 110
49#define APR_URI_NNTP_DEFAULT_PORT 119
50#define APR_URI_IMAP_DEFAULT_PORT 143
51#define APR_URI_PROSPERO_DEFAULT_PORT 191
52#define APR_URI_WAIS_DEFAULT_PORT 210
53#define APR_URI_LDAP_DEFAULT_PORT 389
54#define APR_URI_HTTPS_DEFAULT_PORT 443
55#define APR_URI_RTSP_DEFAULT_PORT 554
56#define APR_URI_SNEWS_DEFAULT_PORT 563
57#define APR_URI_ACAP_DEFAULT_PORT 674
58#define APR_URI_NFS_DEFAULT_PORT 2049
59#define APR_URI_TIP_DEFAULT_PORT 3372
60#define APR_URI_SIP_DEFAULT_PORT 5060
64#define APR_URI_UNP_OMITSITEPART (1U<<0)
66#define APR_URI_UNP_OMITUSER (1U<<1)
68#define APR_URI_UNP_OMITPASSWORD (1U<<2)
70#define APR_URI_UNP_OMITUSERINFO (APR_URI_UNP_OMITUSER | \
71 APR_URI_UNP_OMITPASSWORD)
73#define APR_URI_UNP_REVEALPASSWORD (1U<<3)
75#define APR_URI_UNP_OMITPATHINFO (1U<<4)
77#define APR_URI_UNP_OMITQUERY (1U<<5)
170 const char *hostinfo,
char * apr_uri_unparse(apr_pool_t *p, const apr_uri_t *uptr, unsigned flags)
apr_status_t apr_uri_parse_hostinfo(apr_pool_t *p, const char *hostinfo, apr_uri_t *uptr)
apr_status_t apr_uri_parse(apr_pool_t *p, const char *uri, apr_uri_t *uptr)
apr_port_t apr_uri_port_of_scheme(const char *scheme_str)
char * fragment
Definition: apr_uri.h:103
char * user
Definition: apr_uri.h:91
struct hostent * hostent
Definition: apr_uri.h:106
char * scheme
Definition: apr_uri.h:87
char * path
Definition: apr_uri.h:99
apr_port_t port
Definition: apr_uri.h:109
unsigned is_initialized
Definition: apr_uri.h:112
char * password
Definition: apr_uri.h:93
unsigned dns_resolved
Definition: apr_uri.h:117
char * query
Definition: apr_uri.h:101
char * hostname
Definition: apr_uri.h:95
char * hostinfo
Definition: apr_uri.h:89
char * port_str
Definition: apr_uri.h:97
unsigned dns_looked_up
Definition: apr_uri.h:115