SNMPpp  v0.0.3-20-7eeb228
Classes, methods, and functions to use net-snmp from C++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
net-snmppp.hpp File Reference

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>
Include dependency graph for net-snmppp.hpp:
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

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.