Author: gstein
Date: Wed Jun 13 10:59:15 2012
New Revision: 1349750
URL: http://svn.apache.org/viewvc?rev=1349750&view=rev
Log:
Fix callback signature and document.
* subversion/libsvn_ra_serf/ra_serf.h:
(svn_ra_serf__xml_data_t): LEN should not be a pointer. add docstring.
Modified:
subversion/trunk/subversion/libsvn_ra_serf/ra_serf.h
Modified: subversion/trunk/subversion/libsvn_ra_serf/ra_serf.h
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/ra_serf.h?rev=1349750&r1=1349749&r2=1349750&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/ra_serf.h (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/ra_serf.h Wed Jun 13 10:59:15
2012
@@ -659,13 +659,18 @@ typedef svn_error_t *
apr_pool_t *scratch_pool);
-/* ### TBD */
+/* Called for all states that are not using the builtin cdata collection.
+ This callback is (only) appropriate for unbounded-size cdata content.
+
+ CURRENT_STATE may be used to decide what to do with the data.
+
+ Temporary allocations may be made in SCRATCH_POOL. */
typedef svn_error_t *
(*svn_ra_serf__xml_cdata_t)(svn_ra_serf__xml_estate_t *xes,
void *baton,
int current_state,
const char *data,
- apr_size_t *len,
+ apr_size_t len,
apr_pool_t *scratch_pool);