gout

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

page.h (584B)


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