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
Go to the documentation of this file.
1
// SNMPpp: https://sourceforge.net/p/snmppp/
2
// SNMPpp project uses the MIT license. See LICENSE for details.
3
// Copyright (C) 2013 Stephane Charette <stephanecharette@gmail.com>
4
5
#pragma once
6
12
#include <stdlib.h>
// needed by net-snmp/utilities.h
13
#include <net-snmp/net-snmp-config.h>
14
#include <net-snmp/config_api.h>
15
#include <net-snmp/output_api.h>
16
#include <net-snmp/session_api.h>
17
#include <net-snmp/varbind_api.h>
18
#include <net-snmp/mib_api.h>
19
#include <net-snmp/pdu_api.h>
20
#include <net-snmp/utilities.h>
21
#include <net-snmp/agent/agent_trap.h>
22
#include <net-snmp/agent/snmp_agent.h>
23
#include <net-snmp/agent/snmp_vars.h>
24
#include <net-snmp/agent/ds_agent.h>
25
26
#include <string>
27
28
29
namespace
SNMPpp
30
{
32
void
netsnmpDisableLogging
(
void
);
33
35
void
netsnmpLogStdErr
(
const
bool
enabled =
true
);
36
38
void
netsnmpLogSyslog
(
const
bool
enabled =
true
);
39
41
void
netsnmpLogToFile
(
const
bool
enabled =
true
,
const
std::string &filename =
"/var/log/netsnmp.log"
);
42
};
include
SNMPpp
net-snmppp.hpp
Generated on Sun Feb 2 2014 11:02:31 for SNMPpp by
1.8.4