~ubuntu-branches/debian/sid/subversion/sid

« back to all changes in this revision

Viewing changes to subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.h

  • Committer: Package Import Robot
  • Author(s): James McCoy
  • Date: 2015-08-07 21:32:47 UTC
  • mfrom: (0.2.15) (4.1.7 experimental)
  • Revision ID: package-import@ubuntu.com-20150807213247-ozyewtmgsr6tkewl
Tags: 1.9.0-1
* Upload to unstable
* New upstream release.
  + Security fixes
    - CVE-2015-3184: Mixed anonymous/authenticated path-based authz with
      httpd 2.4
    - CVE-2015-3187: svn_repos_trace_node_locations() reveals paths hidden
      by authz
* Add >= 2.7 requirement for python-all-dev Build-Depends, needed to run
  tests.
* Remove Build-Conflicts against ruby-test-unit.  (Closes: #791844)
* Remove patches/apache_module_dependency in favor of expressing the
  dependencies in authz_svn.load/dav_svn.load.
* Build-Depend on apache2-dev (>= 2.4.16) to ensure ap_some_authn_required()
  is available when building mod_authz_svn and Depend on apache2-bin (>=
  2.4.16) for runtime support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
#include "svn_repos.h"
41
41
 
42
42
/* Define DLL export magic on Windows. */
43
 
#ifdef WIN32
44
 
#  ifdef SVN_SWIG_SWIGUTIL_PY_C
45
 
#    define SVN_SWIG_SWIGUTIL_EXPORT __declspec(dllexport)
46
 
#  else
47
 
#    define SVN_SWIG_SWIGUTIL_EXPORT __declspec(dllimport)
48
 
#  endif
49
 
#else
50
 
#  define SVN_SWIG_SWIGUTIL_EXPORT
51
 
#endif
52
 
 
53
43
#ifdef __cplusplus
54
44
extern "C" {
55
45
#endif /* __cplusplus */
57
47
 
58
48
 
59
49
/* Initialize the libsvn_swig_py library. */
60
 
SVN_SWIG_SWIGUTIL_EXPORT
61
50
apr_status_t svn_swig_py_initialize(void);
62
51
 
63
52
 
64
53
 
65
54
/* Functions to manage python's global interpreter lock */
66
 
SVN_SWIG_SWIGUTIL_EXPORT
67
55
void svn_swig_py_release_py_lock(void);
68
56
 
69
 
SVN_SWIG_SWIGUTIL_EXPORT
70
57
void svn_swig_py_acquire_py_lock(void);
71
58
 
72
59
 
73
60
/*** Automatic Pool Management Functions ***/
74
61
 
75
62
/* Set the application pool */
76
 
SVN_SWIG_SWIGUTIL_EXPORT
77
63
void svn_swig_py_set_application_pool(PyObject *py_pool, apr_pool_t *pool);
78
64
 
79
65
/* Clear the application pool */
80
 
SVN_SWIG_SWIGUTIL_EXPORT
81
66
void svn_swig_py_clear_application_pool(void);
82
67
 
83
68
/* Get the pool argument from the last element of tuple args.
85
70
 * subpool. Return 0 if successful. Return 1 if an error
86
71
 * occurs.
87
72
 */
88
 
SVN_SWIG_SWIGUTIL_EXPORT
89
73
int svn_swig_py_get_pool_arg(PyObject *args, swig_type_info *type,
90
74
    PyObject **py_pool, apr_pool_t **pool);
91
75
 
93
77
 * argument list. Return 0 if successful. Return 1 if an error
94
78
 * occurs.
95
79
 */
96
 
SVN_SWIG_SWIGUTIL_EXPORT
97
80
int svn_swig_py_get_parent_pool(PyObject *args, swig_type_info *type,
98
81
    PyObject **py_pool, apr_pool_t **pool);
99
82
 
101
84
/*** SWIG Wrappers ***/
102
85
 
103
86
/* Wrapper for SWIG_NewPointerObj */
104
 
SVN_SWIG_SWIGUTIL_EXPORT
105
 
PyObject *svn_swig_NewPointerObj(void *obj, swig_type_info *type,
 
87
PyObject *svn_swig_py_new_pointer_obj(void *obj, swig_type_info *type,
106
88
                                 PyObject *pool, PyObject *args);
107
89
 
108
90
/* Wrapper for SWIG_ConvertPtr */
109
 
SVN_SWIG_SWIGUTIL_EXPORT
110
 
int svn_swig_ConvertPtr(PyObject *input, void **obj, swig_type_info *type);
 
91
int svn_swig_py_convert_ptr(PyObject *input, void **obj, swig_type_info *type);
111
92
 
112
93
/* Wrapper for SWIG_MustGetPtr */
113
 
SVN_SWIG_SWIGUTIL_EXPORT
114
 
void *svn_swig_MustGetPtr(void *input, swig_type_info *type, int argnum);
 
94
void *svn_swig_py_must_get_ptr(void *input, swig_type_info *type, int argnum);
115
95
 
116
96
/*** Functions to expose a custom SubversionException ***/
117
97
 
118
98
/* raise a subversion exception, created from a normal subversion
119
99
   error.  consume the error.  */
120
 
SVN_SWIG_SWIGUTIL_EXPORT
121
100
void svn_swig_py_svn_exception(svn_error_t *err);
122
101
 
123
102
 
124
103
 
125
104
/* helper function to convert an apr_hash_t* (char* -> svnstring_t*) to
126
105
   a Python dict */
127
 
SVN_SWIG_SWIGUTIL_EXPORT
128
106
PyObject *svn_swig_py_prophash_to_dict(apr_hash_t *hash);
129
107
 
130
108
/* helper function to convert an apr_hash_t* (svn_revnum_t* -> const
131
109
   char *) to a Python dict */
132
 
SVN_SWIG_SWIGUTIL_EXPORT
133
110
PyObject *svn_swig_py_locationhash_to_dict(apr_hash_t *hash);
134
111
 
135
112
/* helper function to convert an apr_array_header_t* (of
136
113
   svn_merge_range_t *) to a Python list */
137
 
SVN_SWIG_SWIGUTIL_EXPORT
138
114
PyObject *svn_swig_py_pointerlist_to_list(apr_array_header_t *list,
139
115
                                          swig_type_info *type,
140
116
                                          PyObject *py_pool);
141
117
 
142
118
/* helper function to convert an apr_hash_t* (const char *->array of
143
119
   svn_merge_range_t *) to a Python dict */
144
 
SVN_SWIG_SWIGUTIL_EXPORT
145
120
PyObject *svn_swig_py_mergeinfo_to_dict(apr_hash_t *hash,
146
121
                                        swig_type_info *type,
147
122
                                        PyObject *py_pool);
148
123
 
149
124
/* helper function to convert an apr_hash_t* (const char *->hash of
150
125
   mergeinfo hashes) to a Python dict */
151
 
SVN_SWIG_SWIGUTIL_EXPORT
152
126
PyObject *svn_swig_py_mergeinfo_catalog_to_dict(apr_hash_t *hash,
153
127
                                                swig_type_info *type,
154
128
                                                PyObject *py_pool);
156
130
/* helper function to convert an apr_hash_t *(const char *->const char
157
131
 *) to a Python dict */
158
132
 
159
 
SVN_SWIG_SWIGUTIL_EXPORT
160
133
PyObject *svn_swig_py_stringhash_to_dict(apr_hash_t *hash);
161
134
 
162
135
/* convert a hash of 'const char *' -> TYPE into a Python dict */
163
 
SVN_SWIG_SWIGUTIL_EXPORT
164
136
PyObject *svn_swig_py_convert_hash(apr_hash_t *hash, swig_type_info *type,
165
137
                                   PyObject *py_pool);
166
138
 
167
139
/* helper function to convert a 'char **' into a Python list of string
168
140
   objects */
169
 
SVN_SWIG_SWIGUTIL_EXPORT
170
141
PyObject *svn_swig_py_c_strings_to_list(char **strings);
171
142
 
172
143
/* helper function to convert an array of 'const char *' to a Python list
173
144
   of string objects */
174
 
SVN_SWIG_SWIGUTIL_EXPORT
175
145
PyObject *svn_swig_py_array_to_list(const apr_array_header_t *strings);
176
146
 
177
147
/* helper function to convert a hash mapping char * to
178
148
 * svn_log_changed_path_t * to a Python dict mapping str to str. */
179
 
SVN_SWIG_SWIGUTIL_EXPORT
180
149
PyObject *svn_swig_py_changed_path_hash_to_dict(apr_hash_t *hash);
181
150
 
182
151
/* helper function to convert a hash mapping char * to
183
152
 * svn_log_changed_path2_t * to a Python dict mapping str to str. */
184
 
SVN_SWIG_SWIGUTIL_EXPORT
185
153
PyObject *svn_swig_py_changed_path2_hash_to_dict(apr_hash_t *hash);
186
154
 
187
155
/* helper function to convert an array of 'svn_revnum_t' to a Python list
188
156
   of int objects */
189
 
SVN_SWIG_SWIGUTIL_EXPORT
190
157
PyObject *svn_swig_py_revarray_to_list(const apr_array_header_t *revs);
191
158
 
192
159
/* helper function to convert a Python dictionary mapping strings to
193
160
   strings into an apr_hash_t mapping const char *'s to const char *'s,
194
161
   allocated in POOL. */
195
 
SVN_SWIG_SWIGUTIL_EXPORT
196
162
apr_hash_t *svn_swig_py_stringhash_from_dict(PyObject *dict,
197
163
                                             apr_pool_t *pool);
198
164
 
199
165
/* helper function to convert a Python dictionary mapping strings to
200
166
   rangelists into an apr_hash_t mapping const char *'s to rangelists,
201
167
   allocated in POOL. */
202
 
SVN_SWIG_SWIGUTIL_EXPORT
203
168
apr_hash_t *svn_swig_py_mergeinfo_from_dict(PyObject *dict,
204
169
                                             apr_pool_t *pool);
205
170
 
206
171
/* helper function to convert a Python dictionary mapping strings to
207
172
   strings into an 'apr_array_header_t *' of svn_prop_t *
208
173
   allocated in POOL. */
209
 
SVN_SWIG_SWIGUTIL_EXPORT
210
174
apr_array_header_t *svn_swig_py_proparray_from_dict(PyObject *dict,
211
175
                                                    apr_pool_t *pool);
212
176
 
213
177
/* helper function to convert a 'apr_array_header_t *' of 'svn_prop_t
214
178
   to a Python dictionary mapping strings to strings. */
215
 
SVN_SWIG_SWIGUTIL_EXPORT
216
179
PyObject *svn_swig_py_proparray_to_dict(const apr_array_header_t *array);
217
180
 
218
181
/* helper function to convert a 'apr_array_header_t *' of
219
182
   'svn_prop_inherited_item_t' to a Python dictionary mapping strings
220
183
   to dictionary. */
221
 
SVN_SWIG_SWIGUTIL_EXPORT
222
184
PyObject *
223
185
svn_swig_py_propinheriteditemarray_to_dict(const apr_array_header_t *array);
224
186
 
225
187
/* helper function to convert a Python dictionary mapping strings to
226
188
   strings into an apr_hash_t mapping const char *'s to svn_string_t's,
227
189
   allocated in POOL. */
228
 
SVN_SWIG_SWIGUTIL_EXPORT
229
190
apr_hash_t *svn_swig_py_prophash_from_dict(PyObject *dict,
230
191
                                           apr_pool_t *pool);
231
192
 
232
193
/* helper function to convert a Python dictionary mapping strings to
233
194
   integers into an apr_hash_t mapping const char *'s to revnums,
234
195
   allocated in POOL. */
235
 
SVN_SWIG_SWIGUTIL_EXPORT
236
196
apr_hash_t *svn_swig_py_path_revs_hash_from_dict(PyObject *dict,
237
197
                                                 apr_pool_t *pool);
238
198
 
239
199
/* helper function to convert a Python dictionary mapping strings to
240
200
   SWIG wrappers described by type into an apr_hash_t mapping const char *'s to
241
201
   struct pointers, allocated in POOL. */
242
 
SVN_SWIG_SWIGUTIL_EXPORT
243
202
apr_hash_t *svn_swig_py_struct_ptr_hash_from_dict(PyObject *dict,
244
203
                                                  swig_type_info *type,
245
204
                                                  apr_pool_t *pool);
259
218
   In case of failure, raises a Python exception, presuming that seq was the
260
219
   function argument #argnum.
261
220
   pool is used to allocate the array. */
262
 
SVN_SWIG_SWIGUTIL_EXPORT
263
221
const apr_array_header_t *
264
222
svn_swig_py_seq_to_array(PyObject *seq,
265
223
                         int element_size,
269
227
 
270
228
/* An svn_swig_py_object_unwrap_t that extracts a char pointer from a Python
271
229
   string. */
272
 
SVN_SWIG_SWIGUTIL_EXPORT
273
230
int
274
231
svn_swig_py_unwrap_string(PyObject *source,
275
232
                          void *destination,
277
234
 
278
235
/* An svn_swig_py_object_unwrap_t that extracts an svn_revnum_t from a Python
279
236
   integer. */
280
 
SVN_SWIG_SWIGUTIL_EXPORT
281
237
int
282
238
svn_swig_py_unwrap_revnum(PyObject *source,
283
239
                          void *destination,
285
241
 
286
242
/* An svn_swig_py_object_unwrap_t that extracts a struct pointer from a SWIG
287
243
   wrapper. baton is expected to be a swig_type_info* describing the struct. */
288
 
SVN_SWIG_SWIGUTIL_EXPORT
289
244
int
290
245
svn_swig_py_unwrap_struct_ptr(PyObject *source,
291
246
                          void *destination,
292
247
                          void *baton);
293
248
 
294
249
/* make an editor that "thunks" from C callbacks up to Python */
295
 
SVN_SWIG_SWIGUTIL_EXPORT
296
250
void svn_swig_py_make_editor(const svn_delta_editor_t **editor,
297
251
                             void **edit_baton,
298
252
                             PyObject *py_editor,
299
253
                             apr_pool_t *pool);
300
254
 
301
 
SVN_SWIG_SWIGUTIL_EXPORT
 
255
/* make a parse vtable that "thunks" from C callbacks up to Python */
 
256
void svn_swig_py_make_parse_fns3(const svn_repos_parse_fns3_t **parse_fns3,
 
257
                                 void **parse_baton,
 
258
                                 PyObject *py_parse_fns3,
 
259
                                 apr_pool_t *pool);
 
260
 
302
261
apr_file_t *svn_swig_py_make_file(PyObject *py_file,
303
262
                                  apr_pool_t *pool);
304
263
 
305
 
SVN_SWIG_SWIGUTIL_EXPORT
306
264
svn_stream_t *svn_swig_py_make_stream(PyObject *py_io,
307
265
                                      apr_pool_t *pool);
308
266
 
309
267
/* Convert ops, a C array of num_ops elements, to a Python list of SWIG
310
268
   objects with descriptor op_type_info and pool set to parent_pool. */
311
 
SVN_SWIG_SWIGUTIL_EXPORT
312
269
PyObject *
313
270
svn_swig_py_convert_txdelta_op_c_array(int num_ops,
314
271
                                       svn_txdelta_op_t *ops,
317
274
 
318
275
/* a notify function that executes a Python function that is passed in
319
276
   via the baton argument */
320
 
SVN_SWIG_SWIGUTIL_EXPORT
321
277
void svn_swig_py_notify_func(void *baton,
322
278
                             const char *path,
323
279
                             svn_wc_notify_action_t action,
327
283
                             svn_wc_notify_state_t prop_state,
328
284
                             svn_revnum_t revision);
329
285
 
330
 
SVN_SWIG_SWIGUTIL_EXPORT
331
286
void svn_swig_py_notify_func2(void *baton,
332
287
                              const svn_wc_notify_t *notify,
333
288
                              apr_pool_t *pool);
334
289
 
335
290
/* a status function that executes a Python function that is passed in
336
291
   via the baton argument */
337
 
SVN_SWIG_SWIGUTIL_EXPORT
338
292
void svn_swig_py_status_func(void *baton,
339
293
                             const char *path,
340
294
                             svn_wc_status_t *status);
341
295
 
342
296
/* a svn_delta_path_driver callback that executes a Python function
343
297
  that is passed in via the baton argument */
344
 
SVN_SWIG_SWIGUTIL_EXPORT
345
298
svn_error_t *svn_swig_py_delta_path_driver_cb_func(void **dir_baton,
346
299
                                                   void *parent_baton,
347
300
                                                   void *callback_baton,
350
303
 
351
304
/* a status function that executes a Python function that is passed in
352
305
   via the baton argument */
353
 
SVN_SWIG_SWIGUTIL_EXPORT
354
306
void svn_swig_py_status_func2(void *baton,
355
307
                              const char *path,
356
308
                              svn_wc_status2_t *status);
357
309
 
358
310
/* a cancel function that executes a Python function passed in via the
359
311
   cancel_baton argument. */
360
 
SVN_SWIG_SWIGUTIL_EXPORT
361
312
svn_error_t *svn_swig_py_cancel_func(void *cancel_baton);
362
313
 
363
314
/* thunked fs get_locks function */
364
 
SVN_SWIG_SWIGUTIL_EXPORT
365
315
svn_error_t *svn_swig_py_fs_get_locks_func(void *baton,
366
316
                                           svn_lock_t *lock,
367
317
                                           apr_pool_t *pool);
368
318
 
 
319
svn_error_t *svn_swig_py_fs_lock_callback(
 
320
                    void *baton,
 
321
                    const char *path,
 
322
                    const svn_lock_t *lock,
 
323
                    svn_error_t *ra_err,
 
324
                    apr_pool_t *pool);
 
325
 
369
326
/* thunked commit log fetcher */
370
 
SVN_SWIG_SWIGUTIL_EXPORT
371
327
svn_error_t *svn_swig_py_get_commit_log_func(const char **log_msg,
372
328
                                             const char **tmp_file,
373
329
                                             const apr_array_header_t *
376
332
                                             apr_pool_t *pool);
377
333
 
378
334
/* thunked repos authz callback function */
379
 
SVN_SWIG_SWIGUTIL_EXPORT
380
335
svn_error_t *svn_swig_py_repos_authz_func(svn_boolean_t *allowed,
381
336
                                          svn_fs_root_t *root,
382
337
                                          const char *path,
384
339
                                          apr_pool_t *pool);
385
340
 
386
341
/* thunked history callback function */
387
 
SVN_SWIG_SWIGUTIL_EXPORT
388
342
svn_error_t *svn_swig_py_repos_history_func(void *baton,
389
343
                                            const char *path,
390
344
                                            svn_revnum_t revision,
391
345
                                            apr_pool_t *pool);
392
346
 
393
347
/* thunked log receiver function */
394
 
SVN_SWIG_SWIGUTIL_EXPORT
395
348
svn_error_t *svn_swig_py_log_receiver(void *py_receiver,
396
349
                                      apr_hash_t *changed_paths,
397
350
                                      svn_revnum_t rev,
401
354
                                      apr_pool_t *pool);
402
355
 
403
356
/* thunked log receiver2 function */
404
 
SVN_SWIG_SWIGUTIL_EXPORT
405
357
svn_error_t *svn_swig_py_log_entry_receiver(void *baton,
406
358
                                            svn_log_entry_t *log_entry,
407
359
                                            apr_pool_t *pool);
408
360
 
409
361
/* thunked repos freeze function */
410
 
SVN_SWIG_SWIGUTIL_EXPORT
411
362
svn_error_t *svn_swig_py_repos_freeze_func(void *baton,
412
363
                                           apr_pool_t *pool);
413
364
 
414
365
/* thunked fs freeze function */
415
 
SVN_SWIG_SWIGUTIL_EXPORT
416
366
svn_error_t *svn_swig_py_fs_freeze_func(void *baton,
417
367
                                        apr_pool_t *pool);
418
368
 
419
369
/* thunked proplist receiver2 function */
420
 
SVN_SWIG_SWIGUTIL_EXPORT
421
370
svn_error_t *svn_swig_py_proplist_receiver2(void *baton,
422
371
                                            const char *path,
423
372
                                            apr_hash_t *prop_hash,
425
374
                                            apr_pool_t *pool);
426
375
 
427
376
/* thunked info receiver function */
428
 
SVN_SWIG_SWIGUTIL_EXPORT
429
377
svn_error_t *svn_swig_py_info_receiver_func(void *py_receiver,
430
378
                                            const char *path,
431
379
                                            const svn_info_t *info,
432
380
                                            apr_pool_t *pool);
433
381
 
434
382
/* thunked location segments receiver function */
435
 
SVN_SWIG_SWIGUTIL_EXPORT
436
383
svn_error_t *
437
384
svn_swig_py_location_segment_receiver_func(svn_location_segment_t *segment,
438
385
                                           void *baton,
439
386
                                           apr_pool_t *pool);
440
387
 
441
388
/* thunked blame receiver function */
442
 
SVN_SWIG_SWIGUTIL_EXPORT
443
389
svn_error_t *svn_swig_py_client_blame_receiver_func(void *baton,
444
390
                                                    apr_int64_t line_no,
445
391
                                                    svn_revnum_t revision,
449
395
                                                    apr_pool_t *pool);
450
396
 
451
397
/* thunked changelist receiver function */
452
 
SVN_SWIG_SWIGUTIL_EXPORT
453
398
svn_error_t *svn_swig_py_changelist_receiver_func(void *baton,
454
399
                                                  const char *path,
455
400
                                                  const char *changelist,
456
401
                                                  apr_pool_t *pool);
457
402
 
458
403
/* auth provider callbacks */
459
 
SVN_SWIG_SWIGUTIL_EXPORT
460
404
svn_error_t * svn_swig_py_auth_gnome_keyring_unlock_prompt_func(
461
405
        char **keyring_passwd,
462
406
        const char *keyring_name,
463
407
        void *baton,
464
408
        apr_pool_t *pool);
465
409
 
466
 
SVN_SWIG_SWIGUTIL_EXPORT
467
410
svn_error_t *svn_swig_py_auth_simple_prompt_func(
468
411
    svn_auth_cred_simple_t **cred,
469
412
    void *baton,
472
415
    svn_boolean_t may_save,
473
416
    apr_pool_t *pool);
474
417
 
475
 
SVN_SWIG_SWIGUTIL_EXPORT
476
418
svn_error_t *svn_swig_py_auth_username_prompt_func(
477
419
    svn_auth_cred_username_t **cred,
478
420
    void *baton,
480
422
    svn_boolean_t may_save,
481
423
    apr_pool_t *pool);
482
424
 
483
 
SVN_SWIG_SWIGUTIL_EXPORT
484
425
svn_error_t *svn_swig_py_auth_ssl_server_trust_prompt_func(
485
426
    svn_auth_cred_ssl_server_trust_t **cred,
486
427
    void *baton,
490
431
    svn_boolean_t may_save,
491
432
    apr_pool_t *pool);
492
433
 
493
 
SVN_SWIG_SWIGUTIL_EXPORT
494
434
svn_error_t *svn_swig_py_auth_ssl_client_cert_prompt_func(
495
435
    svn_auth_cred_ssl_client_cert_t **cred,
496
436
    void *baton,
498
438
    svn_boolean_t may_save,
499
439
    apr_pool_t *pool);
500
440
 
501
 
SVN_SWIG_SWIGUTIL_EXPORT
502
441
svn_error_t *svn_swig_py_auth_ssl_client_cert_pw_prompt_func(
503
442
    svn_auth_cred_ssl_client_cert_pw_t **cred,
504
443
    void *baton,
507
446
    apr_pool_t *pool);
508
447
 
509
448
/* auth cleanup callback */
510
 
SVN_SWIG_SWIGUTIL_EXPORT
511
449
svn_error_t *svn_swig_py_config_auth_walk_func(svn_boolean_t *delete_cred,
512
450
                                               void *walk_baton,
513
451
                                               const char *cred_kind,
515
453
                                               apr_hash_t *hash,
516
454
                                               apr_pool_t *scratch_pool);
517
455
 
518
 
SVN_SWIG_SWIGUTIL_EXPORT
519
456
void
520
457
svn_swig_py_setup_ra_callbacks(svn_ra_callbacks2_t **callbacks,
521
458
                               void **baton,
522
459
                               PyObject *py_callbacks,
523
460
                               apr_pool_t *pool);
524
461
 
525
 
SVN_SWIG_SWIGUTIL_EXPORT
526
462
svn_wc_diff_callbacks2_t *
527
463
svn_swig_py_setup_wc_diff_callbacks2(void **baton,
528
464
                                     PyObject *py_callbacks,
529
465
                                     apr_pool_t *pool);
530
466
 
531
 
SVN_SWIG_SWIGUTIL_EXPORT
532
467
svn_error_t *svn_swig_py_commit_callback2(const svn_commit_info_t *commit_info,
533
468
                                          void *baton,
534
469
                                          apr_pool_t *pool);
535
470
 
536
 
SVN_SWIG_SWIGUTIL_EXPORT
537
471
svn_error_t *svn_swig_py_commit_callback(svn_revnum_t new_revision,
538
472
                                         const char *date,
539
473
                                         const char *author,
540
474
                                         void *baton);
541
475
 
542
476
 
543
 
SVN_SWIG_SWIGUTIL_EXPORT
544
477
svn_error_t *svn_swig_py_ra_file_rev_handler_func(
545
478
                    void *baton,
546
479
                    const char *path,
551
484
                    apr_array_header_t *prop_diffs,
552
485
                    apr_pool_t *pool);
553
486
 
554
 
SVN_SWIG_SWIGUTIL_EXPORT
555
487
svn_error_t *svn_swig_py_ra_lock_callback(
556
488
                    void *baton,
557
489
                    const char *path,
560
492
                    svn_error_t *ra_err,
561
493
                    apr_pool_t *pool);
562
494
 
563
 
SVN_SWIG_SWIGUTIL_EXPORT
564
 
extern const svn_ra_reporter2_t swig_py_ra_reporter2;
 
495
const svn_ra_reporter2_t *svn_swig_py_get_ra_reporter2(void);
565
496
 
566
 
SVN_SWIG_SWIGUTIL_EXPORT
567
497
svn_boolean_t
568
498
svn_swig_py_config_enumerator2(const char *name,
569
499
                               const char *value,
570
500
                               void *baton,
571
501
                               apr_pool_t *pool);
572
502
 
573
 
SVN_SWIG_SWIGUTIL_EXPORT
574
503
svn_boolean_t
575
504
svn_swig_py_config_section_enumerator2(const char *name,
576
505
                                       void *baton,