aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make/reloader.h
blob: 95332db5efeb85a88f47ba0e6f34b622a504f6e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * blogc: A blog compiler.
 * Copyright (C) 2014-2019 Rafael G. Martins <rafael@rafaelmartins.eng.br>
 *
 * This program can be distributed under the terms of the BSD License.
 * See the file LICENSE.
 */

#ifndef _MAKE_RELOADER_H
#define _MAKE_RELOADER_H

#include <squareball.h>

#include "ctx.h"
#include "rules.h"

int bm_reloader_run(bm_ctx_t **ctx, bm_rule_exec_func_t rule_exec,
    sb_slist_t *outputs, sb_trie_t *args);
void bm_reloader_stop(int status_code);

#endif /* _MAKE_RELOADER_H */