]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.h
Remove global and obsolete cgit_cmd
[ps-cgit] / cgit.h
diff --git a/cgit.h b/cgit.h
index c1a231d08390fdcc31dcb01b4abe3e5403b03d5a..e82e9aabc870d1ac91225dd4a5f9dcbda6bb0cc6 100644 (file)
--- a/cgit.h
+++ b/cgit.h
@@ -189,13 +189,10 @@ extern const char *cgit_version;
 extern struct cgit_repolist cgit_repolist;
 extern struct cgit_context ctx;
 extern const struct cgit_snapshot_format cgit_snapshot_formats[];
-extern int cgit_cmd;
 
-extern void cgit_prepare_context(struct cgit_context *ctx);
+extern struct cgit_repo *cgit_add_repo(const char *url);
 extern struct cgit_repo *cgit_get_repoinfo(const char *url);
-extern void cgit_global_config_cb(const char *name, const char *value);
 extern void cgit_repo_config_cb(const char *name, const char *value);
-extern void cgit_querystring_cb(const char *name, const char *value);
 
 extern int chk_zero(int result, char *msg);
 extern int chk_positive(int result, char *msg);