ioloop-internal.h revision 007d354a674fb3ddf49db160cf050cf61270a1a0
#ifndef __IOLOOP_INTERNAL_H
#define __IOLOOP_INTERNAL_H
#include "ioloop.h"
struct ioloop {
int highest_fd;
struct ioloop_handler_data *handler_data;
unsigned int running:1;
};
struct io {
int fd;
int condition;
unsigned int destroyed:1;
void *context;
};
struct timeout {
unsigned int msecs;
unsigned int run_now:1;
unsigned int destroyed:1;
void *context;
};
/* call only when io->destroyed is TRUE */
/* call only when timeout->destroyed is TRUE */
/* I/O handler calls */
#endif