30 #include <apr_pools.h>
32 #include <apr_tables.h>
63 svn_node_action_change,
65 svn_node_action_delete,
66 svn_node_action_replace
72 svn_repos_load_uuid_default,
73 svn_repos_load_uuid_ignore,
74 svn_repos_load_uuid_force
174 typedef svn_error_t *(*svn_repos_file_rev_handler_t)
178 apr_hash_t *rev_props,
181 apr_array_header_t *prop_diffs,
330 apr_pool_t *scratch_pool);
340 apr_pool_t *result_pool);
374 apr_hash_t *fs_config,
401 const char *unused_1,
402 const char *unused_2,
404 apr_hash_t *fs_config,
458 void *start_callback_baton,
483 const char *capability,
492 #define SVN_REPOS_CAPABILITY_MERGEINFO "mergeinfo"
519 const char *dst_path,
602 void *start_callback_baton,
617 void *start_callback_baton,
826 const char *tgt_path,
834 void *authz_read_baton,
854 const char *username,
858 const char *tgt_path,
865 void *authz_read_baton,
909 const char *lock_token,
924 const char *lock_token,
970 const char *link_path,
974 const char *lock_token,
987 const char *link_path,
990 const char *lock_token,
1002 const char *link_path,
1124 const char *src_parent_dir,
1125 const char *src_entry,
1127 const char *tgt_path,
1131 void *authz_read_baton,
1148 const char *src_parent_dir,
1149 const char *src_entry,
1151 const char *tgt_path,
1155 void *authz_read_baton,
1197 const char *base_dir,
1203 void *authz_read_baton,
1276 const char *repos_url,
1277 const char *base_path,
1278 apr_hash_t *revprop_table,
1280 void *callback_baton,
1301 const char *repos_url,
1302 const char *base_path,
1304 const char *log_msg,
1306 void *callback_baton,
1325 const char *repos_url,
1326 const char *base_path,
1328 const char *log_msg,
1330 void *callback_baton,
1347 const char *repos_url,
1348 const char *base_path,
1350 const char *log_msg,
1352 void *callback_baton,
1367 const char *repos_url,
1368 const char *base_path,
1370 const char *log_msg,
1372 void *callback_baton,
1404 const char **committed_date,
1405 const char **last_author,
1485 void *history_baton,
1487 void *authz_read_baton,
1504 void *history_baton,
1533 apr_hash_t **locations,
1534 const char *fs_path,
1536 const apr_array_header_t *location_revisions,
1538 void *authz_read_baton,
1577 void *receiver_baton,
1579 void *authz_read_baton,
1658 const apr_array_header_t *paths,
1665 const apr_array_header_t *revprops,
1667 void *authz_read_baton,
1669 void *receiver_baton,
1685 const apr_array_header_t *paths,
1692 void *authz_read_baton,
1694 void *receiver_baton,
1706 const apr_array_header_t *paths,
1712 void *authz_read_baton,
1714 void *receiver_baton,
1726 const apr_array_header_t *paths,
1732 void *receiver_baton,
1770 const apr_array_header_t *paths,
1775 void *authz_read_baton,
1822 void *authz_read_baton,
1824 void *handler_baton,
1841 void *authz_read_baton,
1843 void *handler_baton,
1906 apr_hash_t *revprop_table,
1924 const char *log_msg,
1969 const char *comment,
1971 apr_time_t expiration_date,
2018 void *authz_read_baton,
2034 void *authz_read_baton,
2072 use_pre_revprop_change_hook,
2074 use_post_revprop_change_hook,
2077 void *authz_read_baton,
2096 use_pre_revprop_change_hook,
2098 use_post_revprop_change_hook,
2101 void *authz_read_baton,
2120 void *authz_read_baton,
2159 const char *propname,
2162 void *authz_read_baton,
2188 void *authz_read_baton,
2238 const apr_array_header_t *props,
2322 apr_pool_t *node_pool,
2360 #define SVN_REPOS_DUMPFILE_MAGIC_HEADER "SVN-fs-dump-format-version"
2361 #define SVN_REPOS_DUMPFILE_FORMAT_VERSION 3
2362 #define SVN_REPOS_DUMPFILE_UUID "UUID"
2363 #define SVN_REPOS_DUMPFILE_CONTENT_LENGTH "Content-length"
2365 #define SVN_REPOS_DUMPFILE_REVISION_NUMBER "Revision-number"
2367 #define SVN_REPOS_DUMPFILE_NODE_PATH "Node-path"
2368 #define SVN_REPOS_DUMPFILE_NODE_KIND "Node-kind"
2369 #define SVN_REPOS_DUMPFILE_NODE_ACTION "Node-action"
2370 #define SVN_REPOS_DUMPFILE_NODE_COPYFROM_PATH "Node-copyfrom-path"
2371 #define SVN_REPOS_DUMPFILE_NODE_COPYFROM_REV "Node-copyfrom-rev"
2373 #define SVN_REPOS_DUMPFILE_TEXT_COPY_SOURCE_MD5 "Text-copy-source-md5"
2375 #define SVN_REPOS_DUMPFILE_TEXT_COPY_SOURCE_SHA1 "Text-copy-source-sha1"
2376 #define SVN_REPOS_DUMPFILE_TEXT_COPY_SOURCE_CHECKSUM \
2377 SVN_REPOS_DUMPFILE_TEXT_COPY_SOURCE_MD5
2379 #define SVN_REPOS_DUMPFILE_TEXT_CONTENT_MD5 "Text-content-md5"
2381 #define SVN_REPOS_DUMPFILE_TEXT_CONTENT_SHA1 "Text-content-sha1"
2382 #define SVN_REPOS_DUMPFILE_TEXT_CONTENT_CHECKSUM \
2383 SVN_REPOS_DUMPFILE_TEXT_CONTENT_MD5
2385 #define SVN_REPOS_DUMPFILE_PROP_CONTENT_LENGTH "Prop-content-length"
2386 #define SVN_REPOS_DUMPFILE_TEXT_CONTENT_LENGTH "Text-content-length"
2389 #define SVN_REPOS_DUMPFILE_PROP_DELTA "Prop-delta"
2391 #define SVN_REPOS_DUMPFILE_TEXT_DELTA "Text-delta"
2393 #define SVN_REPOS_DUMPFILE_TEXT_DELTA_BASE_MD5 "Text-delta-base-md5"
2395 #define SVN_REPOS_DUMPFILE_TEXT_DELTA_BASE_SHA1 "Text-delta-base-sha1"
2397 #define SVN_REPOS_DUMPFILE_TEXT_DELTA_BASE_CHECKSUM \
2398 SVN_REPOS_DUMPFILE_TEXT_DELTA_BASE_MD5
2428 apr_pool_t *scratch_pool);
2491 apr_pool_t *scratch_pool);
2576 const char *parent_dir,
2600 const char *parent_dir,
2619 const char *parent_dir,
2640 apr_hash_t *headers,
2659 apr_hash_t *headers,
2660 void *revision_baton,
2674 svn_error_t *(*delete_node_property)(
void *node_baton,
const char *name);
2700 void **handler_baton,
2783 const char *parent_dir,
2804 const char *parent_dir,
2818 apr_hash_t *headers,
2827 apr_hash_t *headers,
2828 void *revision_baton,
2880 const char *parent_dir,
2926 const char *repos_name,
2991 svn_repos_revision_access_none,
2992 svn_repos_revision_access_partial,
2993 svn_repos_revision_access_full
3013 void *authz_read_baton,
3040 const apr_array_header_t *capabilities);