diff options
author | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-02-27 11:00:10 +0000 |
---|---|---|
committer | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-02-27 11:00:10 +0000 |
commit | 360678c925da5b6bf26286309c1158f33441d706 (patch) | |
tree | 2c47ddbbfa27e7a0479d5c12e78d77342780a4bd /src/nat | |
parent | 281e75bbf586c25ef1028388e0fa582fae7a6dce (diff) |
enabling use of pipes for signal communication also on UNIX to enable future integration with Java services
git-svn-id: https://gnunet.org/svn/gnunet@20060 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/nat')
-rw-r--r-- | src/nat/nat.c | 5 | ||||
-rw-r--r-- | src/nat/nat_mini.c | 2 | ||||
-rw-r--r-- | src/nat/test_nat_test.c | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/src/nat/nat.c b/src/nat/nat.c index 02ff7547b6..744583f3d3 100644 --- a/src/nat/nat.c +++ b/src/nat/nat.c @@ -843,7 +843,7 @@ start_gnunet_nat_server (struct GNUNET_NAT_Handle *h) #endif /* Start the server process */ h->server_proc = - GNUNET_OS_start_process (NULL, h->server_stdout, + GNUNET_OS_start_process (GNUNET_NO, NULL, h->server_stdout, "gnunet-helper-nat-server", "gnunet-helper-nat-server", h->internal_address, NULL); @@ -1342,7 +1342,8 @@ GNUNET_NAT_run_client (struct GNUNET_NAT_Handle *h, inet4, (unsigned int) h->adv_port); #endif proc = - GNUNET_OS_start_process (NULL, NULL, "gnunet-helper-nat-client", + GNUNET_OS_start_process (GNUNET_NO, + NULL, NULL, "gnunet-helper-nat-client", "gnunet-helper-nat-client", h->internal_address, inet4, port_as_string, NULL); if (NULL == proc) diff --git a/src/nat/nat_mini.c b/src/nat/nat_mini.c index 6c48f28fec..830fdfd502 100644 --- a/src/nat/nat_mini.c +++ b/src/nat/nat_mini.c @@ -176,7 +176,7 @@ GNUNET_NAT_mini_get_external_ipv4 (struct GNUNET_TIME_Relative timeout, return NULL; } eh->eip = - GNUNET_OS_start_process (NULL, eh->opipe, "external-ip", "external-ip", + GNUNET_OS_start_process (GNUNET_NO, NULL, eh->opipe, "external-ip", "external-ip", NULL); if (NULL == eh->eip) { diff --git a/src/nat/test_nat_test.c b/src/nat/test_nat_test.c index 2b9ef0f7cc..64617880aa 100644 --- a/src/nat/test_nat_test.c +++ b/src/nat/test_nat_test.c @@ -118,7 +118,7 @@ main (int argc, char *const argv[]) } gns = - GNUNET_OS_start_process (NULL, NULL, "gnunet-nat-server", + GNUNET_OS_start_process (GNUNET_YES, NULL, NULL, "gnunet-nat-server", "gnunet-nat-server", #if VERBOSE "-L", "DEBUG", |