]> git.cameronkatri.com Git - cgit.git/blobdiff - cgit.h
Add support for prefix and gitsrc arguments to 'make'
[cgit.git] / cgit.h
diff --git a/cgit.h b/cgit.h
index 9b517a78d58a85be86373267f3dbcdf291f81391..2a3cd5ae7fe8603e333ce01c5e19d26b15ace092 100644 (file)
--- a/cgit.h
+++ b/cgit.h
@@ -15,6 +15,20 @@ struct cacheitem {
        int fd;
 };
 
+struct repoinfo {
+       char *url;
+       char *name;
+       char *path;
+       char *desc;
+       char *owner;
+};
+
+struct repolist {
+       int length;
+       int count;
+       struct repoinfo *repos;
+};
+
 struct commitinfo {
        struct commit *commit;
        char *author;
@@ -36,7 +50,9 @@ struct taginfo {
 
 extern const char cgit_version[];
 
-extern char *cgit_root;
+extern struct repolist cgit_repolist;
+extern struct repoinfo *cgit_repo;
+
 extern char *cgit_root_title;
 extern char *cgit_css;
 extern char *cgit_logo;
@@ -52,6 +68,8 @@ extern int cgit_cache_dynamic_ttl;
 extern int cgit_cache_static_ttl;
 extern int cgit_cache_max_create_time;
 
+extern int cgit_max_msg_len;
+
 extern char *cgit_repo_name;
 extern char *cgit_repo_desc;
 extern char *cgit_repo_owner;