diff seobeo/os/s_linux_edge.c @ 65:ecb6ee6a22c3

[Misc] I will no longer drink cool aids of capital P.
author June Park <parkjune1995@gmail.com>
date Wed, 24 Dec 2025 06:22:59 -0800
parents ea9ef388ab97
children a0f0ad5e42eb
line wrap: on
line diff
--- a/seobeo/os/s_linux_edge.c	Tue Dec 23 15:18:46 2025 -0800
+++ b/seobeo/os/s_linux_edge.c	Wed Dec 24 06:22:59 2025 -0800
@@ -70,7 +70,7 @@
 void Seobeo_Web_Edge(
     Seobeo_PHandle p_server_handle,
     int thread_count,
-    Dowa_PHashMap p_html_cache)
+    Dowa_HashMap *p_html_cache)
 {
   pthread_attr_t attr;
   pthread_attr_init(&attr);
@@ -93,7 +93,7 @@
 }
 
 
-void Seobeo_Web_Edge_2(Seobeo_PHandle p_handle_server, Dowa_PHashMap cache)
+void Seobeo_Web_Edge_2(Seobeo_PHandle p_handle_server, Dowa_HashMap *cache)
 {
   const int MAX_EVENTS = 1024;
   struct epoll_event events[MAX_EVENTS];
@@ -117,7 +117,7 @@
     return;
   }
 
-  Dowa_PHashMap handles = Dowa_HashMap_Create(1024);
+  Dowa_HashMap *handles = Dowa_HashMap_Create(1024);
   snprintf(keybuf, sizeof(keybuf), "%d", p_handle_server->socket);
   Dowa_HashMap_Push_Value(handles, keybuf, p_handle_server, sizeof(p_handle_server));