Last change
on this file since 4 was 4, checked in by sjboddie, 25 years ago |
Initial revision
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
769 bytes
|
Line | |
---|
1 | #ifdef __cplusplus
|
---|
2 | extern "C" {
|
---|
3 | #endif
|
---|
4 |
|
---|
5 | enum result_kinds {
|
---|
6 | result_docs, /* Return the documents found in last search */
|
---|
7 | result_docnums, /* Return document id numbers and weights */
|
---|
8 | result_termfreqs, /* Return terms and frequencies */
|
---|
9 | result_terms /* Return matching query terms */
|
---|
10 | };
|
---|
11 |
|
---|
12 | int mgq_ask(char *line);
|
---|
13 | int mgq_results(enum result_kinds kind,int skip, int howmany, int (*sender)(char *, int, int, float, void *), void *ptr);
|
---|
14 | int mgq_numdocs(void);
|
---|
15 | int mgq_numterms(void);
|
---|
16 | int load_database(char *mgdir, char *gensuffix, char *textsuffix);
|
---|
17 |
|
---|
18 | /* this will equal "" when a database is not loaded */
|
---|
19 | /* if a database is loaded it will equal its gensuffix */
|
---|
20 | extern char db_loaded_name[256];
|
---|
21 |
|
---|
22 |
|
---|
23 | #ifdef __cplusplus
|
---|
24 | }
|
---|
25 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.