diff options
Diffstat (limited to 'run-command.h')
-rw-r--r-- | run-command.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/run-command.h b/run-command.h index 44f7d2bd42..6b985afd07 100644 --- a/run-command.h +++ b/run-command.h @@ -39,13 +39,14 @@ struct child_process { unsigned stdout_to_stderr:1; unsigned use_shell:1; unsigned clean_on_exit:1; - void (*preexec_cb)(void); }; int start_command(struct child_process *); int finish_command(struct child_process *); int run_command(struct child_process *); +extern char *find_hook(const char *name); +LAST_ARG_MUST_BE_NULL extern int run_hook(const char *index_file, const char *name, ...); #define RUN_COMMAND_NO_STDIN 1 |