mikroSDK Reference Manual
mib2_impl_sys.h
Go to the documentation of this file.
1
31#ifndef _MIB2_IMPL_SYS_H
32#define _MIB2_IMPL_SYS_H
33
34//Dependencies
35#include "core/net.h"
36#include "mibs/mib2_module.h"
37
38//C++ guard
39#ifdef __cplusplus
40extern "C" {
41#endif
42
43//MIB-II related functions
44error_t mib2GetSysObjectID(const MibObject *object, const uint8_t *oid,
45 size_t oidLen, MibVariant *value, size_t *valueLen);
46
47error_t mib2GetSysUpTime(const MibObject *object, const uint8_t *oid,
48 size_t oidLen, MibVariant *value, size_t *valueLen);
49
50error_t mib2SetSysContact(const MibObject *object, const uint8_t *oid,
51 size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit);
52
53error_t mib2GetSysContact(const MibObject *object, const uint8_t *oid,
54 size_t oidLen, MibVariant *value, size_t *valueLen);
55
56error_t mib2SetSysName(const MibObject *object, const uint8_t *oid,
57 size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit);
58
59error_t mib2GetSysName(const MibObject *object, const uint8_t *oid,
60 size_t oidLen, MibVariant *value, size_t *valueLen);
61
62error_t mib2SetSysLocation(const MibObject *object, const uint8_t *oid,
63 size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit);
64
65error_t mib2GetSysLocation(const MibObject *object, const uint8_t *oid,
66 size_t oidLen, MibVariant *value, size_t *valueLen);
67
68//C++ guard
69#ifdef __cplusplus
70}
71#endif
72
73#endif
error_t
Error codes.
Definition error.h:43
MIB-II module.
TCP/IP stack core.