View | Details | Raw Unified | Return to bug 28453
Collapse All | Expand All

(-)apr_uri.h (+26 lines)
Lines 162-167 Link Here
162
                               apr_uri_t *uptr);
162
                               apr_uri_t *uptr);
163
163
164
/**
164
/**
165
 * Parse a given URI, fill in all supplied fields of a apr_uri_t structure.
166
 * If the given URI is relative, then resolve it using a supplied base
167
 * @param p The pool to allocate out of
168
 * @param base The base to resolve against
169
 * @param uri The uri to parse
170
 * @param uptr The apr_uri_t to fill out
171
 * @return An HTTP status code
172
*/
173
APU_DECLARE(int) apr_uri_parse_relative(apr_pool_t *p,
174
					const apr_uri_t *base,
175
					const char* uri,
176
					apr_uri_t* uptr);
177
178
/**
179
 * Resolve an already-initialised but possibly-relative URL
180
 * against a given base URL.
181
 * @param p The pool to allocate out of
182
 * @param base The base to resolve against
183
 * @param uptr The apr_uri_t to resolve
184
 * @return An HTTP status code
185
 */
186
APU_DECLARE(int) apr_uri_resolve_relative(apr_pool_t *p,
187
					  const apr_uri_t *base, 
188
					  apr_uri_t *uptr);
189
190
/**
165
 * Special case for CONNECT parsing: it comes with the hostinfo part only
191
 * Special case for CONNECT parsing: it comes with the hostinfo part only
166
 * @param p The pool to allocate out of
192
 * @param p The pool to allocate out of
167
 * @param hostinfo The hostinfo string to parse
193
 * @param hostinfo The hostinfo string to parse

Return to bug 28453