about summary refs log tree commit diff stats
path: root/src/LYSearch.h
blob: 17fd5ddabf0f4b6bc38332e70b232c226d5f7061 (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
27
28
29
30
31
32
33
/*
 * $LynxId: LYSearch.h,v 1.12 2013/10/03 11:24:06 tom Exp $
 */
#ifndef LYSEARCH_H
#define LYSEARCH_H

#ifndef HTFORMS_H
#include <HTForms.h>
#endif

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

#ifdef __cplusplus
extern "C" {
#endif
    extern BOOL field_has_target(FormInfo * field, const char *target);
    extern BOOL textsearch(DocInfo *cur_doc,
			   bstring **prev_target,
			   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 */