From 04a23330e4a2085ee91980c223c5e4f089ebbe97 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 4 Apr 2018 14:58:01 +0200 Subject: Merge preprocessing of command lines - Common function for splitting string into argument vector - Preprocess & split command lines while parsing the service file - Specify "before" and "after" dependencies in a single line Signed-off-by: David Oberhollenzer --- initd/init.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'initd/init.h') diff --git a/initd/init.h b/initd/init.h index cbe22aa..c8d16ba 100644 --- a/initd/init.h +++ b/initd/init.h @@ -48,7 +48,7 @@ enum { does not exit with EXIT_SUCCESS, processing of the list is aborted and the function returns the exit status of the failed process. */ -int runlst_wait(char **exec, size_t num, const char *ctty); +int runlst_wait(exec_t *list, const char *ctty); /* Does basically the same as runlst_wait, but asynchronously. @@ -60,7 +60,7 @@ int runlst_wait(char **exec, size_t num, const char *ctty); Alternatively, if num is 1, the child process directly exec()s the given command. */ -pid_t runlst(char **exec, size_t num, const char *ctty); +pid_t runlst(exec_t *list, const char *ctty); /********** setup_tty.c **********/ -- cgit v1.2.3