source: git/src/hash.h @ c34796a

RELEASE/1.0RELEASE/1.1RELEASE/1.2debug-cidebug-ci-sanitisersfaster-cavernlogstereowalls-datawalls-data-hanging-as-warning
Last change on this file since c34796a was 693388e, checked in by Olly Betts <olly@…>, 23 years ago

Factored hash_string into a separate source file.

Use a case sensitive hash function except for ini.c.

cavern: now pass prefix for leg to img library (img doesn't yet store
the prefix though).

extend: preserve the prefix on legs.

cavern: don't write equates or the fake legs inside fixsd-s into the
.3d file.

git-svn-id: file:///home/survex-svn/survex/trunk@1117 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

  • Property mode set to 100644
File size: 883 bytes
Line 
1/* hash.h */
2/* String hashing function */
3/* Copyright (C) 1995-2001 Olly Betts
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18 */
19
20extern int hash_string(const char *p);
21extern int hash_lc_string(const char *p);
Note: See TracBrowser for help on using the repository browser.