summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-08-10 12:27:41 +0200
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-08-10 12:54:38 +0200
commit155fbfb32b9a69705a06a5771bd146c1bed22821 (patch)
tree0a9654e87dd7d5818c3ecedd850a6b6f5641e369 /include
parent3eb6acfd135cdfb82d19a4f445776ea2f13fd4e1 (diff)
downloadouroboros-155fbfb32b9a69705a06a5771bd146c1bed22821.tar.gz
ouroboros-155fbfb32b9a69705a06a5771bd146c1bed22821.zip
ipcp, irmd, lib: Notify IRMd upon IPCP initialization
This will notify the IRMd when the IPCP is initialized and ready to receive messages. Previously a bootstrap could fail since the IPCP was not listening to the socket yet.
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/ipcp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ouroboros/ipcp.h b/include/ouroboros/ipcp.h
index 0ce95b1e..a83d8a77 100644
--- a/include/ouroboros/ipcp.h
+++ b/include/ouroboros/ipcp.h
@@ -34,6 +34,9 @@ struct ipcp;
/* Returns the process id */
pid_t ipcp_create(enum ipcp_type ipcp_type);
+/* IPCP calls this when it is initialized */
+int ipcp_create_r(pid_t api);
+
int ipcp_destroy(pid_t api);
int ipcp_enroll(pid_t api,