|
Data Structures |
struct | subscriber |
struct | event |
struct | event_table |
Defines |
#define | event_destroy(evt) |
#define | T_VETO(sig, params) if (((sig) vars_.s->cb) params ) break; |
#define | T_NORMAL(sig, params) ((sig) vars_.s->cb) params ; |
#define | event_trigger(ev, callback) |
#define | event_table_destroy(t) |
Typedefs |
typedef enum frequency_type | frequency_t |
typedef event | event_t |
Enumerations |
enum | frequency_type { FREQ_SECS,
FREQ_UPDATES
} |
Functions |
event * | event_new (const gchar *name) |
void | real_event_destroy (struct event *evt) |
| Destroy an event and free all associated memory.
|
void | event_add_subscriber (struct event *evt, GCallback cb, frequency_t t, guint32 interval) |
void | event_remove_subscriber (struct event *evt, GCallback cb) |
guint | event_subscriber_count (struct event *evt) |
gboolean | event_subscriber_active (struct event *evt) |
event_table * | event_table_new (void) |
void | real_event_table_destroy (struct event_table *t, gboolean cleanup) |
void | event_table_add_event (struct event_table *t, struct event *evt) |
void | event_table_remove_event (struct event_table *t, struct event *evt) |
void | event_table_remove_all (struct event_table *t) |