133 #ifndef SVN_DIRENT_URI_H   134 #define SVN_DIRENT_URI_H   137 #include <apr_pools.h>   138 #include <apr_tables.h>   156                           apr_pool_t *result_pool);
   168                        apr_pool_t *result_pool);
   179                             apr_pool_t *result_pool);
   201                 const char *component,
   202                 apr_pool_t *result_pool);
   236                  const 
char *component,
   237                  apr_pool_t *result_pool);
   254                     apr_pool_t *result_pool);
   268                    apr_pool_t *result_pool);
   297                  const 
char **base_name,
   299                  apr_pool_t *result_pool);
   322                   const 
char **base_name,
   324                   apr_pool_t *result_pool);
   342                      apr_pool_t *result_pool);
   355                     apr_pool_t *result_pool);
   368                    apr_pool_t *result_pool);
   391               const 
char **base_name,
   393               apr_pool_t *result_pool);
   408                  apr_pool_t *result_pool);
   422                 apr_pool_t *result_pool);
   474                         apr_pool_t *result_pool);
   493                          apr_pool_t *result_pool);
   517                      apr_pool_t *result_pool);
   532                         apr_pool_t *scratch_pool);
   551                      apr_pool_t *scratch_pool);
   564                                 apr_pool_t *result_pool);
   576                                  const 
char *relpath2,
   577                                  apr_pool_t *result_pool);
   594                              apr_pool_t *result_pool);
   606                         const 
char *relative,
   607                         apr_pool_t *result_pool);
   623                     const 
char *child_dirent,
   624                     apr_pool_t *result_pool);
   636                        const 
char *child_dirent);
   643                      const 
char *child_uri);
   658                          const 
char *child_dirent);
   669                           const 
char *child_relpath);
   681                       const 
char *child_uri,
   682                       apr_pool_t *result_pool);
   719                             apr_array_header_t **pcondensed_targets,
   720                             const apr_array_header_t *targets,
   722                             apr_pool_t *result_pool,
   723                             apr_pool_t *scratch_pool);
   760                          apr_array_header_t **pcondensed_targets,
   761                          const apr_array_header_t *targets,
   763                          apr_pool_t *result_pool,
   764                          apr_pool_t *scratch_pool);
   785                          const 
char **result_path,
   786                          const 
char *base_path,
   788                          apr_pool_t *result_pool);
   800                                  apr_pool_t *result_pool);
   812                                  apr_pool_t *result_pool);
 char * svn_uri_dirname(const char *uri, apr_pool_t *result_pool)
Get the dirname of the specified canonicalized uri, defined as the uri with its basename removed...
 
void svn_dirent_split(const char **dirpath, const char **base_name, const char *dirent, apr_pool_t *result_pool)
Divide the canonicalized dirent into *dirpath and *base_name. 
 
svn_error_t * svn_uri_get_dirent_from_file_url(const char **dirent, const char *url, apr_pool_t *result_pool)
Set *dirent to the path corresponding to the file:// URL url, using the platform-specific file:// rul...
 
svn_boolean_t svn_dirent_is_absolute(const char *dirent)
Return TRUE if dirent is considered absolute on the platform at hand. 
 
const char * svn_dirent_skip_ancestor(const char *parent_dirent, const char *child_dirent)
Return the relative path part of child_dirent that is below parent_dirent, or just "" if parent_diren...
 
char * svn_dirent_join_many(apr_pool_t *result_pool, const char *base,...)
Join multiple components onto a base dirent. 
 
svn_boolean_t svn_relpath_is_canonical(const char *relpath)
Return TRUE iff relpath is canonical. 
 
const char * svn_dirent_basename(const char *dirent, apr_pool_t *result_pool)
Gets the name of the specified canonicalized dirent as it is known within its parent directory...
 
svn_boolean_t svn_uri_is_root(const char *uri, apr_size_t len)
Return TRUE if uri is a root URL (e.g., "http://server"). 
 
svn_boolean_t svn_dirent_is_canonical(const char *dirent, apr_pool_t *scratch_pool)
Return TRUE iff dirent is canonical. 
 
svn_boolean_t svn_uri__is_ancestor(const char *parent_uri, const char *child_uri)
Return TRUE if parent_uri is an ancestor of child_uri or the uris are equal, and FALSE otherwise...
 
char * svn_dirent_get_longest_ancestor(const char *dirent1, const char *dirent2, apr_pool_t *result_pool)
Return the longest common dirent shared by two canonicalized dirents, dirent1 and dirent2...
 
const char * svn_dirent_canonicalize(const char *dirent, apr_pool_t *result_pool)
Return a new dirent like dirent, but transformed such that some types of dirent specification redunda...
 
const char * svn_relpath_canonicalize(const char *relpath, apr_pool_t *result_pool)
Return a new relpath like relpath, but transformed such that some types of relpath specification redu...
 
char * svn_relpath_get_longest_ancestor(const char *relpath1, const char *relpath2, apr_pool_t *result_pool)
Return the longest common path shared by two relative paths, relpath1 and relpath2. 
 
char * svn_uri_get_longest_ancestor(const char *uri1, const char *uri2, apr_pool_t *result_pool)
Return the longest common path shared by two canonicalized uris, uri1 and uri2. 
 
svn_error_t * svn_uri_condense_targets(const char **pcommon, apr_array_header_t **pcondensed_targets, const apr_array_header_t *targets, svn_boolean_t remove_redundancies, apr_pool_t *result_pool, apr_pool_t *scratch_pool)
Find the common prefix of the canonicalized uris in targets (an array of const char *'s)...
 
const char * svn_dirent_is_child(const char *parent_dirent, const char *child_dirent, apr_pool_t *result_pool)
Similar to svn_dirent_skip_ancestor(), except that if child_dirent is the same as parent_dirent...
 
svn_boolean_t svn_dirent_is_root(const char *dirent, apr_size_t len)
Return TRUE if dirent is considered a root directory on the platform at hand. 
 
const char * svn_uri_basename(const char *uri, apr_pool_t *result_pool)
Get the (URI-decoded) basename of the specified canonicalized uri. 
 
const char * svn_relpath__internal_style(const char *relpath, apr_pool_t *result_pool)
Convert relpath from the local style to the canonical internal style. 
 
char * svn_relpath_join(const char *base, const char *component, apr_pool_t *result_pool)
Join a base relpath (base) with a component (component). 
 
char * svn_dirent_join(const char *base, const char *component, apr_pool_t *result_pool)
Join a base dirent (base) with a component (component). 
 
Subversion's data types. 
 
char * svn_dirent_dirname(const char *dirent, apr_pool_t *result_pool)
Get the dirname of the specified canonicalized dirent, defined as the dirent with its basename remove...
 
const char * svn_dirent_internal_style(const char *dirent, apr_pool_t *result_pool)
Convert dirent from the local style to the canonical internal style. 
 
svn_error_t * svn_dirent_condense_targets(const char **pcommon, apr_array_header_t **pcondensed_targets, const apr_array_header_t *targets, svn_boolean_t remove_redundancies, apr_pool_t *result_pool, apr_pool_t *scratch_pool)
Find the common prefix of the canonicalized dirents in targets (an array of const char *'s)...
 
const char * svn_relpath_basename(const char *relpath, apr_pool_t *result_pool)
Get the basename of the specified canonicalized relpath. 
 
const char * svn_relpath_skip_ancestor(const char *parent_relpath, const char *child_relpath)
Return the relative path part of child_relpath that is below parent_relpath, or just "" if parent_rel...
 
char * svn_relpath_dirname(const char *relpath, apr_pool_t *result_pool)
Get the dirname of the specified canonicalized relpath, defined as the relpath with its basename remo...
 
svn_error_t * svn_dirent_get_absolute(const char **pabsolute, const char *relative, apr_pool_t *result_pool)
Convert relative canonicalized dirent to an absolute dirent and return the results in *pabsolute...
 
const char * svn_uri_canonicalize(const char *uri, apr_pool_t *result_pool)
Return a new uri like uri, but transformed such that some types of uri specification redundancies are...
 
void svn_relpath_split(const char **dirpath, const char **base_name, const char *relpath, apr_pool_t *result_pool)
Divide the canonicalized relpath into *dirpath and *base_name. 
 
int svn_boolean_t
YABT: Yet Another Boolean Type. 
 
svn_boolean_t svn_uri_is_canonical(const char *uri, apr_pool_t *scratch_pool)
Return TRUE iff uri is canonical. 
 
const char * svn_uri_skip_ancestor(const char *parent_uri, const char *child_uri, apr_pool_t *result_pool)
Return the URI-decoded relative path of child_uri that is below parent_uri, or just "" if parent_uri ...
 
void svn_uri_split(const char **dirpath, const char **base_name, const char *uri, apr_pool_t *result_pool)
Divide the canonicalized uri into a uri *dirpath and a (URI-decoded) relpath *base_name. 
 
#define SVN_NEEDS_SENTINEL_NULL
Macro used to mark functions that require a final null sentinel argument. 
 
svn_error_t * svn_dirent_is_under_root(svn_boolean_t *under_root, const char **result_path, const char *base_path, const char *path, apr_pool_t *result_pool)
Join path onto base_path, checking that path does not attempt to traverse above base_path. 
 
const char * svn_dirent_local_style(const char *dirent, apr_pool_t *result_pool)
Convert dirent from the internal style to the local style. 
 
svn_boolean_t svn_dirent_is_ancestor(const char *parent_dirent, const char *child_dirent)
Return TRUE if parent_dirent is an ancestor of child_dirent or the dirents are equal, and FALSE otherwise. 
 
svn_error_t * svn_uri_get_file_url_from_dirent(const char **url, const char *dirent, apr_pool_t *result_pool)
Set *url to a file:// URL, corresponding to dirent using the platform specific dirent and file:// rul...
 
const char * svn_relpath_prefix(const char *relpath, int max_components, apr_pool_t *result_pool)
Return a maximum of max_components components of relpath.