Ticket #2769: crash on compare files if one panel is not in the listing mode.
[midnight-commander.git] / lib / event / internal.h
blobb6d45b498a7fb7b3c665399b72f23c45a5069fb2
1 #ifndef MC_EVENT_INTERNAL_H
2 #define MC_EVENT_INTERNAL_H
4 /*** typedefs(not structures) and defined constants ********************/
6 /*** enums *************************************************************/
8 /*** structures declarations (and typedefs of structures)***************/
10 typedef struct mc_event_callback_struct
12 gpointer init_data;
13 mc_event_callback_func_t callback;
14 } mc_event_callback_t;
17 /*** global variables defined in .c file *******************************/
19 extern GTree *mc_event_grouplist;
21 /*** declarations of public functions **********************************/
23 GTree *mc_event_get_event_group_by_name (const gchar * event_group_name, gboolean create_new,
24 GError ** mcerror);
25 GPtrArray *mc_event_get_event_by_name (GTree * event_group, const gchar * event_name,
26 gboolean create_new, GError ** mcerror);
27 mc_event_callback_t *mc_event_is_callback_in_array (GPtrArray * callbacks,
28 mc_event_callback_func_t event_callback, gpointer event_init_data);
30 /*** inline functions ****************************************************************************/
31 #endif /* MC_EVENT_INTERNAL_H */