summaryrefslogtreecommitdiffstats
path: root/src/LYLocal.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/LYLocal.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/LYLocal.h')
-rw-r--r--src/LYLocal.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/LYLocal.h b/src/LYLocal.h
new file mode 100644
index 0000000..9a7fe24
--- /dev/null
+++ b/src/LYLocal.h
@@ -0,0 +1,36 @@
+#ifndef LYLOCAL_H
+#define LYLOCAL_H
+
+#include <HTUtils.h>
+#include <LYStructs.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+#ifdef DIRED_SUPPORT
+/* Special return code for LYMainLoop.c */
+#define PERMIT_FORM_RESULT (-99)
+ extern int local_create(DocInfo *doc);
+ extern int local_modify(DocInfo *doc, char **newpath);
+ extern int local_remove(DocInfo *doc);
+
+#ifdef OK_INSTALL
+ extern BOOLEAN local_install(char *destpath, char *srcpath, char **newpath);
+#endif
+
+/* MainLoop needs to know about this one for atexit cleanup */
+ extern void clear_tags(void);
+
+ extern int dired_options(DocInfo *doc, char **newfile);
+ extern int local_dired(DocInfo *doc);
+ extern void add_menu_item(char *str);
+ extern void reset_dired_menu(void);
+ extern void showtags(HTList *tag);
+ extern void tagflag(int flag, int cur);
+
+#endif /* DIRED_SUPPORT */
+
+#ifdef __cplusplus
+}
+#endif
+#endif /* LYLOCAL_H */