]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.h
Add support for repo-local cgitrc file
[ps-cgit] / cgit.h
diff --git a/cgit.h b/cgit.h
index fc7c7d59358ea89a5d3b3afe6a8309d7c045eab5..3359be94dac71a6ea64f3844a3a6b296ae96b058 100644 (file)
--- a/cgit.h
+++ b/cgit.h
@@ -79,6 +79,9 @@ struct cgit_repo {
        struct cgit_filter *source_filter;
 };
 
+typedef void (*repo_config_fn)(struct cgit_repo *repo, const char *name,
+             const char *value);
+
 struct cgit_repolist {
        int length;
        int count;