aboutsummaryrefslogtreecommitdiffstats
path: root/lib/events.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2009-10-11 00:25:54 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2009-10-11 00:25:54 +0100
commite046390da36e369c94af607fdedfe7b9f99d9e47 (patch)
tree7955564156898b8ca738c383ae561f91cc347f17 /lib/events.h
parent0cbef26bd1f82787a8107e92b14839a59187e0c2 (diff)
Make purple use BitlBee's event handling API. Since the APIs never really
diverged too much this is fairly transparent. I did rename and redefine GAIM_INPUT_* variables to really make it work without adding another stupid layer in between. One problem left, the new libpurple input API doesn't care about return values. Fixing that in the next CL.
Diffstat (limited to 'lib/events.h')
-rw-r--r--lib/events.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/events.h b/lib/events.h
index 4baea7b6..5bf2cfd8 100644
--- a/lib/events.h
+++ b/lib/events.h
@@ -47,8 +47,8 @@
/* The conditions you can pass to b_input_add()/that will be passed to
the given callback function. */
typedef enum {
- GAIM_INPUT_READ = 1 << 1,
- GAIM_INPUT_WRITE = 1 << 2
+ B_EV_IO_READ = 1 << 0,
+ B_EV_IO_WRITE = 1 << 1
} b_input_condition;
typedef gboolean (*b_event_handler)(gpointer data, gint fd, b_input_condition cond);