Ticket #2028: fixed memory leak in mc_search__hex_translate_to_regex() function.
[kaloumi3.git] / lib / fileloc.h
blob0ff7f7baceaa355c9874a65e1bd95f33ae0b04b8
2 /** \file fileloc.h
3 * \brief Header: config files list
5 * This file defines the locations of the various user specific
6 * configuration files of the Midnight Commander. Historically the
7 * system wide and the user specific file names have not always been
8 * the same, so don't use these names for finding system wide
9 * configuration files.
11 * \todo This inconsistency should disappear in the one of the next versions (5.0?)
14 #ifndef MC_FILELOC_H
15 #define MC_FILELOC_H
17 #ifndef MC_USERCONF_DIR
18 #define MC_USERCONF_DIR ".mc"
19 #endif
22 #define TAGS_NAME "TAGS"
24 #define MC_GLOBAL_CONFIG_FILE "mc.lib"
25 #define MC_GLOBAL_MENU "mc.menu"
26 #define MC_LOCAL_MENU ".mc.menu"
27 #define MC_HINT "mc.hint"
28 #define GLOBAL_KEYMAP_FILE "mc.keymap"
29 #define CHARSETS_INDEX "mc.charsets"
30 #define MC_LIB_EXT "mc.ext"
32 #define MC_EXTFS_DIR "extfs.d"
34 #define MC_BASHRC_FILE "bashrc"
35 #define MC_CONFIG_FILE "ini"
36 #define MC_FILEBIND_FILE "bindings"
37 #define MC_FILEPOS_FILE "filepos"
38 #define MC_HISTORY_FILE "history"
39 #define MC_HOTLIST_FILE "hotlist"
40 #define MC_USERMENU_FILE "menu"
41 #define MC_TREESTORE_FILE "Tree"
42 #define MC_PANELS_FILE "panels.ini"
43 #define MC_FHL_INI_FILE "filehighlight.ini"
44 #define MC_SKINS_SUBDIR "skins"
46 /* editor home directory */
47 #define EDIT_DIR MC_USERCONF_DIR PATH_SEP_STR "cedit"
49 /* file names */
50 #define EDIT_SYNTAX_FILE EDIT_DIR PATH_SEP_STR "Syntax"
51 #define EDIT_CLIP_FILE EDIT_DIR PATH_SEP_STR "cooledit.clip"
52 #define EDIT_MACRO_FILE EDIT_DIR PATH_SEP_STR "cooledit.macros"
53 #define EDIT_BLOCK_FILE EDIT_DIR PATH_SEP_STR "cooledit.block"
54 #define EDIT_TEMP_FILE EDIT_DIR PATH_SEP_STR "cooledit.temp"
56 #define EDIT_GLOBAL_MENU "cedit.menu"
57 #define EDIT_LOCAL_MENU ".cedit.menu"
58 #define EDIT_HOME_MENU EDIT_DIR PATH_SEP_STR "menu"
60 #endif