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

« back to all changes in this revision

Viewing changes to subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.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:
59
59
#endif
60
60
 
61
61
 
62
 
 
63
 
#if defined(SVN_AVOID_CIRCULAR_LINKAGE_AT_ALL_COSTS_HACK)
64
 
typedef apr_pool_t *(*svn_swig_pl_get_current_pool_t)(void);
65
 
typedef void (*svn_swig_pl_set_current_pool_t)(apr_pool_t *pool);
66
 
 
67
 
void svn_swig_pl_bind_current_pool_fns(svn_swig_pl_get_current_pool_t get,
68
 
                                       svn_swig_pl_set_current_pool_t set);
69
 
#endif
 
62
typedef apr_pool_t *(*svn_swig_pl_get_current_pool_func_t)(void);
 
63
typedef void (*svn_swig_pl_set_current_pool_func_t)(apr_pool_t *pool);
 
64
 
 
65
void svn_swig_pl__bind_current_pool_fns(svn_swig_pl_get_current_pool_func_t get,
 
66
                                       svn_swig_pl_set_current_pool_func_t set);
 
67
 
 
68
apr_pool_t * svn_swig_pl_get_current_pool();
 
69
void svn_swig_pl_set_current_pool(apr_pool_t *pool);
70
70
 
71
71
apr_pool_t *svn_swig_pl_make_pool(SV *obj);
72
72
 
83
83
SV *svn_swig_pl_prophash_to_hash(apr_hash_t *hash);
84
84
SV *svn_swig_pl_convert_hash(apr_hash_t *hash, swig_type_info *tinfo);
85
85
 
86
 
SV *svn_swig_pl_convert_hash_of_revnum_t(apr_hash_t *hash);
87
 
 
88
 
const apr_array_header_t *svn_swig_pl_strings_to_array(SV *source,
 
86
apr_array_header_t *svn_swig_pl_strings_to_array(SV *source,
89
87
                                                       apr_pool_t *pool);
90
88
 
91
89
apr_hash_t *svn_swig_pl_strings_to_hash(SV *source,
98
96
apr_hash_t *svn_swig_pl_objs_to_hash_of_revnum_t(SV *source,
99
97
                                                 apr_pool_t *pool);
100
98
apr_hash_t *svn_swig_pl_hash_to_prophash(SV *source, apr_pool_t *pool);
101
 
const apr_array_header_t *svn_swig_pl_objs_to_array(SV *source,
 
99
apr_array_header_t *svn_swig_pl_objs_to_array(SV *source,
102
100
                                                    swig_type_info *tinfo,
103
101
                                                    apr_pool_t *pool);
104
 
const apr_array_header_t *svn_swig_pl_array_to_apr_array_revision_range(
 
102
apr_array_header_t *svn_swig_pl_array_to_apr_array_revision_range(
105
103
        SV *source, apr_pool_t *pool);
106
104
 
107
105
SV *svn_swig_pl_array_to_list(const apr_array_header_t *array);
108
 
/* Formerly used by pre-1.0 APIs. Now unused
109
 
SV *svn_swig_pl_ints_to_list(const apr_array_header_t *array);
110
 
*/
111
106
SV *svn_swig_pl_convert_array(const apr_array_header_t *array,
112
107
                              swig_type_info *tinfo);
113
108
 
114
109
SV *svn_swig_pl_revnums_to_list(const apr_array_header_t *array);
115
110
 
116
 
svn_opt_revision_t *svn_swig_pl_set_revision(svn_opt_revision_t *rev, 
 
111
svn_opt_revision_t *svn_swig_pl_set_revision(svn_opt_revision_t *rev,
117
112
                                             SV *source,
118
 
                                             svn_boolean_t croak_on_error);
 
113
                                             svn_boolean_t croak_on_error,
 
114
                                             apr_pool_t *pool);
119
115
 
120
116
/* thunked log_message receiver function.  */
121
117
svn_error_t * svn_swig_pl_thunk_log_receiver(void *baton,
139
135
 
140
136
/* thunked commit editor callback. */
141
137
svn_error_t *svn_swig_pl_thunk_commit_callback(svn_revnum_t new_revision,
142
 
                                               const char *date,
143
 
                                               const char *author,
144
 
                                               void *baton);
 
138
                                               const char *date,
 
139
                                               const char *author,
 
140
                                               void *baton);
145
141
 
146
142
/* thunked commit editor callback2. */
147
143
svn_error_t *svn_swig_pl_thunk_commit_callback2(const svn_commit_info_t *commit_info,
162
158
                                          apr_pool_t *pool);
163
159
 
164
160
/* ra callbacks. */
165
 
svn_error_t *svn_ra_make_callbacks(svn_ra_callbacks_t **cb,
166
 
                                   void **c_baton,
167
 
                                   SV *perl_callbacks,
168
 
                                   apr_pool_t *pool);
 
161
svn_error_t *svn_swig_pl_make_callbacks(svn_ra_callbacks_t **cb,
 
162
                                        void **c_baton,
 
163
                                        SV *perl_callbacks,
 
164
                                        apr_pool_t *pool);
169
165
 
170
166
/* thunked gnome_keyring_unlock_prompt callback function */
171
167
svn_error_t *svn_swig_pl_thunk_gnome_keyring_unlock_prompt(char **keyring_password,
223
219
/* Thunked version of svn_wc_notify_func_t callback type */
224
220
void svn_swig_pl_notify_func(void * baton,
225
221
                             const char *path,
226
 
                             svn_wc_notify_action_t action,
227
 
                             svn_node_kind_t kind,
228
 
                             const char *mime_type,
229
 
                             svn_wc_notify_state_t content_state,
230
 
                             svn_wc_notify_state_t prop_state,
231
 
                             svn_revnum_t revision);
 
222
                             svn_wc_notify_action_t action,
 
223
                             svn_node_kind_t kind,
 
224
                             const char *mime_type,
 
225
                             svn_wc_notify_state_t content_state,
 
226
                             svn_wc_notify_state_t prop_state,
 
227
                             svn_revnum_t revision);
232
228
 
233
229
 
234
230
/* Thunked version of svn_client_get_commit_log3_t callback type. */
277
273
svn_boolean_t svn_swig_pl_thunk_config_enumerator(const char *name, const char *value, void *baton);
278
274
 
279
275
/* helper for making the editor */
280
 
void svn_delta_make_editor(svn_delta_editor_t **editor,
281
 
                           void **edit_baton,
282
 
                           SV *perl_editor,
283
 
                           apr_pool_t *pool);
 
276
void svn_swig_pl_make_editor(svn_delta_editor_t **editor,
 
277
                             void **edit_baton,
 
278
                             SV *perl_editor,
 
279
                             apr_pool_t *pool);
284
280
 
285
 
void svn_delta_wrap_window_handler(svn_txdelta_window_handler_t *handler,
286
 
                                   void **h_baton,
287
 
                                   SV *callback,
288
 
                                   apr_pool_t *pool);
 
281
void svn_swig_pl_wrap_window_handler(svn_txdelta_window_handler_t *handler,
 
282
                                     void **h_baton,
 
283
                                     SV *callback,
 
284
                                     apr_pool_t *pool);
289
285
 
290
286
/* svn_stream_t helpers */
291
287
svn_error_t *svn_swig_pl_make_stream(svn_stream_t **stream, SV *obj);