gitout

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

repo_index.h (544B)


      1 #ifndef GITOUT_WRITER_HTML_REPOINDEX_H_
      2 #define GITOUT_WRITER_HTML_REPOINDEX_H_
      3 
      4 #include "git/repo.h"
      5 
      6 #include <stdio.h>
      7 
      8 typedef struct HtmlRepoIndex HtmlRepoIndex;
      9 
     10 HtmlRepoIndex* html_repoindex_create(FILE* out);
     11 void html_repoindex_free(HtmlRepoIndex* index);
     12 void html_repoindex_set_me_url(HtmlRepoIndex* index, const char* url);
     13 void html_repoindex_begin(HtmlRepoIndex* index);
     14 void html_repoindex_add_repo(HtmlRepoIndex* index, GitRepo* repo);
     15 void html_repoindex_end(HtmlRepoIndex* index);
     16 
     17 #endif  // GITOUT_WRITER_HTML_REPOINDEX_H_