aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-git-receiver/post-receive.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-10-10 02:13:47 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-10-10 02:13:47 +0200
commit3cd3dcb5bb3b0481812ddd3ff8dc182bdb20be23 (patch)
treed99f57f85d2472caf334a4b96fbebd95cee873f7 /src/blogc-git-receiver/post-receive.h
parent62f999141701ba915a035a11cbac7fc7ddb08f31 (diff)
downloadblogc-3cd3dcb5bb3b0481812ddd3ff8dc182bdb20be23.tar.gz
blogc-3cd3dcb5bb3b0481812ddd3ff8dc182bdb20be23.tar.bz2
blogc-3cd3dcb5bb3b0481812ddd3ff8dc182bdb20be23.zip
git-receiver: added support to get mirror url from config file
this commit also includes some "integration test" in shell script
Diffstat (limited to 'src/blogc-git-receiver/post-receive.h')
-rw-r--r--src/blogc-git-receiver/post-receive.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/blogc-git-receiver/post-receive.h b/src/blogc-git-receiver/post-receive.h
index a28dd5a..e17c3d4 100644
--- a/src/blogc-git-receiver/post-receive.h
+++ b/src/blogc-git-receiver/post-receive.h
@@ -9,6 +9,10 @@
#ifndef _POST_RECEIVE_H
#define _POST_RECEIVE_H
+#include "../common/config-parser.h"
+
+char* bgr_post_receive_get_config_section(bc_config_t *config,
+ const char *repo_path, const char *home);
int bgr_post_receive_hook(int argc, char *argv[]);
#endif /* _POST_RECEIVE_H */