Mercurial
diff seobeo/s_web.c @ 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/s_web.c Wed Dec 24 06:22:59 2025 -0800 +++ b/seobeo/s_web.c Wed Dec 24 06:34:19 2025 -0800 @@ -55,7 +55,7 @@ ); } -void Seobeo_Web_HandleClientRequest(Seobeo_PHandle p_cli_handle, +void Seobeo_Web_HandleClientRequest(Seobeo_Handle *p_cli_handle, Dowa_HashMap *p_html_cache) { printf("p_cli_handle: %p", p_cli_handle); @@ -260,7 +260,7 @@ } -int Seobeo_Web_Header_Parse(Seobeo_PHandle p_handle, Dowa_HashMap *map) +int Seobeo_Web_Header_Parse(Seobeo_Handle *p_handle, Dowa_HashMap *map) { // 1) Fill read_buffer until we see "\r\n\r\n" while (1) @@ -469,7 +469,7 @@ return -1; } - Seobeo_PHandle p_server_handle = + Seobeo_Handle *p_server_handle = Seobeo_Stream_Handle_Server_Create(NULL, port); if (p_server_handle->socket < 0) return 1; @@ -487,7 +487,7 @@ while (1) { - Seobeo_PHandle p_cli_handle = + Seobeo_Handle *p_cli_handle = Seobeo_Stream_Handle_Server_Accept(p_server_handle); if (!p_cli_handle) continue; @@ -514,7 +514,7 @@ const char *port, const char *path) { - Seobeo_PHandle h = Seobeo_Stream_Handle_Client_Create(host, port, TRUE); + Seobeo_Handle *h = Seobeo_Stream_Handle_Client_Create(host, port, TRUE); if (!h || h->socket < 0) { if (h)