(decode_num): simplify expression.
[midnight-commander.git] / src / usermenu.h
blob014f1c7e497dc970bee8a584d16f987e9b3e3cfa
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"
9 #include "lib/widget.h"
11 /*** typedefs(not structures) and defined constants **********************************************/
13 /*** enums ***************************************************************************************/
15 /*** structures declarations (and typedefs of structures)*****************************************/
17 /*** global variables defined in .c file *********************************************************/
19 /*** declarations of public functions ************************************************************/
21 gboolean user_menu_cmd (const Widget * edit_widget, const char *menu_file, int selected_entry);
22 char *expand_format (const Widget * edit_widget, char c, gboolean do_quote);
23 int check_format_view (const char *p);
24 int check_format_var (const char *p, char **v);
25 int check_format_cd (const char *p);
27 /* --------------------------------------------------------------------------------------------- */
28 /*** inline functions ****************************************************************************/
29 /* --------------------------------------------------------------------------------------------- */
31 static inline void
32 user_file_menu_cmd (void)
34 (void) user_menu_cmd (NULL, NULL, -1);
37 /* --------------------------------------------------------------------------------------------- */
39 #endif /* MC__USERMENU_H */