--- /dev/null
+/* event.c -- event management stuff
+ *
+ * author: hackbard@hackdaworld.dyndns.org
+ *
+ */
+
+#include "event.h"
+
+int event_init(t_ivac *ivac) {
+
+ puts("[ivac] event: initializing event system ...");
+
+ ivac->event.maxfd=0;
+
+ FD_ZERO(ivac->event.rfds);
+ FD_ZERO(ivac->event.rfds_c);
+ FD_ZERO(ivac->event.wfds);
+ FD_ZERO(ivac->event.wfds_c);
+
+ return SUCCESS;
+}