mikroSDK Reference Manual
snmp_vacm_mib_module.h
Go to the documentation of this file.
1
31#ifndef _SNMP_VACM_MIB_MODULE_H
32#define _SNMP_VACM_MIB_MODULE_H
33
34//Dependencies
35#include "mibs/mib_common.h"
36#include "snmp/snmp_agent.h"
37
38//SNMP VACM MIB module support
39#ifndef SNMP_VACM_MIB_SUPPORT
40 #define SNMP_VACM_MIB_SUPPORT DISABLED
41#elif (SNMP_VACM_MIB_SUPPORT != ENABLED && SNMP_VACM_MIB_SUPPORT != DISABLED)
42 #error SNMP_VACM_MIB_SUPPORT parameter is not valid
43#endif
44
45//Support for SET operations
46#ifndef SNMP_VACM_MIB_SET_SUPPORT
47 #define SNMP_VACM_MIB_SET_SUPPORT DISABLED
48#elif (SNMP_VACM_MIB_SET_SUPPORT != ENABLED && SNMP_VACM_MIB_SET_SUPPORT != DISABLED)
49 #error SNMP_VACM_MIB_SET_SUPPORT parameter is not valid
50#endif
51
52//C++ guard
53#ifdef __cplusplus
54extern "C" {
55#endif
56
57
62typedef struct
63{
64 SnmpAgentContext *context;
65 int32_t vacmViewSpinLock;
66 SnmpGroupEntry tempGroupEntry;
67 SnmpAccessEntry tempAccessEntry;
68 SnmpViewEntry tempViewEntry;
70
71
72//SNMP VACM MIB related constants
73extern SnmpVacmMibBase snmpVacmMibBase;
74extern const MibObject snmpVacmMibObjects[];
75extern const MibModule snmpVacmMibModule;
76
77//C++ guard
78#ifdef __cplusplus
79}
80#endif
81
82#endif
Common definitions for MIB modules.
SNMP agent (Simple Network Management Protocol)
MIB module.
Definition mib_common.h:288
Access table entry.
Definition snmp_agent_vacm.h:95
Group table entry.
Definition snmp_agent_vacm.h:82
SNMP VACM MIB base.
Definition snmp_vacm_mib_module.h:63
View table entry.
Definition snmp_agent_vacm.h:113