Main Page | Modules | Data Structures | File List | Data Fields | Globals

URI/URL stuff

URI/URL stuff. More...

Functions

svn_boolean_t svn_path_is_url (const char *path)
 Return TRUE iff path looks like a valid URL, FALSE otherwise.

svn_boolean_t svn_path_is_uri_safe (const char *path)
 Return TRUE iff path is URI-safe, FALSE otherwise.

const char * svn_path_uri_encode (const char *path, apr_pool_t *pool)
 Return a URI-encoded copy of path, allocated in pool.

const char * svn_path_uri_decode (const char *path, apr_pool_t *pool)
 Return a URI-decoded copy of path, allocated in pool.

const char * svn_path_url_add_component (const char *url, const char *component, apr_pool_t *pool)
 Extend url by a single component, URI-encoding that component before adding it to the url.


Detailed Description

URI/URL stuff.


Function Documentation

const char* svn_path_url_add_component const char *  url,
const char *  component,
apr_pool_t *  pool
 

Extend url by a single component, URI-encoding that component before adding it to the url.

Return the new url, allocated in pool. Notes: if component is NULL, just return a copy or url allocated in pool; if component is already URI-encoded, calling code should just use svn_path_join (url, component, pool). url does not need to be a canonical path, it may have trailing '/'.


Generated on Mon Oct 18 17:33:15 2004 for Subversion by doxygen 1.3.5