diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-03-04 22:28:12 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-03-04 22:28:12 +0100 |
commit | bda4570a0273cffb60ff63743110bc7a8026216b (patch) | |
tree | 236799fc528b2c8027852b07029790235115430e /src/blogc-make/reloader.h | |
parent | 6f497276ca155173b4679e069de5b148af2905c0 (diff) | |
download | blogc-bda4570a0273cffb60ff63743110bc7a8026216b.tar.gz blogc-bda4570a0273cffb60ff63743110bc7a8026216b.tar.bz2 blogc-bda4570a0273cffb60ff63743110bc7a8026216b.zip |
make: make the reloader interface generic
this way it can run any rule, even if we don't need this feature now
Diffstat (limited to 'src/blogc-make/reloader.h')
-rw-r--r-- | src/blogc-make/reloader.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/blogc-make/reloader.h b/src/blogc-make/reloader.h index 70464a8..d688ccf 100644 --- a/src/blogc-make/reloader.h +++ b/src/blogc-make/reloader.h @@ -16,10 +16,13 @@ typedef struct { bm_ctx_t *ctx; bm_rule_exec_func_t rule_exec; + bc_slist_t *outputs; + bc_trie_t *args; bool running; } bm_reloader_t; -bm_reloader_t* bm_reloader_new(bm_ctx_t *ctx, bm_rule_exec_func_t rule_exec); +bm_reloader_t* bm_reloader_new(bm_ctx_t *ctx, bm_rule_exec_func_t rule_exec, + bc_slist_t *outputs, bc_trie_t *args); void bm_reloader_stop(bm_reloader_t *reloader); #endif /* _MAKE_RELOADER_H */ |