aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/events.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/events.h')
-rw-r--r--protocols/events.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/events.h b/protocols/events.h
index 5b684f8c..a61dc98c 100644
--- a/protocols/events.h
+++ b/protocols/events.h
@@ -39,8 +39,8 @@
#include <gmodule.h>
typedef enum {
- GAIM_INPUT_READ = 1 << 0,
- GAIM_INPUT_WRITE = 1 << 1
+ GAIM_INPUT_READ = 1 << 1,
+ GAIM_INPUT_WRITE = 1 << 2
} b_input_condition;
typedef gboolean (*b_event_handler)(gpointer data, gint fd, b_input_condition cond);
@@ -48,8 +48,8 @@ typedef gboolean (*b_event_handler)(gpointer data, gint fd, b_input_condition co
#define GAIM_WRITE_COND (G_IO_OUT | G_IO_HUP | G_IO_ERR | G_IO_NVAL)
#define GAIM_ERR_COND (G_IO_HUP | G_IO_ERR | G_IO_NVAL)
-// #define event_debug( x... ) printf( x )
-#define event_debug( x... )
+#define event_debug( x... ) printf( x )
+// #define event_debug( x... )
G_MODULE_EXPORT void b_main_init();
G_MODULE_EXPORT void b_main_run();