-rw-r--r-- | cgit.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -28,4 +28,11 @@ struct commitinfo { }; +struct taginfo { + char *tagger; + char *tagger_email; + int tagger_date; + char *msg; +}; + extern const char cgit_version[]; @@ -88,4 +95,5 @@ extern int cgit_read_config(const char *filename, configfn fn); extern int cgit_parse_query(char *txt, configfn fn); extern struct commitinfo *cgit_parse_commit(struct commit *commit); +extern struct taginfo *cgit_parse_tag(struct tag *tag); extern char *cache_safe_filename(const char *unsafe); |