* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: eventl.h,v 1.5 2005-03-01 20:37:01 adam Exp $
+ * $Id: eventl.h,v 1.9 2007-11-12 08:41:56 adam Exp $
*/
/**
#define EVENT_OUTPUT 0x02
#define EVENT_EXCEPT 0x04
#define EVENT_TIMEOUT 0x08
-#define EVENT_WORK 0x10
int force_event;
IOC_CALLBACK fun;
void *data;
#define iochan_settimeout(i, t) ((i)->max_idle = (t), (i)->last_event = time(0))
IOCHAN iochan_create(int fd, IOC_CALLBACK cb, int flags, int port);
-int event_loop(IOCHAN *iochans);
+int iochan_is_alive(IOCHAN chan);
+int iochan_event_loop(IOCHAN *iochans);
void statserv_remove (IOCHAN pIOChannel);
#endif
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+