page.h (480B)
1 #ifndef GITOUT_WRITER_HTML_PAGE_H_ 2 #define GITOUT_WRITER_HTML_PAGE_H_ 3 4 #include <stdio.h> 5 6 #include "git/repo.h" 7 8 typedef struct HtmlPage HtmlPage; 9 10 HtmlPage* html_page_create(FILE* out, 11 const GitRepo* repo, 12 const char* title, 13 const char* relpath); 14 void html_page_free(HtmlPage* page); 15 void html_page_begin(HtmlPage* page); 16 void html_page_end(HtmlPage* page); 17 18 #endif // GITOUT_WRITER_HTML_PAGE_H_