mikroSDK Reference Manual
snmp_vacm_mib_impl.h
Go to the documentation of this file.
1
31#ifndef _SNMP_VACM_MIB_IMPL_H
32#define _SNMP_VACM_MIB_IMPL_H
33
34//Dependencies
35#include "mibs/mib_common.h"
36
37//C++ guard
38#ifdef __cplusplus
39extern "C" {
40#endif
41
42//SNMP VACM MIB related functions
43error_t snmpVacmMibInit(void);
44error_t snmpVacmMibLoad(void *context);
45void snmpVacmMibUnload(void *context);
46void snmpVacmMibLock(void);
47void snmpVacmMibUnlock(void);
48
49error_t snmpVacmMibGetContextEntry(const MibObject *object,
50 const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen);
51
52error_t snmpVacmMibGetNextContextEntry(const MibObject *object,
53 const uint8_t *oid, size_t oidLen, uint8_t *nextOid, size_t *nextOidLen);
54
55error_t snmpVacmMibSetSecurityToGroupEntry(const MibObject *object, const uint8_t *oid,
56 size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit);
57
58error_t snmpVacmMibGetSecurityToGroupEntry(const MibObject *object,
59 const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen);
60
61error_t snmpVacmMibGetNextSecurityToGroupEntry(const MibObject *object,
62 const uint8_t *oid, size_t oidLen, uint8_t *nextOid, size_t *nextOidLen);
63
64error_t snmpVacmMibSetAccessEntry(const MibObject *object, const uint8_t *oid,
65 size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit);
66
67error_t snmpVacmMibGetAccessEntry(const MibObject *object,
68 const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen);
69
70error_t snmpVacmMibGetNextAccessEntry(const MibObject *object,
71 const uint8_t *oid, size_t oidLen, uint8_t *nextOid, size_t *nextOidLen);
72
73error_t snmpVacmMibSetViewSpinLock(const MibObject *object, const uint8_t *oid,
74 size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit);
75
76error_t snmpVacmMibGetViewSpinLock(const MibObject *object,
77 const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen);
78
79error_t snmpVacmMibSetViewTreeFamilyEntry(const MibObject *object, const uint8_t *oid,
80 size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit);
81
82error_t snmpVacmMibGetViewTreeFamilyEntry(const MibObject *object,
83 const uint8_t *oid, size_t oidLen, MibVariant *value, size_t *valueLen);
84
85error_t snmpVacmMibGetNextViewTreeFamilyEntry(const MibObject *object,
86 const uint8_t *oid, size_t oidLen, uint8_t *nextOid, size_t *nextOidLen);
87
88//C++ guard
89#ifdef __cplusplus
90}
91#endif
92
93#endif
error_t
Error codes.
Definition error.h:43
Common definitions for MIB modules.