FreeBSD/contrib/subversion/subversion/libsvn_fs_fs/temp_serializer.c
/* Utility function that returns the directory serialized inside CONTEXT
 * to DATA and DATA_LEN. */
Utility function that returns the directory serialized inside CONTEXT
to DATA and DATA_LEN.
Utility function that returns the directory serialized inside CONTEXT to DATA and DATA_LEN .
static svn_error_t *
return_serialized_dir_context(svn_temp_serializer__context_t *context,
                              void **data,
                              apr_size_t *data_len)
{
  svn_stringbuf_t *serialized = svn_temp_serializer__get(context);
  *data = serialized->data;
  *data_len = serialized->blocksize;
  ((dir_data_t *)serialized->data)->len = serialized->len;
  return SVN_NO_ERROR;
}
static svn_error_t * return_serialized_dir_context ( svn_temp_serializer__context_t * context , void * * data , apr_size_t * data_len ) { svn_stringbuf_t * serialized = svn_temp_serializer__get ( context ) ; * data = serialized -> data ; * data_len = serialized -> blocksize ; ( ( dir_data_t * ) serialized -> data ) -> len = serialized -> len ; return SVN_NO_ERROR ; }
Utility function that returns the directory serialized inside CONTEXT
 to DATA and DATA_LEN.
Utility function that returns the directory serialized inside CONTEXT to DATA and DATA_LEN .