summaryrefslogtreecommitdiffabout
path: root/cgit.h
Unidiff
Diffstat (limited to 'cgit.h') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index 292e488..b7f8827 100644
--- a/cgit.h
+++ b/cgit.h
@@ -24,24 +24,25 @@ struct cacheitem {
24 char *name; 24 char *name;
25 struct stat st; 25 struct stat st;
26 int ttl; 26 int ttl;
27 int fd; 27 int fd;
28}; 28};
29 29
30struct repoinfo { 30struct repoinfo {
31 char *url; 31 char *url;
32 char *name; 32 char *name;
33 char *path; 33 char *path;
34 char *desc; 34 char *desc;
35 char *owner; 35 char *owner;
36 char *module_link;
36 int snapshots; 37 int snapshots;
37}; 38};
38 39
39struct repolist { 40struct repolist {
40 int length; 41 int length;
41 int count; 42 int count;
42 struct repoinfo *repos; 43 struct repoinfo *repos;
43}; 44};
44 45
45struct commitinfo { 46struct commitinfo {
46 struct commit *commit; 47 struct commit *commit;
47 char *author; 48 char *author;
@@ -61,24 +62,25 @@ struct taginfo {
61 char *msg; 62 char *msg;
62}; 63};
63 64
64extern const char cgit_version[]; 65extern const char cgit_version[];
65 66
66extern struct repolist cgit_repolist; 67extern struct repolist cgit_repolist;
67extern struct repoinfo *cgit_repo; 68extern struct repoinfo *cgit_repo;
68 69
69extern char *cgit_root_title; 70extern char *cgit_root_title;
70extern char *cgit_css; 71extern char *cgit_css;
71extern char *cgit_logo; 72extern char *cgit_logo;
72extern char *cgit_logo_link; 73extern char *cgit_logo_link;
74extern char *cgit_module_link;
73extern char *cgit_virtual_root; 75extern char *cgit_virtual_root;
74extern char *cgit_cache_root; 76extern char *cgit_cache_root;
75 77
76extern int cgit_nocache; 78extern int cgit_nocache;
77extern int cgit_snapshots; 79extern int cgit_snapshots;
78extern int cgit_max_lock_attempts; 80extern int cgit_max_lock_attempts;
79extern int cgit_cache_root_ttl; 81extern int cgit_cache_root_ttl;
80extern int cgit_cache_repo_ttl; 82extern int cgit_cache_repo_ttl;
81extern int cgit_cache_dynamic_ttl; 83extern int cgit_cache_dynamic_ttl;
82extern int cgit_cache_static_ttl; 84extern int cgit_cache_static_ttl;
83extern int cgit_cache_max_create_time; 85extern int cgit_cache_max_create_time;
84 86