diff seobeo/seobeo_internal.h @ 66:a0f0ad5e42eb

[Misc] taking out capital P stuff.
author June Park <parkjune1995@gmail.com>
date Wed, 24 Dec 2025 06:34:19 -0800
parents ecb6ee6a22c3
children 6626ec933933
line wrap: on
line diff
--- a/seobeo/seobeo_internal.h	Wed Dec 24 06:22:59 2025 -0800
+++ b/seobeo/seobeo_internal.h	Wed Dec 24 06:34:19 2025 -0800
@@ -40,10 +40,10 @@
   char        *file_name;
 
   atomic_bool destroyed;
-} Sebeo_Handle, *Seobeo_PHandle;
+} Seobeo_Handle;
 
 typedef struct {
-  Seobeo_PHandle  srv;
+  Seobeo_Handle  *srv;
   Dowa_HashMap   *cache;
 } WorkerArgs;
 
@@ -56,10 +56,10 @@
 
 
 // --- Parse Header into Dowa Map ---//
-extern int            Seobeo_Web_Header_Parse(Seobeo_PHandle p_handle, Dowa_HashMap *map);
+extern int            Seobeo_Web_Header_Parse(Seobeo_Handle *p_handle, Dowa_HashMap *map);
 
 // --- Handle Request --- //
-extern void           Seobeo_Web_HandleClientRequest(Seobeo_PHandle cli, Dowa_HashMap *p_html_cache);
+extern void           Seobeo_Web_HandleClientRequest(Seobeo_Handle *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_HashMap *p_html_cache);
-extern void           Seobeo_Web_Edge_2(Seobeo_PHandle p_server_handle, Dowa_HashMap *p_html_cache);
+extern void           Seobeo_Web_Edge(Seobeo_Handle *p_server_handle, int thread_count, Dowa_HashMap *p_html_cache);
+extern void           Seobeo_Web_Edge_2(Seobeo_Handle *p_server_handle, Dowa_HashMap *p_html_cache);
 
 #endif