index_writer.h (472B)
1 #ifndef GITOUT_WRITER_GOPHER_INDEX_WRITER_H_ 2 #define GITOUT_WRITER_GOPHER_INDEX_WRITER_H_ 3 4 #include "git/repo.h" 5 6 typedef struct GopherIndexWriter GopherIndexWriter; 7 8 GopherIndexWriter* gopher_indexwriter_create(); 9 void gopher_indexwriter_free(GopherIndexWriter* writer); 10 void gopher_indexwriter_begin(void* writer); 11 void gopher_indexwriter_add_repo(void* writer, GitRepo* repo); 12 void gopher_indexwriter_end(void* writer); 13 14 #endif // GITOUT_WRITER_GOPHER_INDEX_WRITER_H_