[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r10323 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r10323 - gnunet/src/include |
Date: |
Tue, 16 Feb 2010 13:11:16 +0100 |
Author: nevans
Date: 2010-02-16 13:11:16 +0100 (Tue, 16 Feb 2010)
New Revision: 10323
Modified:
gnunet/src/include/gnunet_disk_lib.h
gnunet/src/include/gnunet_os_lib.h
gnunet/src/include/gnunet_testing_lib.h
Log:
api header changes
Modified: gnunet/src/include/gnunet_disk_lib.h
===================================================================
--- gnunet/src/include/gnunet_disk_lib.h 2010-02-16 12:10:29 UTC (rev
10322)
+++ gnunet/src/include/gnunet_disk_lib.h 2010-02-16 12:11:16 UTC (rev
10323)
@@ -335,6 +335,14 @@
*/
int GNUNET_DISK_pipe_close (struct GNUNET_DISK_PipeHandle *p);
+/**
+ * Closes one half of an interprocess channel
+ *
+ * @param p pipe to close end of
+ * @param end which end of the pipe to close
+ */
+int
+GNUNET_DISK_pipe_close_end (struct GNUNET_DISK_PipeHandle *p, enum
GNUNET_DISK_PipeEnd end);
/**
* Close an open file.
Modified: gnunet/src/include/gnunet_os_lib.h
===================================================================
--- gnunet/src/include/gnunet_os_lib.h 2010-02-16 12:10:29 UTC (rev 10322)
+++ gnunet/src/include/gnunet_os_lib.h 2010-02-16 12:11:16 UTC (rev 10323)
@@ -189,11 +189,14 @@
/**
* Start a process.
*
+ * @param pipe_stdin pipe to use to send input to child process (or NULL)
+ * @param pipe_stdout pipe to use to get output from child process (or NULL)
* @param filename name of the binary
* @param ... NULL-terminated list of arguments to the process
* @return process ID of the new process, -1 on error
*/
-pid_t GNUNET_OS_start_process (const char *filename, ...);
+pid_t
+GNUNET_OS_start_process (struct GNUNET_DISK_PipeHandle *pipe_stdin, struct
GNUNET_DISK_PipeHandle *pipe_stdout, const char *filename, ...);
/**
Modified: gnunet/src/include/gnunet_testing_lib.h
===================================================================
--- gnunet/src/include/gnunet_testing_lib.h 2010-02-16 12:10:29 UTC (rev
10322)
+++ gnunet/src/include/gnunet_testing_lib.h 2010-02-16 12:11:16 UTC (rev
10323)
@@ -410,6 +410,11 @@
GNUNET_TESTING_TOPOLOGY_SMALL_WORLD,
/**
+ * Small-world network (ring plus random links).
+ */
+ GNUNET_TESTING_TOPOLOGY_SMALL_WORLD_RING,
+
+ /**
* Ring topology.
*/
GNUNET_TESTING_TOPOLOGY_RING,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r10323 - gnunet/src/include,
gnunet <=