00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef __RACALLBACK_H__
00010 #define __RACALLBACK_H__
00011
00012 #include <subversion-1/svn_ra.h>
00013
00018 extern struct svn_ra_callbacks_t cb__cb_table;
00019
00022 svn_error_t *cb__init(apr_pool_t *pool);
00023
00025 int cb__record_changes(struct estat *root,
00026 svn_revnum_t target,
00027 apr_pool_t *pool);
00029 int cb__record_changes_mixed(struct estat *root,
00030 svn_revnum_t target,
00031 char *other_paths[], svn_revnum_t other_revs,
00032 apr_pool_t *pool);
00033
00034
00037 int cb__add_entry(struct estat *dir,
00038 const char *utf8_path, char **loc_path,
00039 const char *utf8_copy_path,
00040 svn_revnum_t copy_rev,
00041 int mode,
00042 int *has_existed,
00043 int may_create,
00044 void **new);
00045
00047 int cb__does_path_exist(svn_ra_session_t *session,
00048 char *path, svn_revnum_t rev,
00049 int *exists,
00050 apr_pool_t *pool);
00051
00053 int cb__remove_from_url(struct estat *root, struct url_t *to_remove,
00054 int *was_changed);
00055
00057 int cb__remove_url(struct estat *root, struct url_t *to_remove);
00058
00059 #endif