FreeBSD/contrib/subversion/subversion/libsvn_fs_x/low_level.c
/* Find entry HEADER_NAME in HEADERS and parse its value into *ID. */
Find entry HEADER_NAME in HEADERS and parse its value into *ID.
Find entry HEADER_NAME in HEADERS and parse its value into * ID .
static svn_error_t *
read_id_part(svn_fs_x__id_t *id,
             apr_hash_t *headers,
             const char *header_name)
{
  const char *value = svn_hash_gets(headers, header_name);
  if (value == NULL)
    return svn_error_createf(SVN_ERR_FS_CORRUPT, NULL,
                             _("Missing %s field in node-rev"),
                             header_name);
  SVN_ERR(svn_fs_x__id_parse(id, value));
  return SVN_NO_ERROR;
}
static svn_error_t * read_id_part ( svn_fs_x__id_t * id , apr_hash_t * headers , const char * header_name ) { const char * value = svn_hash_gets ( headers , header_name ) ; if ( value == NULL ) return svn_error_createf ( SVN_ERR_FS_CORRUPT , NULL , _ ( " " ) , header_name ) ; SVN_ERR ( svn_fs_x__id_parse ( id , value ) ) ; return SVN_NO_ERROR ; }
Find entry HEADER_NAME in HEADERS and parse its value into *ID.
Find entry HEADER_NAME in HEADERS and parse its value into * ID .