31 #include <apr_pools.h>
33 #include <apr_tables.h>
34 #include <apr_file_io.h>
35 #include <apr_network_io.h>
47 #define SVN_RA_SVN_PORT 3690
50 #define SVN_RA_SVN_CAP_EDIT_PIPELINE "edit-pipeline"
51 #define SVN_RA_SVN_CAP_SVNDIFF1 "svndiff1"
52 #define SVN_RA_SVN_CAP_ABSENT_ENTRIES "absent-entries"
54 #define SVN_RA_SVN_CAP_COMMIT_REVPROPS "commit-revprops"
56 #define SVN_RA_SVN_CAP_MERGEINFO "mergeinfo"
58 #define SVN_RA_SVN_CAP_DEPTH "depth"
60 #define SVN_RA_SVN_CAP_LOG_REVPROPS "log-revprops"
62 #define SVN_RA_SVN_CAP_PARTIAL_REPLAY "partial-replay"
64 #define SVN_RA_SVN_CAP_ATOMIC_REVPROPS "atomic-revprops"
66 #define SVN_RA_SVN_CAP_INHERITED_PROPS "inherited-props"
68 #define SVN_RA_SVN_CAP_EPHEMERAL_TXNPROPS "ephemeral-txnprops"
70 #define SVN_RA_SVN_CAP_GET_FILE_REVS_REVERSE "file-revs-reverse"
81 #define SVN_RA_SVN_DIRENT_KIND "kind"
84 #define SVN_RA_SVN_DIRENT_SIZE "size"
87 #define SVN_RA_SVN_DIRENT_HAS_PROPS "has-props"
90 #define SVN_RA_SVN_DIRENT_CREATED_REV "created-rev"
93 #define SVN_RA_SVN_DIRENT_TIME "time"
96 #define SVN_RA_SVN_DIRENT_LAST_AUTHOR "last-author"
103 #define SVN_RA_SVN_UNSPECIFIED_NUMBER ~((apr_uint64_t) 0)
112 #define SVN_CMD_ERR(expr) \
114 svn_error_t *svn_err__temp = (expr); \
116 return svn_error_create(SVN_ERR_RA_SVN_CMD_ERR, \
117 svn_err__temp, NULL); \
126 apr_array_header_t *params,
165 typedef svn_error_t *(*svn_ra_svn_edit_callback)(
void *baton);
193 apr_file_t *out_file,
194 int compression_level,
195 apr_size_t zero_copy_limit,
196 apr_size_t error_check_interval,
210 apr_file_t *out_file,
211 int compression_level,
224 apr_file_t *out_file,
236 const apr_array_header_t *list);
242 const char *capability);
277 svn_ra_svn_edit_callback callback,
278 void *callback_baton);
345 apr_uint64_t number);
479 const char *fmt, ...);
546 const char *fmt, ...);
558 const char *fmt, ...);
584 const char *fmt, ...);
633 const char *fmt, ...);
647 const char *fmt, ...);