]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.h
Prepare for 'about site' page / add 'root-readme' option to cgitrc
[ps-cgit] / cgit.h
diff --git a/cgit.h b/cgit.h
index ee8c716be4d50bd799d0c3fa899876bf7f54a2ec..daebeff704f4df080b1a8085c0b8b0adebab826c 100644 (file)
--- a/cgit.h
+++ b/cgit.h
@@ -132,6 +132,8 @@ struct cgit_config {
        char *repo_group;
        char *robots;
        char *root_title;
+       char *root_desc;
+       char *root_readme;
        char *script_name;
        char *virtual_root;
        int cache_dynamic_ttl;
@@ -221,4 +223,11 @@ extern const char *cgit_repobasename(const char *reponame);
 
 extern int cgit_parse_snapshots_mask(const char *str);
 
+/* libgit.a either links against or compiles its own implementation of
+ * strcasestr(), and we'd like to reuse it. Simply re-declaring it
+ * seems to do the trick.
+ */
+extern char *strcasestr(const char *haystack, const char *needle);
+
+
 #endif /* CGIT_H */