comparison seobeo/seobeo_internal.h @ 132:7a63e41a21fb

[Seobeo] Added debug targets.
author June Park <parkjune1995@gmail.com>
date Fri, 09 Jan 2026 08:23:54 -0800
parents f236c895604e
children 71ad34a8bc9a a8976a008a9d
comparison
equal deleted inserted replaced
131:b230a743a01e 132:7a63e41a21fb
48 char *file_name; 48 char *file_name;
49 49
50 atomic_bool destroyed; 50 atomic_bool destroyed;
51 } Seobeo_Handle; 51 } Seobeo_Handle;
52 52
53 // HTML cache type: maps file paths (char*) to file contents (char*) 53 // Cached file entry with content and size (for binary file support)
54 typedef Dowa_KV(char*, char*) Seobeo_Cache_Entry; 54 typedef struct {
55 char *content;
56 size_t size;
57 } Seobeo_Cached_File;
58
59 // HTML cache type: maps file paths (char*) to cached file entries (Seobeo_Cached_File*)
60 typedef Dowa_KV(char*, Seobeo_Cached_File*) Seobeo_Cache_Entry;
55 61
56 typedef struct { 62 typedef struct {
57 Seobeo_Handle *srv; 63 Seobeo_Handle *srv;
58 Seobeo_Cache_Entry *cache; 64 Seobeo_Cache_Entry *cache;
59 } WorkerArgs; 65 } WorkerArgs;