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/ipcp.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/irmd/ipcp.h') diff --git a/src/irmd/ipcp.h b/src/irmd/ipcp.h index bedbfe01..f59e7090 100644 --- a/src/irmd/ipcp.h +++ b/src/irmd/ipcp.h @@ -29,8 +29,7 @@ #ifndef OUROBOROS_IRMD_IPCP_H #define OUROBOROS_IRMD_IPCP_H -pid_t ipcp_create(const char * name, - enum ipcp_type ipcp_type); +pid_t ipcp_create(const struct ipcp_info * info); int ipcp_destroy(pid_t pid); -- cgit v1.2.3