gitout

A static git page generator
git clone https://git.bracken.jp/gitout.git
Log | Files | Refs | Submodules | README | LICENSE

page.h (518B)


      1 #ifndef GITOUT_WRITER_GOPHER_PAGE_H_
      2 #define GITOUT_WRITER_GOPHER_PAGE_H_
      3 
      4 #include <stdio.h>
      5 
      6 #include "git/repo.h"
      7 
      8 typedef struct GopherPage GopherPage;
      9 
     10 GopherPage* gopher_page_create(FILE* out,
     11                                const GitRepo* repo,
     12                                const char* title,
     13                                const char* relpath);
     14 void gopher_page_free(GopherPage* page);
     15 void gopher_page_begin(GopherPage* page);
     16 void gopher_page_end(GopherPage* page);
     17 
     18 #endif  // GITOUT_WRITER_GOPHER_PAGE_H_