0001602: A patch to fix process spawning with redirected std streams
authorMatthias Wachs <wachs@net.in.tum.de>
Wed, 15 Sep 2010 08:27:19 +0000 (08:27 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Wed, 15 Sep 2010 08:27:19 +0000 (08:27 +0000)
src/include/gnunet_disk_lib.h

index 340c35a4e5cb8019cc0639b098f3042f230f2f4d..b8df9d7b677f8f928399655dccd101651b80defd 100644 (file)
@@ -326,9 +326,13 @@ struct GNUNET_DISK_FileHandle *GNUNET_DISK_file_open (const char *fn,
 /**
  * Creates an interprocess channel
  * @param blocking creates an asynchronous pipe if set to GNUNET_NO
+ * @param inherit_read 1 to make read handle inheritable, 0 otherwise (NT only)
+ * @param inherit_write 1 to make write handle inheritable, 0 otherwise (NT only)
  * @return handle to the new pipe, NULL on error
  */
-struct GNUNET_DISK_PipeHandle *GNUNET_DISK_pipe (int blocking);
+struct GNUNET_DISK_PipeHandle *GNUNET_DISK_pipe (int blocking,
+                                                int inherit_read,
+                                                int inherit_write);
 
 
 /**