aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-git-receiver/post-receive.h
blob: e17c3d44bce2d5c8231a16a864424f0618f0248b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * blogc: A blog compiler.
 * Copyright (C) 2015-2016 Rafael G. Martins <rafael@rafaelmartins.eng.br>
 *
 * This program can be distributed under the terms of the BSD License.
 * See the file LICENSE.
 */

#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 */