ToolX
1.11.1 [e3f477f]
A GUI debug tool chain for diagnosing GVA systems
Loading...
Searching...
No Matches
snmp.h
Go to the documentation of this file.
1
//
2
// Copyright (c) 2026, Astute Systems PTY LTD
3
//
4
// This file is part of the VivoeX project developed by Astute Systems.
5
//
6
// License. See the LICENSE file in the project root for full license details.
7
//
13
14
#ifndef SNMP_SNMP_H
15
#define SNMP_SNMP_H
16
17
#include <QObject>
18
#include <QStandardItem>
19
#include <QStandardItemModel>
20
21
#include <net-snmp/net-snmp-config.h>
22
#include <net-snmp/net-snmp-includes.h>
23
#include <net-snmp/library/snmp_api.h>
24
#include <net-snmp/net-snmp-config.h>
25
#include <net-snmp/mib_api.h>
26
#include <net-snmp/types.h>
27
#include <net-snmp/library/parse.h>
28
29
#include <QTreeView>
30
#include "../ui_toolx.h"
31
#include "config.h"
32
33
class
Snmp
:
public
QObject
34
{
35
Q_OBJECT
36
37
public
:
42
explicit
Snmp
(Ui::Dialog &ui,
Config
*configuration);
43
51
QTreeView *
GetMib
(QString host,
const
char
*community,
const
char
*oid);
52
53
char
*GetPdu(QStandardItemModel *model, netsnmp_session *ss,
const
char
*the_oid,
54
int
*next_oid_len);
55
56
signals:
57
58
void
nextOid(std::string *next_oid);
59
public
slots:
60
// void nextPdu(std::string *next_oid);
61
62
private
:
63
Ui::Dialog &m_ui;
64
Config
*m_configuration;
65
};
66
67
#endif
// SNMP_SNMP_H
Config
Definition
config.h:33
Snmp::GetMib
QTreeView * GetMib(QString host, const char *community, const char *oid)
Walk the MIB.
Definition
snmp.cpp:133
Snmp::Snmp
Snmp(Ui::Dialog &ui, Config *configuration)
Construct a new Sap Manager object.
Definition
snmp.cpp:227
src
snmp
snmp.h
Generated by
1.15.0