diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-04-26 15:24:26 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-04-26 15:24:26 +0200 |
commit | 45b7d79088174303193f8772c9b14fed2011551e (patch) | |
tree | 4a34c3e83f4fa268528586b9db4fc2358860c274 /src/lib | |
parent | 6be9ae98877f23b05f69e6006036fec0f6c9d338 (diff) | |
download | ouroboros-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')
-rw-r--r-- | src/lib/irm.c | 4 |
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; |