00001 #ifndef __SF_EVENTQ_H__ 00002 #define __SF_EVENTQ_H__ 00003 00004 void *sfeventq_event_alloc(void); 00005 void sfeventq_reset(void); 00006 int sfeventq_add(void *event); 00007 int sfeventq_action(int (*action_func)(void *event, void *user), void *user); 00008 int sfeventq_init(int max_nodes, int log_nodes, int event_size, 00009 int (*sort)(void *, void *)); 00010 00011 #endif