All net-snmp includes needed by SNMPpp can be easily included by using net-snmppp.hpp. More...
#include <stdlib.h>
#include <net-snmp/net-snmp-config.h>
#include <net-snmp/config_api.h>
#include <net-snmp/output_api.h>
#include <net-snmp/session_api.h>
#include <net-snmp/varbind_api.h>
#include <net-snmp/mib_api.h>
#include <net-snmp/pdu_api.h>
#include <net-snmp/utilities.h>
#include <net-snmp/agent/agent_trap.h>
#include <net-snmp/agent/snmp_agent.h>
#include <net-snmp/agent/snmp_vars.h>
#include <net-snmp/agent/ds_agent.h>
#include <string>
Go to the source code of this file.
Namespaces | |
SNMPpp | |
Constant Groups | |
SNMPpp | |
Functions | |
void | SNMPpp::netsnmpDisableLogging (void) |
Disable net-snmp logging. More... | |
void | SNMPpp::netsnmpLogStdErr (const bool enabled=true) |
Toggle net-snmp logging to STDERR. More... | |
void | SNMPpp::netsnmpLogSyslog (const bool enabled=true) |
Toggle net-snmp logging to syslog. More... | |
void | SNMPpp::netsnmpLogToFile (const bool enabled=true, const std::string &filename="/var/log/netsnmp.log") |
Toggle net-snmp logging to an external file. More... | |
All net-snmp includes needed by SNMPpp can be easily included by using net-snmppp.hpp.
No other SNMPpp source files should have to include additional net-snmp headers to compile SNMPpp.