about summary refs log blame commit diff stats
path: root/src/LYLocal.h
blob: 9a7fe2406151942621fb78b8dc91201e0ea58846 (plain) (tree)



































                                                                                
#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 */