FreeBSD/contrib/subversion/subversion/libsvn_fs_fs/id.c
/* Parse the transaction id in DATA and store the result in *TXN_ID.
 * Return FALSE if there was some problem.
 */
Parse the transaction id in DATA and store the result in *TXN_ID.
Return FALSE if there was some problem.
Parse the transaction id in DATA and store the result in * TXN_ID . Return FALSE if there was some problem .
static svn_boolean_t
txn_id_parse(svn_fs_fs__id_part_t *txn_id,
             const char *data)
{
  const char *end;
  if (!locale_independent_strtol(&txn_id->revision, data, &end))
    return FALSE;
  data = end;
  if (*data != '-')
    return FALSE;
  ++data;
  txn_id->number = svn__base36toui64(&data, data);
  return *data == '\0';
}
static svn_boolean_t txn_id_parse ( svn_fs_fs__id_part_t * txn_id , const char * data ) { const char * end ; if ( ! locale_independent_strtol ( & txn_id -> revision , data , & end ) ) return FALSE ; data = end ; if ( * data != ' ' ) return FALSE ; ++ data ; txn_id -> number = svn__base36toui64 ( & data , data ) ; return * data == ' \0 ' ; }
Parse the transaction id in DATA and store the result in *TXN_ID.
Parse the transaction id in DATA and store the result in * TXN_ID .