File: search.h

package info (click to toggle)
swish-e 1.1-1
  • links: PTS
  • area: main
  • in suites: hamm, potato, slink
  • size: 380 kB
  • ctags: 340
  • sloc: ansic: 4,540; makefile: 77; sh: 12
file content (43 lines) | stat: -rwxr-xr-x 930 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
** Copyright (C) 1995, Enterprise Integration Technologies Corp.        
** All Rights Reserved.
** Kevin Hughes, kevinh@eit.com 
** 3/11/94
**
** Added getMetaName & isMetaName 
** to support METADATA
** G. Hill 3/18/97 ghill@library.berkeley.edu
*/

void search();
struct swline *fixnot();
struct swline *expandstar();
char *getmatchword();
void getheader();
void readoffsets();
void readstopwords();
void readfileoffsets();
void readMetaNames();
int getMetaName();
int countResults();
struct result *parseterm();
struct result *operate();
char *lookupfile();
struct result *getfileinfo();

int isrule();
int isbooleanrule();
int isunaryrule();
int isMetaName();
int getrulenum();

struct result *andresultlists();
struct result *orresultlists();
struct result *notresultlist();
struct result *addtoresultlist();

struct sortresult *addsortresult();
void printsortedresults();

void getrawindexline();
int isokindexheader();