00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef __REVERT_H__
00010 #define __REVERT_H__
00011
00012 #include "actions.h"
00013
00018 work_t rev__work;
00019
00021 #define DECODER_UNKNOWN ((char*)-1)
00022
00024 int rev__install_file(struct estat *sts, svn_revnum_t revision,
00025 char *decoder,
00026 apr_pool_t *pool);
00027
00030 int rev__do_changed(struct estat *dir,
00031 apr_pool_t *pool);
00032
00035 int rev__get_props(struct estat *sts,
00036 char *utf8_path,
00037 svn_revnum_t revision,
00038 apr_pool_t *pool);
00039
00041 int rev__get_text_to_tmpfile(char *loc_url, svn_revnum_t revision,
00042 char *encoder,
00043 char *filename_base, char **filename,
00044 struct estat *sts_for_manber,
00045 struct estat *output_sts, apr_hash_t **props,
00046 apr_pool_t *pool);
00047
00049 int rev__get_text_into_buffer(char *loc_url, svn_revnum_t revision,
00050 const char *decoder,
00051 svn_stringbuf_t **output,
00052 struct estat *sts_for_manber,
00053 struct estat *output_sts,
00054 apr_hash_t **props,
00055 apr_pool_t *pool);
00056
00058 int rev__get_text_to_stream( char *loc_url, svn_revnum_t revision,
00059 const char *decoder,
00060 svn_stream_t *output,
00061 struct estat *sts_for_manber,
00062 struct estat *output_sts,
00063 apr_hash_t **props,
00064 apr_pool_t *pool);
00065
00066 #endif
00067