mikroSDK Reference Manual
snmp_usm_mib_impl.h
Go to the documentation of this file.
1
31#ifndef _SNMP_USM_MIB_IMPL_H
32#define _SNMP_USM_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 USM MIB related functions
43error_t snmpUsmMibInit(void);
44error_t snmpUsmMibLoad(void *context);
45void snmpUsmMibUnload(void *context);
46void snmpUsmMibLock(void);
47void snmpUsmMibUnlock(void);
48
49error_t snmpUsmMibSetUserSpinLock(const MibObject *object, const uint8_t *oid,
50 size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit);
51
52error_t snmpUsmMibGetUserSpinLock(const MibObject *object, const uint8_t *oid,
53 size_t oidLen, MibVariant *value, size_t *valueLen);
54
55error_t snmpUsmMibSetUserEntry(const MibObject *object, const uint8_t *oid,
56 size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit);
57
58error_t snmpUsmMibGetUserEntry(const MibObject *object, const uint8_t *oid,
59 size_t oidLen, MibVariant *value, size_t *valueLen);
60
61error_t snmpUsmMibGetNextUserEntry(const MibObject *object, const uint8_t *oid,
62 size_t oidLen, uint8_t *nextOid, size_t *nextOidLen);
63
64//C++ guard
65#ifdef __cplusplus
66}
67#endif
68
69#endif
error_t
Error codes.
Definition error.h:43
Common definitions for MIB modules.