ioloop-internal.h revision 797de45dcf6e24642ab347d5033beb92034b779d
#ifndef __IOLOOP_INTERNAL_H
#define __IOLOOP_INTERNAL_H
#include "ioloop.h"
struct ioloop {
struct ioloop_handler_context *handler_context;
unsigned int running:1;
};
struct io {
int fd;
enum io_condition condition;
void *context;
int notify_context;
};
struct timeout {
unsigned int msecs;
unsigned int run_now:1;
unsigned int destroyed:1;
void *context;
};
/* call only when timeout->destroyed is TRUE */
/* I/O handler calls */
enum io_condition condition,
#endif