From ae5d181b854d3ccb373b6bc01b4869e44ff4d87a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 18:37:15 +0200 Subject: Adding upstream version 2.9.0dev.12. Signed-off-by: Daniel Baumann --- src/LYSearch.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/LYSearch.h (limited to 'src/LYSearch.h') 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 +#endif + +#ifndef LYSTRUCTS_H +#include +#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 */ -- cgit v1.2.3