4 Created: April 1995 by Philip Homburg <philip@f-mnx.phicoh.com>
6 Header file for an event mechanism.
8 Copyright 1995 Philip Homburg
11 #ifndef INET__GENERIC__EVENT_H
12 #define INET__GENERIC__EVENT_H
22 typedef void (*ev_func_t
) ARGS(( struct event
*ev
, union ev_arg eva
));
28 struct event
*ev_next
;
31 extern event_t
*ev_head
;
33 void ev_init
ARGS(( event_t
*ev
));
34 void ev_enqueue
ARGS(( event_t
*ev
, ev_func_t func
, ev_arg_t ev_arg
));
35 void ev_process
ARGS(( void ));
36 int ev_in_queue
ARGS(( event_t
*ev
));
38 #endif /* INET__GENERIC__EVENT_H */
41 * $PchId: event.h,v 1.5 2004/08/03 16:23:49 philip Exp $