FreeBSD/contrib/subversion/subversion/libsvn_fs_fs/temp_serializer.c
/* Serialize COUNT C-style strings from *STRINGS into CONTEXT. */
Serialize COUNT C-style strings from *STRINGS into CONTEXT.
Serialize COUNT C - style strings from * STRINGS into CONTEXT .
static void
serialize_cstring_array(svn_temp_serializer__context_t *context,
                        const char ***strings,
                        apr_size_t count)
{
  apr_size_t i;
  const char **entries = *strings;
  svn_temp_serializer__push(context,
                            (const void * const *)strings,
                            count * sizeof(const char*));
  for (i = 0; i < count; ++i)
    svn_temp_serializer__add_string(context, &entries[i]);
  svn_temp_serializer__pop(context);
}
static void serialize_cstring_array ( svn_temp_serializer__context_t * context , const char * * * strings , apr_size_t count ) { apr_size_t i ; const char * * entries = * strings ; svn_temp_serializer__push ( context , ( const void * const * ) strings , count * sizeof ( const char * ) ) ; for ( i = 0 ; i < count ; ++ i ) svn_temp_serializer__add_string ( context , & entries [ i ] ) ; svn_temp_serializer__pop ( context ) ; }
Serialize COUNT C-style strings from *STRINGS into CONTEXT.
Serialize COUNT C - style strings from * STRINGS into CONTEXT .
/* serialize COUNT entries pointers (the array) */ /* serialize array elements */