exec-util: implement a set of callbacks to pass variables around

Only tests are added, otherwise the new code is unused.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2017-02-20 18:49:14 -05:00
parent c8cebc36b0
commit 3303d1b2dc
3 changed files with 159 additions and 0 deletions
+2
View File
@@ -36,3 +36,5 @@ int execute_directories(
gather_stdout_callback_t const callbacks[_STDOUT_CONSUME_MAX],
void* const callback_args[_STDOUT_CONSUME_MAX],
char *argv[]);
extern const gather_stdout_callback_t gather_environment[_STDOUT_CONSUME_MAX];