diff seobeo/seobeo_internal.h @ 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 a30944e5719e
children a0f0ad5e42eb
line wrap: on
line diff
--- a/seobeo/seobeo_internal.h	Tue Dec 23 15:18:46 2025 -0800
+++ b/seobeo/seobeo_internal.h	Wed Dec 24 06:22:59 2025 -0800
@@ -44,7 +44,7 @@
 
 typedef struct {
   Seobeo_PHandle  srv;
-  Dowa_PHashMap   cache;
+  Dowa_HashMap   *cache;
 } WorkerArgs;
 
 typedef enum {
@@ -56,10 +56,10 @@
 
 
 // --- Parse Header into Dowa Map ---//
-extern int            Seobeo_Web_Header_Parse(Seobeo_PHandle p_handle, Dowa_PHashMap map);
+extern int            Seobeo_Web_Header_Parse(Seobeo_PHandle p_handle, Dowa_HashMap *map);
 
 // --- Handle Request --- //
-extern void           Seobeo_Web_HandleClientRequest(Seobeo_PHandle cli, Dowa_PHashMap p_html_cache);
+extern void           Seobeo_Web_HandleClientRequest(Seobeo_PHandle cli, Dowa_HashMap *p_html_cache);
 
 // --- SSL --- //
 extern void           Seobeo_Web_SSL_Init();
@@ -67,8 +67,8 @@
 
 // --- Serving using Edge --- //
 extern void          *Seobeo_Web_Edge_Worker(void *vargs); 
-extern void           Seobeo_Web_Edge(Seobeo_PHandle p_server_handle, int thread_count, Dowa_PHashMap p_html_cache);
-extern void           Seobeo_Web_Edge_2(Seobeo_PHandle p_server_handle, Dowa_PHashMap p_html_cache);
+extern void           Seobeo_Web_Edge(Seobeo_PHandle p_server_handle, int thread_count, Dowa_HashMap *p_html_cache);
+extern void           Seobeo_Web_Edge_2(Seobeo_PHandle p_server_handle, Dowa_HashMap *p_html_cache);
 
 #endif