Fix segfault on switch to subshell in mcedit/mcview/mcdiffview.
[midnight-commander.git] / src / usermenu.h
blobf689f16fda179e15c816f5d6eae5d5d76c45dd2e
1 /** \file usermenu.h
2 * \brief Header: user menu implementation
3 */
5 #ifndef MC__USERMENU_H
6 #define MC__USERMENU_H
8 #include "lib/global.h"
10 #include "src/editor/edit.h" /* WEdit */
12 /*** typedefs(not structures) and defined constants **********************************************/
14 /*** enums ***************************************************************************************/
16 /*** structures declarations (and typedefs of structures)*****************************************/
18 /*** global variables defined in .c file *********************************************************/
20 /*** declarations of public functions ************************************************************/
22 gboolean user_menu_cmd (const WEdit * edit_widget, const char *menu_file, int selected_entry);
23 char *expand_format (const WEdit * edit_widget, char c, gboolean do_quote);
24 int check_format_view (const char *);
25 int check_format_var (const char *, char **);
26 int check_format_cd (const char *);
28 /*** inline functions ****************************************************************************/
30 #endif /* MC__USERMENU_H */