#ifndef YAPSSG_LUA_ENGINE_H #define YAPSSG_LUA_ENGINE_H #include 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