00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef __UPDATE_H__
00010 #define __UPDATE_H__
00011
00012 #include "actions.h"
00013
00018 work_t up__work;
00019
00020
00022 int up__parse_prop(struct estat *sts,
00023 const char *utf8_name,
00024 const svn_string_t *utf8_value,
00025 int *not_handled,
00026 apr_pool_t *pool);
00027
00029 int up__set_meta_data(struct estat *sts,
00030 const char *filename);
00031
00035 svn_error_t *up__set_target_revision(void *edit_baton,
00036 svn_revnum_t rev,
00037 apr_pool_t *pool);
00038 svn_error_t *up__open_root(void *edit_baton,
00039 svn_revnum_t base_revision,
00040 apr_pool_t *dir_pool UNUSED,
00041 void **root_baton);
00042 svn_error_t *up__add_directory(const char *path,
00043 void *parent_baton,
00044 const char *copy_path,
00045 svn_revnum_t copy_rev,
00046 apr_pool_t *dir_pool UNUSED,
00047 void **child_baton);
00048 svn_error_t *up__change_dir_prop(void *dir_baton,
00049 const char *name,
00050 const svn_string_t *value,
00051 apr_pool_t *pool UNUSED);
00052 svn_error_t *up__close_directory(
00053 void *dir_baton,
00054 apr_pool_t *pool);
00055 svn_error_t *up__absent_directory(const char *path,
00056 void *parent_baton,
00057 apr_pool_t *pool);
00058 svn_error_t *up__add_file(const char *path,
00059 void *parent_baton,
00060 const char *copy_path,
00061 svn_revnum_t copy_rev,
00062 apr_pool_t *file_pool,
00063 void **file_baton);
00064 svn_error_t *up__apply_textdelta(void *file_baton,
00065 const char *base_checksum,
00066 apr_pool_t *pool,
00067 svn_txdelta_window_handler_t *handler,
00068 void **handler_baton);
00069 svn_error_t *up__change_file_prop(void *file_baton,
00070 const char *name,
00071 const svn_string_t *value,
00072 apr_pool_t *pool);
00073 svn_error_t *up__close_file(void *file_baton,
00074 const char *text_checksum,
00075 apr_pool_t *pool UNUSED);
00076 svn_error_t *up__absent_file(const char *path,
00077 void *parent_baton,
00078 apr_pool_t *pool);
00079 svn_error_t *up__close_edit(void *edit_baton,
00080 apr_pool_t *pool);
00081 svn_error_t *up__abort_edit(void *edit_baton,
00082 apr_pool_t *pool);
00085 int up__handle_special(struct estat *sts,
00086 char *path,
00087 char *data,
00088 apr_pool_t *pool);
00089
00090 int up__unlink(struct estat *sts, char *filename);
00091 int up__rmdir(struct estat *sts, struct url_t *url);
00092 int up__fetch_decoder(struct estat *sts);
00093
00094 #endif
00095
00096