root/lib/event/internal.h

/* [previous][next][first][last][top][bottom][index][help]  */

INCLUDED FROM


   1 #ifndef MC_EVENT_INTERNAL_H
   2 #define MC_EVENT_INTERNAL_H
   3 
   4 /*** typedefs(not structures) and defined constants ********************/
   5 
   6 /*** enums *************************************************************/
   7 
   8 /*** structures declarations (and typedefs of structures)***************/
   9 
  10 typedef struct mc_event_callback_struct
  11 {
  12     gpointer init_data;
  13     mc_event_callback_func_t callback;
  14 } mc_event_callback_t;
  15 
  16 /*** global variables defined in .c file *******************************/
  17 
  18 extern GTree *mc_event_grouplist;
  19 
  20 /*** declarations of public functions **********************************/
  21 
  22 GTree *mc_event_get_event_group_by_name (const gchar *event_group_name, gboolean create_new,
  23                                          GError **mcerror);
  24 GPtrArray *mc_event_get_event_by_name (GTree *event_group, const gchar *event_name,
  25                                        gboolean create_new, GError **mcerror);
  26 mc_event_callback_t *mc_event_is_callback_in_array (GPtrArray *callbacks,
  27                                                     mc_event_callback_func_t event_callback,
  28                                                     gpointer event_init_data);
  29 
  30 /*** inline functions ****************************************************************************/
  31 #endif

/* [previous][next][first][last][top][bottom][index][help]  */