Changeset 782d988 for protocols/events.h


Ignore:
Timestamp:
2006-05-13T19:01:14Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
19ac9c5
Parents:
309cb9e
Message:

libevent code works better with epoll() now in some (pretty common) situations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/events.h

    r309cb9e r782d988  
    4040
    4141typedef enum {
    42         GAIM_INPUT_READ = 1 << 0,
    43         GAIM_INPUT_WRITE = 1 << 1
     42        GAIM_INPUT_READ = 1 << 1,
     43        GAIM_INPUT_WRITE = 1 << 2
    4444} b_input_condition;
    4545typedef gboolean (*b_event_handler)(gpointer data, gint fd, b_input_condition cond);
     
    4949#define GAIM_ERR_COND   (G_IO_HUP | G_IO_ERR | G_IO_NVAL)
    5050
    51 // #define event_debug( x... ) printf( x )
    52 #define event_debug( x... )
     51#define event_debug( x... ) printf( x )
     52// #define event_debug( x... )
    5353
    5454G_MODULE_EXPORT void b_main_init();
Note: See TracChangeset for help on using the changeset viewer.