diff options
| author | frosty <frostinator33@airmail.cc> | 2026-10-06 10:11:38 -0400 |
|---|---|---|
| committer | frosty <frostinator33@airmail.cc> | 2026-10-06 10:11:38 -0400 |
| commit | 99e1103b79b50b92a7784d4c538230f22e724f99 (patch) | |
| tree | 115d9145e9ac593f03da81a659f3a9cbb8acd88e /src/LuaEngine/LuaEngine.h | |
| parent | 65500761a632d22057d3b3e709b91dde168e125b (diff) | |
Diffstat (limited to 'src/LuaEngine/LuaEngine.h')
| -rw-r--r-- | src/LuaEngine/LuaEngine.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/LuaEngine/LuaEngine.h b/src/LuaEngine/LuaEngine.h index bd035b9..2a5eea4 100644 --- a/src/LuaEngine/LuaEngine.h +++ b/src/LuaEngine/LuaEngine.h @@ -3,6 +3,19 @@ #include <libxml/HTMLparser.h> -int process_html_document(htmlDocPtr document, const char *input_path); +typedef struct { + char *path; + htmlDocPtr document; +} EmittedPage; + +typedef struct { + EmittedPage *items; + size_t length; + size_t capacity; +} EmitList; + +int process_html_document(htmlDocPtr document, const char *input_path, + EmitList *emits); +void emit_list_free(EmitList *emits); #endif |
