aboutsummaryrefslogtreecommitdiffstats
path: root/lib/events.h
diff options
context:
space:
mode:
authorIndent <please@skip.me>2015-02-19 02:47:20 -0300
committerdequis <dx@dxzone.com.ar>2015-02-20 19:50:54 -0300
commit5ebff60479fc7a9f7f50ac03b124c91d4e6ebe11 (patch)
tree9fc0d50cb1f4bc9768d9f00de94eafd876bb55b0 /lib/events.h
parentaf359b4316f9d392c6b752495a1b2ed631576ed8 (diff)
Reindent everything to K&R style with tabs
Used uncrustify, with the configuration file in ./doc/uncrustify.cfg Commit author set to "Indent <please@skip.me>" so that it's easier to skip while doing git blame.
Diffstat (limited to 'lib/events.h')
-rw-r--r--lib/events.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/events.h b/lib/events.h
index 0446aa0f..193065f9 100644
--- a/lib/events.h
+++ b/lib/events.h
@@ -25,7 +25,7 @@
ground and calls a callback function once the connection is ready to use.
This function (proxy_connect()) can be found in proxy.c. (It also
transparently handles HTTP/SOCKS proxies, when necessary.)
-
+
This file offers some extra event handling toys, which will be handled
by GLib or libevent. The advantage of using libevent is that it can use
more advanced I/O polling functions like epoll() in recent Linux
@@ -46,9 +46,9 @@
the given callback function. */
typedef enum {
B_EV_IO_READ = 1 << 0,
- B_EV_IO_WRITE = 1 << 1,
- B_EV_FLAG_FORCE_ONCE = 1 << 16,
- B_EV_FLAG_FORCE_REPEAT = 1 << 17,
+ B_EV_IO_WRITE = 1 << 1,
+ B_EV_FLAG_FORCE_ONCE = 1 << 16,
+ B_EV_FLAG_FORCE_REPEAT = 1 << 17,
} b_input_condition;
typedef gboolean (*b_event_handler)(gpointer data, gint fd, b_input_condition cond);
@@ -58,7 +58,7 @@ typedef gboolean (*b_event_handler)(gpointer data, gint fd, b_input_condition co
#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 ...)
/* Call this once when the program starts. It'll initialize the event handler
library (if necessary) and then return immediately. */