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)
159 APU_DECLARE(apr_status_t)
apr_uri_parse(apr_pool_t *p, const
char *uri,
170 const
char *hostinfo,