aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.h
diff options
context:
space:
mode:
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index 5e19b11..9b517a7 100644
--- a/cgit.h
+++ b/cgit.h
@@ -27,6 +27,13 @@ struct commitinfo {
27 char *msg; 27 char *msg;
28}; 28};
29 29
30struct taginfo {
31 char *tagger;
32 char *tagger_email;
33 int tagger_date;
34 char *msg;
35};
36
30extern const char cgit_version[]; 37extern const char cgit_version[];
31 38
32extern char *cgit_root; 39extern char *cgit_root;
@@ -87,6 +94,7 @@ extern void html_filemode(unsigned short mode);
87extern int cgit_read_config(const char *filename, configfn fn); 94extern int cgit_read_config(const char *filename, configfn fn);
88extern int cgit_parse_query(char *txt, configfn fn); 95extern int cgit_parse_query(char *txt, configfn fn);
89extern struct commitinfo *cgit_parse_commit(struct commit *commit); 96extern struct commitinfo *cgit_parse_commit(struct commit *commit);
97extern struct taginfo *cgit_parse_tag(struct tag *tag);
90 98
91extern char *cache_safe_filename(const char *unsafe); 99extern char *cache_safe_filename(const char *unsafe);
92extern int cache_lock(struct cacheitem *item); 100extern int cache_lock(struct cacheitem *item);