diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_network_lib.h | 1 | ||||
-rw-r--r-- | src/include/gnunet_os_lib.h | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/include/gnunet_network_lib.h b/src/include/gnunet_network_lib.h index d7d3acbf0..19fd234ee 100644 --- a/src/include/gnunet_network_lib.h +++ b/src/include/gnunet_network_lib.h | |||
@@ -199,6 +199,7 @@ int GNUNET_NETWORK_socket_select (struct GNUNET_NETWORK_FDSet *rfds, | |||
199 | ssize_t GNUNET_NETWORK_socket_send (const struct GNUNET_NETWORK_Handle *desc, | 199 | ssize_t GNUNET_NETWORK_socket_send (const struct GNUNET_NETWORK_Handle *desc, |
200 | const void *buffer, size_t length); | 200 | const void *buffer, size_t length); |
201 | 201 | ||
202 | |||
202 | /** | 203 | /** |
203 | * Send data to a particular destination (always non-blocking). | 204 | * Send data to a particular destination (always non-blocking). |
204 | * This function only works for UDP sockets. | 205 | * This function only works for UDP sockets. |
diff --git a/src/include/gnunet_os_lib.h b/src/include/gnunet_os_lib.h index 3aa1f1bad..87d9a8fb1 100644 --- a/src/include/gnunet_os_lib.h +++ b/src/include/gnunet_os_lib.h | |||
@@ -216,12 +216,15 @@ GNUNET_OS_start_process (struct GNUNET_DISK_PipeHandle *pipe_stdin, | |||
216 | /** | 216 | /** |
217 | * Start a process. | 217 | * Start a process. |
218 | * | 218 | * |
219 | * @param lsocks array of listen sockets to dup systemd-style (or NULL); | ||
220 | * must be NULL on platforms where dup is not supported | ||
219 | * @param filename name of the binary | 221 | * @param filename name of the binary |
220 | * @param argv NULL-terminated list of arguments to the process, | 222 | * @param argv NULL-terminated list of arguments to the process, |
221 | * including the process name as the first argument | 223 | * including the process name as the first argument |
222 | * @return process ID of the new process, -1 on error | 224 | * @return process ID of the new process, -1 on error |
223 | */ | 225 | */ |
224 | pid_t GNUNET_OS_start_process_v (const char *filename, char *const argv[]); | 226 | pid_t GNUNET_OS_start_process_v (const int *lsocks, |
227 | const char *filename, char *const argv[]); | ||
225 | 228 | ||
226 | 229 | ||
227 | /** | 230 | /** |