summaryrefslogtreecommitdiffstats
path: root/src/LYOptions.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 16:37:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 16:37:15 +0000
commitae5d181b854d3ccb373b6bc01b4869e44ff4d87a (patch)
tree91f59efb48c56a84cc798e012fccb667b63d3fee /src/LYOptions.h
parentInitial commit. (diff)
downloadlynx-ae5d181b854d3ccb373b6bc01b4869e44ff4d87a.tar.xz
lynx-ae5d181b854d3ccb373b6bc01b4869e44ff4d87a.zip
Adding upstream version 2.9.0dev.12.upstream/2.9.0dev.12upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/LYOptions.h')
-rw-r--r--src/LYOptions.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/LYOptions.h b/src/LYOptions.h
new file mode 100644
index 0000000..2811f2a
--- /dev/null
+++ b/src/LYOptions.h
@@ -0,0 +1,46 @@
+/* $LynxId: LYOptions.h,v 1.32 2017/01/01 01:51:23 tom Exp $ */
+#ifndef LYOPTIONS_H
+#define LYOPTIONS_H
+
+#include <LYStructs.h>
+#include <LYStrings.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+ extern BOOLEAN term_options; /* for LYgetstr() */
+
+ extern BOOLEAN LYCheckUserAgent(void);
+ extern void edit_bookmarks(void);
+ extern int popup_choice(int cur_choice,
+ int line,
+ int column,
+ STRING2PTR choices,
+ int length,
+ int disabled,
+ int mouse);
+
+#define LYChoosePopup(cur, line, column, choices, length, disabled, mouse) \
+ popup_choice(cur, line, column, (STRING2PTR) choices, length, disabled, mouse)
+
+#ifndef NO_OPTION_FORMS
+ extern void LYMenuVisitedLinks(FILE *fp0, int disable_all);
+ extern int postoptions(DocInfo *newdoc);
+#endif /* !NO_OPTION_FORMS */
+
+#ifndef NO_OPTION_MENU
+ extern void LYoptions(void);
+#endif /* !NO_OPTION_MENU */
+
+#ifdef USE_COLOR_STYLE
+ extern void build_lss_enum(HTList *);
+#endif
+
+#if defined(USE_COLOR_STYLE) && defined(LY_FIND_LEAKS)
+ extern void free_colorstyle_leaks(void);
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+#endif /* LYOPTIONS_H */