Changeset 5ebff60 for lib/events.h


Ignore:
Timestamp:
2015-02-20T22:50:54Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
0b9daac, 3d45471, 7733b8c
Parents:
af359b4
git-author:
Indent <please@…> (19-02-15 05:47:20)
git-committer:
dequis <dx@…> (20-02-15 22:50:54)
Message:

Reindent everything to K&R style with tabs

Used uncrustify, with the configuration file in ./doc/uncrustify.cfg

Commit author set to "Indent <please@…>" so that it's easier to
skip while doing git blame.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/events.h

    raf359b4 r5ebff60  
    2626   This function (proxy_connect()) can be found in proxy.c. (It also
    2727   transparently handles HTTP/SOCKS proxies, when necessary.)
    28    
     28
    2929   This file offers some extra event handling toys, which will be handled
    3030   by GLib or libevent. The advantage of using libevent is that it can use
     
    4747typedef enum {
    4848        B_EV_IO_READ = 1 << 0,
    49         B_EV_IO_WRITE = 1 << 1,
    50         B_EV_FLAG_FORCE_ONCE = 1 << 16,
    51         B_EV_FLAG_FORCE_REPEAT = 1 << 17,
     49                B_EV_IO_WRITE = 1 << 1,
     50                B_EV_FLAG_FORCE_ONCE = 1 << 16,
     51                B_EV_FLAG_FORCE_REPEAT = 1 << 17,
    5252} b_input_condition;
    5353typedef gboolean (*b_event_handler)(gpointer data, gint fd, b_input_condition cond);
     
    5959
    6060/* #define event_debug( x... ) printf( x ) */
    61 #define event_debug( x... )
     61#define event_debug(x ...)
    6262
    6363/* Call this once when the program starts. It'll initialize the event handler
Note: See TracChangeset for help on using the changeset viewer.