Changeset ba9edaa for protocols/events.h
- Timestamp:
- 2006-05-10T17:34:46Z (19 years ago)
- Branches:
- master
- Children:
- 13cc96c
- Parents:
- 67b6766
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/events.h
r67b6766 rba9edaa 42 42 GAIM_INPUT_READ = 1 << 0, 43 43 GAIM_INPUT_WRITE = 1 << 1 44 } GaimInputCondition;45 typedef void (*GaimInputFunction)(gpointer, gint, GaimInputCondition);44 } b_input_condition; 45 typedef gboolean (*b_event_handler)(gpointer data, gint fd, b_input_condition cond); 46 46 47 47 #define GAIM_READ_COND (G_IO_IN | G_IO_HUP | G_IO_ERR) … … 49 49 #define GAIM_ERR_COND (G_IO_HUP | G_IO_ERR | G_IO_NVAL) 50 50 51 G_MODULE_EXPORT gint gaim_input_add(int fd, GaimInputCondition cond, GaimInputFunction func, gpointer data); 52 G_MODULE_EXPORT void gaim_input_remove(gint id); 51 G_MODULE_EXPORT void b_main_init(); 52 G_MODULE_EXPORT void b_main_run(); 53 G_MODULE_EXPORT void b_main_quit(); 53 54 54 G_MODULE_EXPORT gint bee_timeout_add(gint timeout, GaimInputFunction func, gpointer data, gint priority); 55 G_MODULE_EXPORT gint b_input_add(int fd, b_input_condition cond, b_event_handler func, gpointer data); 56 G_MODULE_EXPORT gint b_timeout_add(gint timeout, b_event_handler func, gpointer data); 57 G_MODULE_EXPORT void b_event_remove(gint id); 58 G_MODULE_EXPORT gboolean b_event_remove_by_data(gpointer data); 55 59 56 60 #endif /* _EVENTS_H_ */
Note: See TracChangeset
for help on using the changeset viewer.