1
1
mc/src/ext.h
Slava Zanko 14be06d050 Reorganize work with files. Fixed permissions of files in mc home dir. All file names now accumulated into src/fileloc.h
* 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>
2009-10-07 12:01:05 +03:00

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