gitout

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

commit.h (560B)


      1 #ifndef GITOUT_WRITER_HTML_COMMIT_H_
      2 #define GITOUT_WRITER_HTML_COMMIT_H_
      3 
      4 #include "git/commit.h"
      5 #include "git/repo.h"
      6 
      7 typedef struct HtmlCommit HtmlCommit;
      8 
      9 HtmlCommit* html_commit_create(const GitRepo* repo,
     10                                const char* oid,
     11                                const char* title);
     12 void html_commit_free(HtmlCommit* commit);
     13 void html_commit_begin(HtmlCommit* commit);
     14 void html_commit_add_commit(HtmlCommit* commit, const GitCommit* git_commit);
     15 void html_commit_end(HtmlCommit* commit);
     16 
     17 #endif  // GITOUT_WRITER_HTML_COMMIT_H_