Ticket #3760: Fix aborts of MSG_MOUSE_DOWN.
[midnight-commander.git] / lib / shell.h
blob9afcd900e563ade2950cd462abe5e7f92cedfe00
1 /** \file timer.h
2 * \brief Header: shell structure
3 */
5 #ifndef MC_SHELL_H
6 #define MC_SHELL_H
8 /*** typedefs(not structures) and defined constants **********************************************/
10 /*** enums ***************************************************************************************/
12 typedef enum
14 SHELL_NONE,
15 SHELL_SH,
16 SHELL_BASH,
17 SHELL_ASH_BUSYBOX, /* BusyBox default shell (ash) */
18 SHELL_DASH, /* Debian variant of ash */
19 SHELL_TCSH,
20 SHELL_ZSH,
21 SHELL_FISH
22 } shell_type_t;
24 /*** structures declarations (and typedefs of structures)*****************************************/
26 typedef struct
28 shell_type_t type;
29 const char *name;
30 char *path;
31 char *real_path;
32 } mc_shell_t;
34 /*** global variables defined in .c file *********************************************************/
36 /*** declarations of public functions ************************************************************/
38 void mc_shell_init (void);
39 void mc_shell_deinit (void);
41 /*** inline functions **************************************************/
43 #endif /* MC_SHELL_H */