about summary refs log tree commit diff stats
path: root/src/LYSearch.h
blob: f9763301b9143a4bf07ce40a65caad9f7a761bfc (plain) (blame)
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
#ifndef LYSEARCH_H
#define LYSEARCH_H

#ifndef LYSTRUCTS_H
#include <LYStructs.h>
#endif /* LYSTRUCT_H */

#ifdef __cplusplus
extern "C" {
#endif
    extern BOOL textsearch(DocInfo *cur_doc,
			   char *prev_target,
			   int target_size,
			   int direction);

#define IN_FILE 1
#define IN_LINKS 2

#ifndef NOT_FOUND
#define NOT_FOUND 0
#endif				/* NOT_FOUND */

#ifdef __cplusplus
}
#endif
#endif				/* LYSEARCH_H */