25 #include <apr_pools.h>
27 #include <apr_tables.h>
151 typedef svn_error_t *(*svn_repos_file_rev_handler_t)
155 apr_hash_t *rev_props,
158 apr_array_header_t *prop_diffs,
206 const char *unused_1,
207 const char *unused_2,
209 apr_hash_t *fs_config,
248 void *start_callback_baton,
273 const char *capability,
282 #define SVN_REPOS_CAPABILITY_MERGEINFO "mergeinfo"
309 const char *dst_path,
360 void *start_callback_baton,
375 void *start_callback_baton,
583 const char *tgt_path,
591 void *authz_read_baton,
611 const char *username,
615 const char *tgt_path,
622 void *authz_read_baton,
666 const char *lock_token,
681 const char *lock_token,
727 const char *link_path,
731 const char *lock_token,
744 const char *link_path,
747 const char *lock_token,
759 const char *link_path,
881 const char *src_parent_dir,
882 const char *src_entry,
884 const char *tgt_path,
888 void *authz_read_baton,
905 const char *src_parent_dir,
906 const char *src_entry,
908 const char *tgt_path,
912 void *authz_read_baton,
954 const char *base_dir,
960 void *authz_read_baton,
1030 const char *repos_url,
1031 const char *base_path,
1032 apr_hash_t *revprop_table,
1034 void *callback_baton,
1055 const char *repos_url,
1056 const char *base_path,
1058 const char *log_msg,
1060 void *callback_baton,
1079 const char *repos_url,
1080 const char *base_path,
1082 const char *log_msg,
1084 void *callback_baton,
1101 const char *repos_url,
1102 const char *base_path,
1104 const char *log_msg,
1106 void *callback_baton,
1121 const char *repos_url,
1122 const char *base_path,
1124 const char *log_msg,
1126 void *callback_baton,
1158 const char **committed_date,
1159 const char **last_author,
1239 void *history_baton,
1241 void *authz_read_baton,
1258 void *history_baton,
1287 apr_hash_t **locations,
1288 const char *fs_path,
1290 apr_array_header_t *location_revisions,
1292 void *authz_read_baton,
1331 void *receiver_baton,
1333 void *authz_read_baton,
1412 const apr_array_header_t *paths,
1419 const apr_array_header_t *revprops,
1421 void *authz_read_baton,
1423 void *receiver_baton,
1439 const apr_array_header_t *paths,
1446 void *authz_read_baton,
1448 void *receiver_baton,
1460 const apr_array_header_t *paths,
1466 void *authz_read_baton,
1468 void *receiver_baton,
1480 const apr_array_header_t *paths,
1486 void *receiver_baton,
1524 const apr_array_header_t *paths,
1529 void *authz_read_baton,
1576 void *authz_read_baton,
1578 void *handler_baton,
1595 void *authz_read_baton,
1597 void *handler_baton,
1660 apr_hash_t *revprop_table,
1678 const char *log_msg,
1721 const char *comment,
1723 apr_time_t expiration_date,
1760 void *authz_read_baton,
1795 use_pre_revprop_change_hook,
1797 use_post_revprop_change_hook,
1800 void *authz_read_baton,
1819 void *authz_read_baton,
1858 const char *propname,
1861 void *authz_read_baton,
1887 void *authz_read_baton,
1937 apr_array_header_t *props,
2017 apr_pool_t *node_pool,
2056 #define SVN_REPOS_DUMPFILE_MAGIC_HEADER "SVN-fs-dump-format-version"
2057 #define SVN_REPOS_DUMPFILE_FORMAT_VERSION 3
2058 #define SVN_REPOS_DUMPFILE_UUID "UUID"
2059 #define SVN_REPOS_DUMPFILE_CONTENT_LENGTH "Content-length"
2061 #define SVN_REPOS_DUMPFILE_REVISION_NUMBER "Revision-number"
2063 #define SVN_REPOS_DUMPFILE_NODE_PATH "Node-path"
2064 #define SVN_REPOS_DUMPFILE_NODE_KIND "Node-kind"
2065 #define SVN_REPOS_DUMPFILE_NODE_ACTION "Node-action"
2066 #define SVN_REPOS_DUMPFILE_NODE_COPYFROM_PATH "Node-copyfrom-path"
2067 #define SVN_REPOS_DUMPFILE_NODE_COPYFROM_REV "Node-copyfrom-rev"
2068 #define SVN_REPOS_DUMPFILE_TEXT_COPY_SOURCE_MD5 "Text-copy-source-md5"
2069 #define SVN_REPOS_DUMPFILE_TEXT_COPY_SOURCE_SHA1 "Text-copy-source-sha1"
2070 #define SVN_REPOS_DUMPFILE_TEXT_COPY_SOURCE_CHECKSUM \
2071 SVN_REPOS_DUMPFILE_TEXT_COPY_SOURCE_MD5
2072 #define SVN_REPOS_DUMPFILE_TEXT_CONTENT_MD5 "Text-content-md5"
2073 #define SVN_REPOS_DUMPFILE_TEXT_CONTENT_SHA1 "Text-content-sha1"
2074 #define SVN_REPOS_DUMPFILE_TEXT_CONTENT_CHECKSUM \
2075 SVN_REPOS_DUMPFILE_TEXT_CONTENT_MD5
2077 #define SVN_REPOS_DUMPFILE_PROP_CONTENT_LENGTH "Prop-content-length"
2078 #define SVN_REPOS_DUMPFILE_TEXT_CONTENT_LENGTH "Text-content-length"
2081 #define SVN_REPOS_DUMPFILE_PROP_DELTA "Prop-delta"
2083 #define SVN_REPOS_DUMPFILE_TEXT_DELTA "Text-delta"
2085 #define SVN_REPOS_DUMPFILE_TEXT_DELTA_BASE_MD5 "Text-delta-base-md5"
2087 #define SVN_REPOS_DUMPFILE_TEXT_DELTA_BASE_SHA1 "Text-delta-base-sha1"
2089 #define SVN_REPOS_DUMPFILE_TEXT_DELTA_BASE_CHECKSUM \
2090 SVN_REPOS_DUMPFILE_TEXT_DELTA_BASE_MD5
2095 svn_node_action_change,
2096 svn_node_action_add,
2097 svn_node_action_delete,
2098 svn_node_action_replace
2104 svn_repos_load_uuid_default,
2105 svn_repos_load_uuid_ignore,
2106 svn_repos_load_uuid_force
2239 const char *parent_dir,
2258 const char *parent_dir,
2279 apr_hash_t *headers,
2298 apr_hash_t *headers,
2299 void *revision_baton,
2313 svn_error_t *(*delete_node_property)(
void *node_baton,
const char *name);
2339 void **handler_baton,
2419 const char *parent_dir,
2434 apr_hash_t *headers,
2443 apr_hash_t *headers,
2444 void *revision_baton,
2496 const char *parent_dir,
2539 const char *repos_name,
2604 svn_repos_revision_access_none,
2605 svn_repos_revision_access_partial,
2606 svn_repos_revision_access_full
2626 void *authz_read_baton,
2653 apr_array_header_t *capabilities);