FreeBSD/contrib/subversion/subversion/libsvn_fs_fs/temp_serializer.c
/* Utility function to serialize change CHANGE_P in the given serialization
 * CONTEXT.
 */
Utility function to serialize change CHANGE_P in the given serialization
CONTEXT.
Utility function to serialize change CHANGE_P in the given serialization CONTEXT .
static void
serialize_change(svn_temp_serializer__context_t *context,
                 change_t * const *change_p)
{
  const change_t * change = *change_p;
  if (change == NULL)
    return;
  svn_temp_serializer__push(context,
                            (const void * const *)change_p,
                            sizeof(*change));
  svn_fs_fs__id_serialize(context, &change->info.node_rev_id);
  svn_temp_serializer__add_string(context, &change->path.data);
  svn_temp_serializer__add_string(context, &change->info.copyfrom_path);
  svn_temp_serializer__pop(context);
}
static void serialize_change ( svn_temp_serializer__context_t * context , change_t * const * change_p ) { const change_t * change = * change_p ; if ( change == NULL ) return ; svn_temp_serializer__push ( context , ( const void * const * ) change_p , sizeof ( * change ) ) ; svn_fs_fs__id_serialize ( context , & change -> info . node_rev_id ) ; svn_temp_serializer__add_string ( context , & change -> path . data ) ; svn_temp_serializer__add_string ( context , & change -> info . copyfrom_path ) ; svn_temp_serializer__pop ( context ) ; }
Utility function to serialize change CHANGE_P in the given serialization
 CONTEXT.
Utility function to serialize change CHANGE_P in the given serialization CONTEXT .
/* serialize the change struct itself */ /* serialize sub-structures */ /* return to the caller's nesting level */