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

« back to all changes in this revision

Viewing changes to subversion/include/svn_ra_svn.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:
165
165
typedef svn_error_t *(*svn_ra_svn_edit_callback)(void *baton);
166
166
 
167
167
/** Initialize a connection structure for the given socket or
168
 
 * input/output files.
 
168
 * input/output streams.
169
169
 *
170
 
 * Either @a sock or @a in_file/@a out_file must be set, not both.
 
170
 * Either @a sock or @a in_stream/@a out_stream must be set, not both.
171
171
 * @a compression_level specifies the desired network data compression
172
172
 * level (zlib) from 0 (no compression) to 9 (best but slowest).
173
173
 *
184
184
 * It defines the number of bytes that must have been sent since the last
185
185
 * check before the next check will be made.
186
186
 *
 
187
 * @note If @a out_stream is an wrapped apr_file_t* the backing file will be
 
188
 * used for some operations.
 
189
 *
187
190
 * Allocate the result in @a pool.
188
191
 *
 
192
 * @since New in 1.9
 
193
 */
 
194
svn_ra_svn_conn_t *svn_ra_svn_create_conn4(apr_socket_t *sock,
 
195
                                           svn_stream_t *in_stream,
 
196
                                           svn_stream_t *out_stream,
 
197
                                           int compression_level,
 
198
                                           apr_size_t zero_copy_limit,
 
199
                                           apr_size_t error_check_interval,
 
200
                                           apr_pool_t *result_pool);
 
201
 
 
202
 
 
203
/** Similar to svn_ra_svn_create_conn4() but only supports apr_file_t handles
 
204
 * instead of the more generic streams.
 
205
 *
189
206
 * @since New in 1.8
 
207
 * @deprecated Provided for backward compatibility with the 1.8 API.
190
208
 */
 
209
SVN_DEPRECATED
191
210
svn_ra_svn_conn_t *svn_ra_svn_create_conn3(apr_socket_t *sock,
192
211
                                           apr_file_t *in_file,
193
212
                                           apr_file_t *out_file,
268
287
 *
269
288
 * Upon successful completion of the edit, the editor will invoke @a callback
270
289
 * with @a callback_baton as an argument.
 
290
 *
 
291
 * @note The @c copyfrom_path parameter passed to the @c add_file and
 
292
 * @c add_directory methods of the returned editor may be either a URL or a
 
293
 * relative path, and is transferred verbatim to the receiving end of the
 
294
 * connection. See svn_ra_svn_drive_editor2() for information on the
 
295
 * receiving end of the connection.
271
296
 */
272
297
void
273
298
svn_ra_svn_get_editor(const svn_delta_editor_t **editor,
283
308
 * if @a for_replay is TRUE.
284
309
 *
285
310
 * @since New in 1.4.
 
311
 *
 
312
 * @note The @c copyfrom_path parameter passed to the @c add_file and
 
313
 * @c add_directory methods of the receiving editor will be canonicalized
 
314
 * either as a URL or as a relative path (starting with a slash) according
 
315
 * to which kind was sent by the driving end of the connection. See
 
316
 * svn_ra_svn_get_editor() for information on the driving end of the
 
317
 * connection.
286
318
 */
287
319
svn_error_t *
288
320
svn_ra_svn_drive_editor2(svn_ra_svn_conn_t *conn,