gout

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

refs.h (455B)


      1 #ifndef GOUT_WRITER_HTML_REFS_H_
      2 #define GOUT_WRITER_HTML_REFS_H_
      3 
      4 #include "git/reference.h"
      5 #include "git/repo.h"
      6 #include "utils.h"
      7 
      8 typedef struct HtmlRefs HtmlRefs;
      9 
     10 HtmlRefs* html_refs_create(const GitRepo* repo, const FileSystem* fs);
     11 void html_refs_free(HtmlRefs* refs);
     12 void html_refs_begin(HtmlRefs* refs);
     13 void html_refs_add_ref(HtmlRefs* refs, const GitReference* ref);
     14 void html_refs_end(HtmlRefs* refs);
     15 
     16 #endif  // GOUT_WRITER_HTML_REFS_H_