mikroSDK Reference Manual
snmp_agent_object.h
Go to the documentation of this file.
1
31#ifndef _SNMP_AGENT_OBJECT_H
32#define _SNMP_AGENT_OBJECT_H
33
34//Dependencies
35#include "core/net.h"
36#include "snmp/snmp_agent.h"
37
38//C++ guard
39#ifdef __cplusplus
40extern "C" {
41#endif
42
43//SNMP agent related functions
44error_t snmpSetObjectValue(SnmpAgentContext *context,
45 const SnmpMessage *message, SnmpVarBind *var, bool_t commit);
46
47error_t snmpGetObjectValue(SnmpAgentContext *context,
48 const SnmpMessage *message, SnmpVarBind *var);
49
50error_t snmpGetNextObject(SnmpAgentContext *context,
51 const SnmpMessage *message, SnmpVarBind *var);
52
53error_t snmpFindMibObject(SnmpAgentContext *context,
54 const uint8_t *oid, size_t oidLen, const MibObject **object);
55
56//C++ guard
57#ifdef __cplusplus
58}
59#endif
60
61#endif
error_t
Error codes.
Definition error.h:43
TCP/IP stack core.
SNMP agent (Simple Network Management Protocol)
SNMP message.
Definition snmp_agent_message.h:56
Variable binding.
Definition snmp_agent_message.h:114