d31976c59c
* ext.h (MC_USER_EXT): New name for the per-user extension file (this needs redoing to concatenate this + the system stuff instead of the overwrite stuff we have now). Now it is called the ~/.mc/ext-n
19 строки
414 B
C
19 строки
414 B
C
#ifndef __EXT_H
|
|
#define __EXT_H
|
|
|
|
char *regex_command (char *filename, char *action, char **drops, 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);
|
|
|
|
#ifdef OS2_NT
|
|
# define MC_USER_EXT "mc.ext"
|
|
# define MC_LIB_EXT "mc.ext"
|
|
#else
|
|
# define MC_USER_EXT ".mc/ext-n"
|
|
# define MC_LIB_EXT "mc.ext"
|
|
#endif
|
|
#endif
|