summaryrefslogtreecommitdiffstats
path: root/src/LYLocal.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 */