aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.h
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2011-06-14 01:05:10 +0200
committerLars Hjemli <hjemli@gmail.com>2011-06-14 01:05:10 +0200
commit1b1bf635b59a349a9238a1d63a21d03d9949e185 (patch)
tree78d1501781d72f0698f673e9c44450e32118d843 /cgit.h
parentb88cda6e5b4472fc1bb0ae00d9fb974ec4f61d7a (diff)
parenta1429dbc89f9c0945e32cea9fd3424d2fe56aeab (diff)
downloadcgit-1b1bf635b59a349a9238a1d63a21d03d9949e185.tar.gz
cgit-1b1bf635b59a349a9238a1d63a21d03d9949e185.tar.xz
Merge branch 'lh/clone-url'
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cgit.h b/cgit.h
index caa9d8e..bad66f0 100644
--- a/cgit.h
+++ b/cgit.h
@@ -165,6 +165,7 @@ struct cgit_config {
char *agefile;
char *cache_root;
char *clone_prefix;
+ char *clone_url;
char *css;
char *favicon;
char *footer;
@@ -319,9 +320,11 @@ extern const char *cgit_repobasename(const char *reponame);
extern int cgit_parse_snapshots_mask(const char *str);
-extern int cgit_open_filter(struct cgit_filter *filter, struct cgit_repo * repo);
+extern int cgit_open_filter(struct cgit_filter *filter);
extern int cgit_close_filter(struct cgit_filter *filter);
+extern void cgit_prepare_repo_env(struct cgit_repo * repo);
+
extern int readfile(const char *path, char **buf, size_t *size);
extern char *expand_macros(const char *txt);