31#ifndef _SNMP_MIB_IMPL_H
32#define _SNMP_MIB_IMPL_H
44error_t snmpMibLoad(
void *context);
45void snmpMibUnload(
void *context);
46void snmpMibLock(
void);
47void snmpMibUnlock(
void);
49error_t snmpMibGetSysDescr(
const MibObject *
object,
const uint8_t *oid,
50 size_t oidLen, MibVariant *value,
size_t *valueLen);
52error_t snmpMibGetSysObjectID(
const MibObject *
object,
const uint8_t *oid,
53 size_t oidLen, MibVariant *value,
size_t *valueLen);
55error_t snmpMibGetSysUpTime(
const MibObject *
object,
const uint8_t *oid,
56 size_t oidLen, MibVariant *value,
size_t *valueLen);
58error_t snmpMibSetSysContact(
const MibObject *
object,
const uint8_t *oid,
59 size_t oidLen,
const MibVariant *value,
size_t valueLen, bool_t commit);
61error_t snmpMibGetSysContact(
const MibObject *
object,
const uint8_t *oid,
62 size_t oidLen, MibVariant *value,
size_t *valueLen);
64error_t snmpMibSetSysName(
const MibObject *
object,
const uint8_t *oid,
65 size_t oidLen,
const MibVariant *value,
size_t valueLen, bool_t commit);
67error_t snmpMibGetSysName(
const MibObject *
object,
const uint8_t *oid,
68 size_t oidLen, MibVariant *value,
size_t *valueLen);
70error_t snmpMibSetSysLocation(
const MibObject *
object,
const uint8_t *oid,
71 size_t oidLen,
const MibVariant *value,
size_t valueLen, bool_t commit);
73error_t snmpMibGetSysLocation(
const MibObject *
object,
const uint8_t *oid,
74 size_t oidLen, MibVariant *value,
size_t *valueLen);
76error_t snmpMibGetSysOREntry(
const MibObject *
object,
const uint8_t *oid,
77 size_t oidLen, MibVariant *value,
size_t *valueLen);
79error_t snmpMibGetNextSysOREntry(
const MibObject *
object,
const uint8_t *oid,
80 size_t oidLen, uint8_t *nextOid,
size_t *nextOidLen);
82error_t snmpv2MibGetSnmpTrapOID(
const MibObject *
object,
const uint8_t *oid,
83 size_t oidLen, MibVariant *value,
size_t *valueLen);
85error_t snmpv2MibGetSnmpTrapEnterprise(
const MibObject *
object,
const uint8_t *oid,
86 size_t oidLen, MibVariant *value,
size_t *valueLen);
88error_t snmpMibSetSnmpSetSerialNo(
const MibObject *
object,
const uint8_t *oid,
89 size_t oidLen,
const MibVariant *value,
size_t valueLen, bool_t commit);
91error_t snmpMibGetSnmpSetSerialNo(
const MibObject *
object,
const uint8_t *oid,
92 size_t oidLen, MibVariant *value,
size_t *valueLen);
error_t
Error codes.
Definition error.h:43
Common definitions for MIB modules.