mikroSDK Reference Manual
snmp_community_mib_impl.h
Go to the documentation of this file.
1
36#ifndef _SNMP_COMMUNITY_MIB_IMPL_H
37#define _SNMP_COMMUNITY_MIB_IMPL_H
38
39//Dependencies
40#include "mibs/mib_common.h"
41
42//C++ guard
43#ifdef __cplusplus
44extern "C" {
45#endif
46
47//SNMP COMMUNITY MIB related functions
48error_t snmpCommunityMibInit(void);
49error_t snmpCommunityMibLoad(void *context);
50void snmpCommunityMibUnload(void *context);
51void snmpCommunityMibLock(void);
52void snmpCommunityMibUnlock(void);
53
54error_t snmpCommunityMibSetCommunityEntry(const MibObject *object, const uint8_t *oid,
55 size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit);
56
57error_t snmpCommunityMibGetCommunityEntry(const MibObject *object, const uint8_t *oid,
58 size_t oidLen, MibVariant *value, size_t *valueLen);
59
60error_t snmpCommunityMibGetNextCommunityEntry(const MibObject *object, const uint8_t *oid,
61 size_t oidLen, uint8_t *nextOid, size_t *nextOidLen);
62
63//C++ guard
64#ifdef __cplusplus
65}
66#endif
67
68#endif
error_t
Error codes.
Definition error.h:43
Common definitions for MIB modules.