Commit 8d462beddfc88dfc20bf4269737031bad1ac376a

Baptiste 2024-08-08T16:18:49

passing test 07

diff --git a/http/http_event.h b/http/http_event.h
index 685080a..049d4ec 100644
--- a/http/http_event.h
+++ b/http/http_event.h
@@ -20,6 +20,7 @@ void           http_event_delete (struct event *ev);
 struct event * http_event_new (s32 fd, const s_list *events, const s_fn *fn,
                                s_tag *arg);
 
+/* Operators. */
 s32  http_event_add (struct event *ev, s_time *time);
 
 #endif /* HTTP_H */
diff --git a/lib/kc3/0.1/http/event.kc3 b/lib/kc3/0.1/http/event.kc3
index efa28d0..6922e28 100644
--- a/lib/kc3/0.1/http/event.kc3
+++ b/lib/kc3/0.1/http/event.kc3
@@ -1,5 +1,7 @@
 defmodule HTTP.Event do
 
+  dlopen(__DIR__ + "../http.so")
+
   def add = cfn S32 "http_event_add" (Ptr, Time)
 
   def del = cfn S32 "event_del" (Ptr)