FreeBSD/contrib/subversion/subversion/libsvn_subr/packed_data.c
/* Append all packed data in STREAM, its siblings and all sub-streams to
 * COMBINED.
 */
Append all packed data in STREAM, its siblings and all sub-streams to
COMBINED.
Append all packed data in STREAM its siblings and all sub - streams to COMBINED .
static void
append_int_stream(svn_packed__int_stream_t *stream,
                  svn_stringbuf_t *combined)
{
  packed_int_private_t *private_data = stream->private_data;
  if (private_data->packed)
    svn_stringbuf_appendstr(combined, private_data->packed);
  stream = private_data->first_substream;
  while (stream)
    {
      private_data = stream->private_data;
      append_int_stream(stream, combined);
      stream = private_data->is_last ? NULL : private_data->next;
    }
}
static void append_int_stream ( svn_packed__int_stream_t * stream , svn_stringbuf_t * combined ) { packed_int_private_t * private_data = stream -> private_data ; if ( private_data -> packed ) svn_stringbuf_appendstr ( combined , private_data -> packed ) ; stream = private_data -> first_substream ; while ( stream ) { private_data = stream -> private_data ; append_int_stream ( stream , combined ) ; stream = private_data -> is_last ? NULL : private_data -> next ; } }
Append all packed data in STREAM, its siblings and all sub-streams to
 COMBINED.
Append all packed data in STREAM its siblings and all sub - streams to COMBINED .