summaryrefslogtreecommitdiffstats
path: root/src/LYSearch.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:12:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 01:12:14 +0000
commit982972c2aada53f83389987317fb6cbee9ce5a91 (patch)
tree25420c3b905b2e00f02a895d877fd0669025ee35 /src/LYSearch.h
parentInitial commit. (diff)
downloadlynx-982972c2aada53f83389987317fb6cbee9ce5a91.tar.xz
lynx-982972c2aada53f83389987317fb6cbee9ce5a91.zip
Adding upstream version 2.8.9rel.1.upstream/2.8.9rel.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/LYSearch.h')
-rw-r--r--src/LYSearch.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/LYSearch.h b/src/LYSearch.h
new file mode 100644
index 0000000..17fd5dd
--- /dev/null
+++ b/src/LYSearch.h
@@ -0,0 +1,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 */