FreeBSD/contrib/subversion/subversion/libsvn_subr/packed_data.c
/* Returns a new top-level byte sequence stream for ROOT but does not
 * initialize the LENGTH_STREAM member.
 */
Returns a new top-level byte sequence stream for ROOT but does not
initialize the LENGTH_STREAM member.
Returns a new top - level byte sequence stream for ROOT but does not initialize the LENGTH_STREAM member .
static svn_packed__byte_stream_t *
create_bytes_stream_body(svn_packed__data_root_t *root)
{
  svn_packed__byte_stream_t *stream
    = apr_pcalloc(root->pool, sizeof(*stream));
  stream->packed = svn_stringbuf_create_empty(root->pool);
  if (root->last_byte_stream)
    root->last_byte_stream->next = stream;
  else
    root->first_byte_stream = stream;
  root->last_byte_stream = stream;
  root->byte_stream_count++;
  return stream;
}
static svn_packed__byte_stream_t * create_bytes_stream_body ( svn_packed__data_root_t * root ) { svn_packed__byte_stream_t * stream = apr_pcalloc ( root -> pool , sizeof ( * stream ) ) ; stream -> packed = svn_stringbuf_create_empty ( root -> pool ) ; if ( root -> last_byte_stream ) root -> last_byte_stream -> next = stream ; else root -> first_byte_stream = stream ; root -> last_byte_stream = stream ; root -> byte_stream_count ++ ; return stream ; }
Returns a new top-level byte sequence stream for ROOT but does not
 initialize the LENGTH_STREAM member.
Returns a new top - level byte sequence stream for ROOT but does not initialize the LENGTH_STREAM member .