author | Lars Hjemli <hjemli@gmail.com> | 2007-01-17 00:09:51 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-01-17 00:09:51 (UTC) |
commit | a69061fdb7380d73715aeb3a0da6e91a24df90e4 (patch) (side-by-side diff) | |
tree | bb514d5bfbab6e3b2904b2633a33175802f084d2 /cgit.h | |
parent | 06c81d6faafff1c80bc9e2302e5b8fea393b775b (diff) | |
download | cgit-a69061fdb7380d73715aeb3a0da6e91a24df90e4.zip cgit-a69061fdb7380d73715aeb3a0da6e91a24df90e4.tar.gz cgit-a69061fdb7380d73715aeb3a0da6e91a24df90e4.tar.bz2 |
Add function cgit_parse_tag()
Teach cgit how to extract author info from a tag.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-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); |