From c2ecaf87e462fd6600ce5ee6a29cb352de042714 Mon Sep 17 00:00:00 2001 From: Philip Wittamore Date: Wed, 24 Sep 2025 22:26:00 +0200 Subject: update --- src/LYLocal.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/LYLocal.h (limited to 'src/LYLocal.h') 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 +#include + +#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 */ -- cgit v1.2.3