1 #ifndef LYSEARCH_H 2 #define LYSEARCH_H 3 4 #ifndef LYSTRUCTS_H 5 #include <LYStructs.h> 6 #endif /* LYSTRUCT_H */ 7 8 #ifdef __cplusplus 9 extern "C" { 10 #endif 11 extern BOOL textsearch(DocInfo *cur_doc, 12 bstring **prev_target, 13 int direction); 14 15 #define IN_FILE 1 16 #define IN_LINKS 2 17 18 #ifndef NOT_FOUND 19 #define NOT_FOUND 0 20 #endif /* NOT_FOUND */ 21 22 #ifdef __cplusplus 23 } 24 #endif 25 #endif /* LYSEARCH_H */ 26