From 346b054ee32a9f7b8491f842709f72cc8d1f3f2e Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Mon, 27 Nov 2023 14:43:11 +0100 Subject: include: Store IPCP name and type in info struct The information for an IPCP is now stored in an ipcp_info struct, containing name and type. The IRM public API is not changed. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/irmd/irmd.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/irmd/irmd.h') diff --git a/src/irmd/irmd.h b/src/irmd/irmd.h index a225a2dd..fcf4d1fb 100644 --- a/src/irmd/irmd.h +++ b/src/irmd/irmd.h @@ -26,8 +26,7 @@ #include #include -int create_ipcp(const char * name, - enum ipcp_type type); +int create_ipcp(const struct ipcp_info * info); int bootstrap_ipcp(pid_t pid, struct ipcp_config * conf); -- cgit v1.2.3