summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@intec.ugent.be>2016-04-26 15:24:26 +0200
committerdimitri staessens <dimitri.staessens@intec.ugent.be>2016-04-26 15:24:26 +0200
commit45b7d79088174303193f8772c9b14fed2011551e (patch)
tree4a34c3e83f4fa268528586b9db4fc2358860c274 /include
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 'include')
-rw-r--r--include/ouroboros/irm.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/ouroboros/irm.h b/include/ouroboros/irm.h
index 26ff536a..37524098 100644
--- a/include/ouroboros/irm.h
+++ b/include/ouroboros/irm.h
@@ -26,8 +26,10 @@
#include <ouroboros/instance_name.h>
#include <ouroboros/dif_config.h>
-int irm_create_ipcp(char * ipcp_name,
- enum ipcp_type ipcp_type);
+#include <sys/types.h>
+
+pid_t irm_create_ipcp(char * ipcp_name,
+ enum ipcp_type ipcp_type);
int irm_destroy_ipcp(instance_name_t * api);