Mercurial
comparison seobeo/seobeo.h @ 78:e7bf9e002850
amend
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Wed, 31 Dec 2025 15:07:43 -0800 |
| parents | c348ac875294 |
| children | 5710108c949e |
comparison
equal
deleted
inserted
replaced
| 77:c348ac875294 | 78:e7bf9e002850 |
|---|---|
| 72 extern void Seobeo_Router_Destroy(); | 72 extern void Seobeo_Router_Destroy(); |
| 73 /* Find matching route handler (internal use) */ | 73 /* Find matching route handler (internal use) */ |
| 74 extern Seobeo_Route_Handler Seobeo_Router_Find_Handler(const char *method, const char *path, Seobeo_Request_Entry **pp_request_map, Dowa_Arena *p_arena); | 74 extern Seobeo_Route_Handler Seobeo_Router_Find_Handler(const char *method, const char *path, Seobeo_Request_Entry **pp_request_map, Dowa_Arena *p_arena); |
| 75 /* Send HTTP response from response map (internal use) */ | 75 /* Send HTTP response from response map (internal use) */ |
| 76 extern void Seobeo_Router_Send_Response(Seobeo_Handle *p_handle, Seobeo_Request_Entry *p_response_map, Dowa_Arena *p_arena); | 76 extern void Seobeo_Router_Send_Response(Seobeo_Handle *p_handle, Seobeo_Request_Entry *p_response_map, Dowa_Arena *p_arena); |
| 77 extern char *Seobeo_Web_LoadFile(const char *file_path, size_t *p_file_size) | 77 extern char *Seobeo_Web_LoadFile(const char *file_path, size_t *p_file_size); |
| 78 | 78 |
| 79 // --- Helper functions --- // | 79 // --- Helper functions --- // |
| 80 /* Destroy handle. It will handle all NULL poointers. */ | 80 /* Destroy handle. It will handle all NULL poointers. */ |
| 81 extern void Seobeo_Handle_Destroy(Seobeo_Handle *p_handle); | 81 extern void Seobeo_Handle_Destroy(Seobeo_Handle *p_handle); |
| 82 /* Write to socket from write_buffer in the handle. */ | 82 /* Write to socket from write_buffer in the handle. */ |