|
diff --git a/cgit.h b/cgit.h index 5e19b11..9b517a7 100644 --- a/ cgit.h+++ b/ cgit.h |
|
@@ -22,16 +22,23 @@ struct commitinfo { |
22 | unsigned long author_date; |
22 | unsigned long author_date; |
23 | char *committer; |
23 | char *committer; |
24 | char *committer_email; |
24 | char *committer_email; |
25 | unsigned long committer_date; |
25 | unsigned long committer_date; |
26 | char *subject; |
26 | char *subject; |
27 | char *msg; |
27 | char *msg; |
28 | }; |
28 | }; |
29 | |
29 | |
| |
30 | struct taginfo { |
| |
31 | char *tagger; |
| |
32 | char *tagger_email; |
| |
33 | int tagger_date; |
| |
34 | char *msg; |
| |
35 | }; |
| |
36 | |
30 | extern const char cgit_version[]; |
37 | extern const char cgit_version[]; |
31 | |
38 | |
32 | extern char *cgit_root; |
39 | extern char *cgit_root; |
33 | extern char *cgit_root_title; |
40 | extern char *cgit_root_title; |
34 | extern char *cgit_css; |
41 | extern char *cgit_css; |
35 | extern char *cgit_logo; |
42 | extern char *cgit_logo; |
36 | extern char *cgit_logo_link; |
43 | extern char *cgit_logo_link; |
37 | extern char *cgit_virtual_root; |
44 | extern char *cgit_virtual_root; |
@@ -82,16 +89,17 @@ extern void html_attr(char *txt); |
82 | extern void html_hidden(char *name, char *value); |
89 | extern void html_hidden(char *name, char *value); |
83 | extern void html_link_open(char *url, char *title, char *class); |
90 | extern void html_link_open(char *url, char *title, char *class); |
84 | extern void html_link_close(void); |
91 | extern void html_link_close(void); |
85 | extern void html_filemode(unsigned short mode); |
92 | extern void html_filemode(unsigned short mode); |
86 | |
93 | |
87 | extern int cgit_read_config(const char *filename, configfn fn); |
94 | extern int cgit_read_config(const char *filename, configfn fn); |
88 | extern int cgit_parse_query(char *txt, configfn fn); |
95 | extern int cgit_parse_query(char *txt, configfn fn); |
89 | extern struct commitinfo *cgit_parse_commit(struct commit *commit); |
96 | extern struct commitinfo *cgit_parse_commit(struct commit *commit); |
| |
97 | extern struct taginfo *cgit_parse_tag(struct tag *tag); |
90 | |
98 | |
91 | extern char *cache_safe_filename(const char *unsafe); |
99 | extern char *cache_safe_filename(const char *unsafe); |
92 | extern int cache_lock(struct cacheitem *item); |
100 | extern int cache_lock(struct cacheitem *item); |
93 | extern int cache_unlock(struct cacheitem *item); |
101 | extern int cache_unlock(struct cacheitem *item); |
94 | extern int cache_cancel_lock(struct cacheitem *item); |
102 | extern int cache_cancel_lock(struct cacheitem *item); |
95 | extern int cache_exist(struct cacheitem *item); |
103 | extern int cache_exist(struct cacheitem *item); |
96 | extern int cache_expired(struct cacheitem *item); |
104 | extern int cache_expired(struct cacheitem *item); |
97 | |
105 | |
|