FreeBSD/contrib/subversion/subversion/libsvn_subr/packed_data.c
/* Recursively write the structure (sub-streams, data sizes) of the STREAM
 * and all its siblings to the TREE_STRUCT buffer.
 */
Recursively write the structure (sub-streams, data sizes) of the STREAM
and all its siblings to the TREE_STRUCT buffer.
Recursively write the structure ( sub - streams data sizes ) of the STREAM and all its siblings to the TREE_STRUCT buffer .
static void
write_byte_stream_structure(svn_stringbuf_t* tree_struct,
                            svn_packed__byte_stream_t* stream)
{
  for (; stream; stream = stream->next)
    {
      write_packed_uint(tree_struct, 0);
      write_packed_uint(tree_struct, stream->lengths_stream_index);
      write_packed_uint(tree_struct, stream->packed->len);
      write_byte_stream_structure(tree_struct, stream->first_substream);
    }
}
static void write_byte_stream_structure ( svn_stringbuf_t * tree_struct , svn_packed__byte_stream_t * stream ) { for ( ; stream ; stream = stream -> next ) { write_packed_uint ( tree_struct , 0 ) ; write_packed_uint ( tree_struct , stream -> lengths_stream_index ) ; write_packed_uint ( tree_struct , stream -> packed -> len ) ; write_byte_stream_structure ( tree_struct , stream -> first_substream ) ; } }
Recursively write the structure (sub-streams, data sizes) of the STREAM
 and all its siblings to the TREE_STRUCT buffer.
Recursively write the structure ( sub - streams data sizes ) of the STREAM and all its siblings to the TREE_STRUCT buffer .
/* for this and all siblings */ /* this stream's structure and size */ /* followed by all its sub-streams */