summaryrefslogtreecommitdiff
path: root/src/lib/irm.c
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2016-04-26 15:24:26 +0200
committerdimitri staessens <[email protected]>2016-04-26 15:24:26 +0200
commit45b7d79088174303193f8772c9b14fed2011551e (patch)
tree4a34c3e83f4fa268528586b9db4fc2358860c274 /src/lib/irm.c
parent6be9ae98877f23b05f69e6006036fec0f6c9d338 (diff)
downloadouroboros-45b7d79088174303193f8772c9b14fed2011551e.tar.gz
ouroboros-45b7d79088174303193f8772c9b14fed2011551e.zip
lib: irm.h create_ipcp now returns pid_t
ipcp_create now returns the pid of the created process to allow for more efficient scripting.
Diffstat (limited to 'src/lib/irm.c')
-rw-r--r--src/lib/irm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/irm.c b/src/lib/irm.c
index d3c77f2e..cc1c0d01 100644
--- a/src/lib/irm.c
+++ b/src/lib/irm.c
@@ -30,8 +30,8 @@
#include <stdlib.h>
-int irm_create_ipcp(char * ipcp_name,
- enum ipcp_type ipcp_type)
+pid_t irm_create_ipcp(char * ipcp_name,
+ enum ipcp_type ipcp_type)
{
irm_msg_t msg = IRM_MSG__INIT;
irm_msg_t * recv_msg = NULL;