14be06d050
* Added common functions for work with backups of main config files. * Fixed permissions of ~/.mc/ini; * Fixed permissions of ~/.mc/filepos * Fixed permissions of ~/.mc/hotlist * Fixed permissions of ~/.mc/Tree * Fixed ownership for ~/.mc/hotlist file * Changed definitions of config files. Now used constants from src/fileloc.h Also, added ability for change mc user home dir. Just type: {{{ make CFLAGS='-DMC_USERCONF_DIR=\".mc2\"' }}} And you will have different config files (very usefull for testing or development). Signed-off-by: Slava Zanko <slavazanko@gmail.com>
17 строки
320 B
C
17 строки
320 B
C
|
|
/** \file ext.h
|
|
* \brief Header: extension dependent execution
|
|
*/
|
|
|
|
#ifndef MC_EXT_H
|
|
#define MC_EXT_H
|
|
|
|
int regex_command (const char *filename, const char *action, int *move_dir);
|
|
|
|
/* Call it after the user has edited the mc.ext file,
|
|
* to flush the cached mc.ext file
|
|
*/
|
|
void flush_extension_file (void);
|
|
|
|
#endif
|