diff options
author | Lars Hjemli <hjemli@gmail.com> | 2011-06-13 23:05:10 +0000 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2011-06-13 23:05:10 +0000 |
commit | 1b1bf635b59a349a9238a1d63a21d03d9949e185 (patch) | |
tree | 78d1501781d72f0698f673e9c44450e32118d843 /cgit.h | |
parent | b88cda6e5b4472fc1bb0ae00d9fb974ec4f61d7a (diff) | |
parent | a1429dbc89f9c0945e32cea9fd3424d2fe56aeab (diff) | |
download | cgit-1b1bf635b59a349a9238a1d63a21d03d9949e185.tar cgit-1b1bf635b59a349a9238a1d63a21d03d9949e185.tar.gz cgit-1b1bf635b59a349a9238a1d63a21d03d9949e185.zip |
Merge branch 'lh/clone-url'
Diffstat (limited to 'cgit.h')
-rw-r--r-- | cgit.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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); |