root/lib/fileloc.h

/* [previous][next][first][last][top][bottom][index][help]  */

INCLUDED FROM


   1 /** \file  fileloc.h
   2  *  \brief Header: config files list
   3  *
   4  *  This file defines the locations of the various user specific
   5  *  configuration files of the Midnight Commander. Historically the
   6  *  system wide and the user specific file names have not always been
   7  *  the same, so don't use these names for finding system wide
   8  *  configuration files.
   9  *
  10  *  \todo This inconsistency should disappear in the one of the next versions (5.0?)
  11  */
  12 
  13 #ifndef MC_FILELOC_H
  14 #define MC_FILELOC_H
  15 
  16 /*** typedefs(not structures) and defined constants **********************************************/
  17 
  18 #ifndef MC_USERCONF_DIR
  19 #define MC_USERCONF_DIR         "mc"
  20 #endif
  21 
  22 #define TAGS_NAME               "TAGS"
  23 
  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                 "hints" PATH_SEP_STR "mc.hint"
  28 #define MC_HELP                 "help" PATH_SEP_STR "mc.hlp"
  29 #define GLOBAL_KEYMAP_FILE      "mc.keymap"
  30 #define CHARSETS_LIST           "mc.charsets"
  31 #define MC_LIB_EXT              "mc.ext"
  32 #define MC_MACRO_FILE           "mc.macros"
  33 
  34 #define FISH_PREFIX             "fish"
  35 
  36 #define FISH_LS_FILE            "ls"
  37 #define FISH_EXISTS_FILE        "fexists"
  38 #define FISH_MKDIR_FILE         "mkdir"
  39 #define FISH_UNLINK_FILE        "unlink"
  40 #define FISH_CHOWN_FILE         "chown"
  41 #define FISH_CHMOD_FILE         "chmod"
  42 #define FISH_UTIME_FILE         "utime"
  43 #define FISH_RMDIR_FILE         "rmdir"
  44 #define FISH_LN_FILE            "ln"
  45 #define FISH_MV_FILE            "mv"
  46 #define FISH_HARDLINK_FILE      "hardlink"
  47 #define FISH_GET_FILE           "get"
  48 #define FISH_SEND_FILE          "send"
  49 #define FISH_APPEND_FILE        "append"
  50 #define FISH_INFO_FILE          "info"
  51 
  52 #define MC_EXTFS_DIR            "extfs.d"
  53 
  54 #define MC_BASHRC_FILE          "bashrc"
  55 #define MC_CONFIG_FILE          "ini"
  56 #define MC_FILEBIND_FILE        "mc.ext"
  57 #define MC_FILEPOS_FILE         "filepos"
  58 #define MC_HISTORY_FILE         "history"
  59 #define MC_HOTLIST_FILE         "hotlist"
  60 #define MC_USERMENU_FILE        "menu"
  61 #define MC_TREESTORE_FILE       "Tree"
  62 #define MC_PANELS_FILE          "panels.ini"
  63 #define MC_FHL_INI_FILE         "filehighlight.ini"
  64 #define MC_SKINS_SUBDIR         "skins"
  65 
  66 /* editor home directory */
  67 #define EDIT_DIR                "mcedit"
  68 
  69 /* file names */
  70 #define MC_EXTMACRO_FILE        EDIT_DIR PATH_SEP_STR "macros.d" PATH_SEP_STR "macro"
  71 #define EDIT_SYNTAX_FILE        EDIT_DIR PATH_SEP_STR "Syntax"
  72 #define EDIT_CLIP_FILE          EDIT_DIR PATH_SEP_STR "mcedit.clip"
  73 #define EDIT_BLOCK_FILE         EDIT_DIR PATH_SEP_STR "mcedit.block"
  74 #define EDIT_TEMP_FILE          EDIT_DIR PATH_SEP_STR "mcedit.temp"
  75 
  76 #define EDIT_GLOBAL_MENU        "mcedit.menu"
  77 #define EDIT_LOCAL_MENU         ".cedit.menu"
  78 #define EDIT_HOME_MENU          EDIT_DIR PATH_SEP_STR "menu"
  79 
  80 /*** enums ***************************************************************************************/
  81 
  82 /*** structures declarations (and typedefs of structures)*****************************************/
  83 
  84 /*** global variables defined in .c file *********************************************************/
  85 
  86 /*** declarations of public functions ************************************************************/
  87 
  88 /*** inline functions ****************************************************************************/
  89 
  90 #endif

/* [previous][next][first][last][top][bottom][index][help]  */