summaryrefslogtreecommitdiffabout
path: root/cgit.h
Unidiff
Diffstat (limited to 'cgit.h') (more/less context) (show whitespace changes)
-rw-r--r--cgit.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index 82e8681..268db53 100644
--- a/cgit.h
+++ b/cgit.h
@@ -16,4 +16,12 @@ struct cacheitem {
16}; 16};
17 17
18struct commitinfo {
19 struct commit *commit;
20 char *author;
21 char *committer;
22 char *subject;
23 char *msg;
24};
25
18extern const char cgit_version[]; 26extern const char cgit_version[];
19 27
@@ -64,4 +72,5 @@ extern void html_link_close(void);
64extern int cgit_read_config(const char *filename, configfn fn); 72extern int cgit_read_config(const char *filename, configfn fn);
65extern int cgit_parse_query(char *txt, configfn fn); 73extern int cgit_parse_query(char *txt, configfn fn);
74extern struct commitinfo *cgit_parse_commit(struct commit *commit);
66 75
67extern void cache_prepare(struct cacheitem *item); 76extern void cache_prepare(struct cacheitem *item);