From b398dbe5cfd12b928e00f9a22cd6826bbdfb18d7 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Wed, 26 Apr 2017 20:31:39 +0200 Subject: ipcpd: Add capability reporting The IPCP will now report the DIF name and the hash value to the IRMd as a dif_info struct. This can later be extended to add further capability reporting. Some bugfixes in normal. Fixes #24 --- src/irmd/ipcp.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/irmd/ipcp.h') diff --git a/src/irmd/ipcp.h b/src/irmd/ipcp.h index 11adad7d..74175f97 100644 --- a/src/irmd/ipcp.h +++ b/src/irmd/ipcp.h @@ -34,10 +34,11 @@ pid_t ipcp_create(const char * name, int ipcp_destroy(pid_t api); -int ipcp_enroll(pid_t api, - const char * dst); +int ipcp_enroll(pid_t api, + const char * dst, + struct dif_info * info); -int ipcp_bootstrap(pid_t api, +int ipcp_bootstrap(pid_t api, ipcp_config_msg_t * conf); int ipcp_reg(pid_t api, -- cgit v1.2.3