
* 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>
18 строки
361 B
C
18 строки
361 B
C
|
|
/** \file user.h
|
|
* \brief Header: user menu implementation
|
|
*/
|
|
|
|
#ifndef MC_USER_H
|
|
#define MC_USER_H
|
|
|
|
#include "../edit/edit.h"
|
|
|
|
void user_menu_cmd (WEdit *edit_widget);
|
|
char *expand_format (WEdit *edit_widget, char c, int quote);
|
|
int check_format_view (const char *);
|
|
int check_format_var (const char *, char **);
|
|
int check_format_cd (const char *);
|
|
|
|
#endif
|