1 #ifndef LYLOCAL_H
2 #define LYLOCAL_H
3 
4 #include <HTUtils.h>
5 #include <LYStructs.h>
6 
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 #ifdef DIRED_SUPPORT
11 /* Special return code for LYMainLoop.c */
12 #define PERMIT_FORM_RESULT (-99)
13     extern int local_create(DocInfo *doc);
14     extern int local_modify(DocInfo *doc, char **newpath);
15     extern int local_remove(DocInfo *doc);
16 
17 #ifdef OK_INSTALL
18     extern BOOLEAN local_install(char *destpath, char *srcpath, char **newpath);
19 #endif
20 
21 /* MainLoop needs to know about this one for atexit cleanup */
22     extern void clear_tags(void);
23 
24     extern int dired_options(DocInfo *doc, char **newfile);
25     extern int local_dired(DocInfo *doc);
26     extern void add_menu_item(char *str);
27     extern void reset_dired_menu(void);
28     extern void showtags(HTList *tag);
29     extern void tagflag(int flag, int cur);
30 
31 #endif				/* DIRED_SUPPORT */
32 
33 #ifdef __cplusplus
34 }
35 #endif
36 #endif				/* LYLOCAL_H */
37