summaryrefslogtreecommitdiff
path: root/src/basic/exec-util.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-02-10 21:49:01 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-02-20 18:49:14 -0500
commit3303d1b2dc3f9ac88927c23abce020fc77c1e92c (patch)
treea4c48ba415dc0bcf19063cfc9dc87b4cb91aa98b /src/basic/exec-util.h
parentc8cebc36b02f6386faccce7d84b444155f3765ba (diff)
exec-util: implement a set of callbacks to pass variables around
Only tests are added, otherwise the new code is unused.
Diffstat (limited to 'src/basic/exec-util.h')
-rw-r--r--src/basic/exec-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/exec-util.h b/src/basic/exec-util.h
index 2c58e4bd5c..72009799b2 100644
--- a/src/basic/exec-util.h
+++ b/src/basic/exec-util.h
@@ -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];