1 |
/* |
2 |
** Copyright (C) 1995, 1996, 1997, 1998 Hewlett-Packard Company |
3 |
** Originally by Kevin Hughes, kev@kevcom.com, 3/11/94 |
4 |
** |
5 |
** This program and library is free software; you can redistribute it and/or |
6 |
** modify it under the terms of the GNU (Library) General Public License |
7 |
** as published by the Free Software Foundation; either version 2 |
8 |
** of the License, or 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 (Library) General Public License for more details. |
14 |
** |
15 |
** You should have received a copy of the GNU (Library) 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 |
|
20 |
|
21 |
unsigned hash (char *); |
22 |
unsigned numhash (int); |
23 |
unsigned bighash (char *); |
24 |
unsigned bignumhash (int); |
25 |
unsigned verybighash (char *); |
26 |
void addstophash (INDEXDATAHEADER *, char *); |
27 |
void addusehash (INDEXDATAHEADER *, char *); |
28 |
int isstopword (INDEXDATAHEADER *, char *); |
29 |
int isuseword (INDEXDATAHEADER *, char *); |
30 |
void addStopList (INDEXDATAHEADER *, char *); |
31 |
void freestophash (INDEXDATAHEADER *); |
32 |
void freeStopList (INDEXDATAHEADER *); |
33 |
void addbuzzwordhash (INDEXDATAHEADER *, char *); |
34 |
void freebuzzwordhash (INDEXDATAHEADER *); |
35 |
int isbuzzword (INDEXDATAHEADER *, char *); |
36 |
|