Imported Upstream version 2.6.1
[debian/amanda] / common-src / pipespawn.h
index 8b81f58d9d4755e78d67363c5bebcd8b07a45e8c..581312154285cc08af833ec48978076f638a27e7 100644 (file)
@@ -12,10 +12,10 @@ extern char skip_argument[1];
 #define STDERR_PIPE    (1 << 2)
 #define PASSWD_PIPE    (1 << 3)
 
-pid_t pipespawn(char *prog, int pipedef,
+pid_t pipespawn(char *prog, int pipedef, int need_root,
                 int *stdinfd, int *stdoutfd, int *stderrfd,
                 ...);
-pid_t pipespawnv(char *prog, int pipedef,
+pid_t pipespawnv(char *prog, int pipedef, int need_root,
                  int *stdinfd, int *stdoutfd, int *stderrfd,
                  char **my_argv);