refactor: change project structure

This commit is contained in:
2025-10-26 17:51:41 +01:00
parent 33a12aaf73
commit 0293b0f5c0
25 changed files with 585 additions and 555 deletions

13
include/http/mime.h Normal file
View File

@@ -0,0 +1,13 @@
#ifndef CWS_MIME_H
#define CWS_MIME_H
#define ARR_SIZE(arr) (sizeof(arr) / sizeof(arr[0]))
typedef struct mimetype {
const char *ext;
const char *type;
} mimetype;
int http_get_content_type(char *location_path, char *content_type);
#endif