/* ****************************************************************************** * HEADER FILE * * Document no: @(#) $Name: VXWORKS_ITER40_2019102207 $ $RCSfile: ipmippm_h.h,v $ $Revision: 1.5 $ * $Source: /home/interpeak/CVSRoot/ipmippm/src/ipmippm_h.h,v $ * $Author: jhorteli $ $Date: 2009-04-23 15:19:27 $ * $State: Exp $ $Locker: $ * * INTERPEAK_COPYRIGHT_STRING * Design and implementation by Joel Hortelius ****************************************************************************** */ #ifndef IPMIPPM_H_H #define IPMIPPM_H_H /* **************************************************************************** * 1 DESCRIPTION **************************************************************************** */ /* **************************************************************************** * 2 CONFIGURATION **************************************************************************** */ /* **************************************************************************** * 3 INCLUDE FILES **************************************************************************** */ #include #ifdef __cplusplus extern "C" { #endif /* **************************************************************************** * 4 DEFINES **************************************************************************** */ #define IPMIPPM_SHUTDOWN_REG (1 << 0) #define IPMIPPM_SHUTDOWN_ALL (IPMIPPM_SHUTDOWN_REG) /* **************************************************************************** * 5 TYPES **************************************************************************** */ struct Ipmipmn_client_conf; /* All configuration collected */ typedef struct Ipmippm_conf { Ipcom_list if_head; } Ipmippm_conf_t; typedef struct Ipmippm_context { Ipmipmn_api_context_t api; /* Configuration */ struct Ipmippm_conf *conf; struct Ipmip_context_id *idents; /* */ Ip_u32 clients; Ip_u32 shutdown; /* Lock to protect nodes */ Ipcom_mutex attr_lock; } Ipmippm_context_t; /* **************************************************************************** * 6 FUNCTIONS **************************************************************************** */ struct Ipmipmn_api_extension; IP_GLOBAL void ipmippm_main(void); IP_GLOBAL Ip_u32 ipmippm_context_register_function(struct Ipmipmn_api_extension *srv); IP_GLOBAL void ipmippm_msgext_vendor_parse_ext_register(struct Ipmip4_msgext_vendor_parse_ext *pext); #ifdef __cplusplus } #endif #endif /* **************************************************************************** * END OF FILE **************************************************************************** */