diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-02 08:24:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-02 08:24:28 +0000 |
commit | f1f198df545fbb423a61dc2fa945fe97bdcfe098 (patch) | |
tree | 296cbaf17dfbd1c26ac636d23141c5361905c80d /src/include/gnunet_os_lib.h | |
parent | 8025ab3ecdbaf1d0e5128bb21a443545848139ae (diff) | |
download | gnunet-f1f198df545fbb423a61dc2fa945fe97bdcfe098.tar.gz gnunet-f1f198df545fbb423a61dc2fa945fe97bdcfe098.zip |
adding GNUNET_OS_start_process_vap function
Diffstat (limited to 'src/include/gnunet_os_lib.h')
-rw-r--r-- | src/include/gnunet_os_lib.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/include/gnunet_os_lib.h b/src/include/gnunet_os_lib.h index 944713606..c56947431 100644 --- a/src/include/gnunet_os_lib.h +++ b/src/include/gnunet_os_lib.h | |||
@@ -241,6 +241,23 @@ GNUNET_OS_set_process_priority (struct GNUNET_OS_Process *proc, | |||
241 | enum GNUNET_SCHEDULER_Priority prio); | 241 | enum GNUNET_SCHEDULER_Priority prio); |
242 | 242 | ||
243 | 243 | ||
244 | |||
245 | /** | ||
246 | * Start a process. | ||
247 | * | ||
248 | * @param pipe_stdin pipe to use to send input to child process (or NULL) | ||
249 | * @param pipe_stdout pipe to use to get output from child process (or NULL) | ||
250 | * @param filename name of the binary | ||
251 | * @param argv NULL-terminated array of arguments to the process | ||
252 | * @return pointer to process structure of the new process, NULL on error | ||
253 | */ | ||
254 | struct GNUNET_OS_Process * | ||
255 | GNUNET_OS_start_process_vap (struct GNUNET_DISK_PipeHandle *pipe_stdin, | ||
256 | struct GNUNET_DISK_PipeHandle *pipe_stdout, | ||
257 | const char *filename, | ||
258 | char *const argv[]); | ||
259 | |||
260 | |||
244 | /** | 261 | /** |
245 | * Start a process. | 262 | * Start a process. |
246 | * | 263 | * |