about summary refs log tree commit diff stats
path: root/src/LYLocal.h
blob: 9a7fe2406151942621fb78b8dc91201e0ea58846 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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 */