comparison 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
comparison
equal deleted inserted replaced
65:ecb6ee6a22c3 66:a0f0ad5e42eb
38 void *file; 38 void *file;
39 void *text_copy; 39 void *text_copy;
40 char *file_name; 40 char *file_name;
41 41
42 atomic_bool destroyed; 42 atomic_bool destroyed;
43 } Sebeo_Handle, *Seobeo_PHandle; 43 } Seobeo_Handle;
44 44
45 typedef struct { 45 typedef struct {
46 Seobeo_PHandle srv; 46 Seobeo_Handle *srv;
47 Dowa_HashMap *cache; 47 Dowa_HashMap *cache;
48 } WorkerArgs; 48 } WorkerArgs;
49 49
50 typedef enum { 50 typedef enum {
51 SEOBEO_MODE_FORK, 51 SEOBEO_MODE_FORK,
54 54
55 55
56 56
57 57
58 // --- Parse Header into Dowa Map ---// 58 // --- Parse Header into Dowa Map ---//
59 extern int Seobeo_Web_Header_Parse(Seobeo_PHandle p_handle, Dowa_HashMap *map); 59 extern int Seobeo_Web_Header_Parse(Seobeo_Handle *p_handle, Dowa_HashMap *map);
60 60
61 // --- Handle Request --- // 61 // --- Handle Request --- //
62 extern void Seobeo_Web_HandleClientRequest(Seobeo_PHandle cli, Dowa_HashMap *p_html_cache); 62 extern void Seobeo_Web_HandleClientRequest(Seobeo_Handle *cli, Dowa_HashMap *p_html_cache);
63 63
64 // --- SSL --- // 64 // --- SSL --- //
65 extern void Seobeo_Web_SSL_Init(); 65 extern void Seobeo_Web_SSL_Init();
66 extern void Seobeo_Web_SSL_Cleanup(); // Not used 66 extern void Seobeo_Web_SSL_Cleanup(); // Not used
67 67
68 // --- Serving using Edge --- // 68 // --- Serving using Edge --- //
69 extern void *Seobeo_Web_Edge_Worker(void *vargs); 69 extern void *Seobeo_Web_Edge_Worker(void *vargs);
70 extern void Seobeo_Web_Edge(Seobeo_PHandle p_server_handle, int thread_count, Dowa_HashMap *p_html_cache); 70 extern void Seobeo_Web_Edge(Seobeo_Handle *p_server_handle, int thread_count, Dowa_HashMap *p_html_cache);
71 extern void Seobeo_Web_Edge_2(Seobeo_PHandle p_server_handle, Dowa_HashMap *p_html_cache); 71 extern void Seobeo_Web_Edge_2(Seobeo_Handle *p_server_handle, Dowa_HashMap *p_html_cache);
72 72
73 #endif 73 #endif
74 74