aboutsummaryrefslogtreecommitdiff
path: root/src/LuaEngine/LuaEngine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/LuaEngine/LuaEngine.h')
-rw-r--r--src/LuaEngine/LuaEngine.h15
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