]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.h
Rename config.c to parsing.c + move cgit_parse_query from cgit.c to parsing.c
[ps-cgit] / cgit.h
diff --git a/cgit.h b/cgit.h
index 3b0994a775492f652359ff45f7342c7787f9dc44..6c0aa3bd0d05f97312ed6ac9f95927e2f87cb3f8 100644 (file)
--- a/cgit.h
+++ b/cgit.h
@@ -23,6 +23,7 @@ extern char *cgit_logo_link;
 extern char *cgit_virtual_root;
 extern char *cgit_cache_root;
 
+extern int cgit_max_lock_attempts;
 extern int cgit_cache_root_ttl;
 extern int cgit_cache_repo_ttl;
 extern int cgit_cache_dynamic_ttl;
@@ -55,6 +56,7 @@ extern void html_link_close(void);
 
 
 extern int cgit_read_config(const char *filename, configfn fn);
+extern int cgit_parse_query(char *txt, configfn fn);
 
 extern void cache_prepare(struct cacheitem *item);
 extern int cache_lock(struct cacheitem *item);