#include <SNMPpp/net-snmppp.hpp>
#include <string>
Go to the source code of this file.
|
typedef void * | SNMPpp::SessionHandle |
| net-snmp uses a void * for the "Single API" opaque session pointer, but SNMPpp prefers to have an actual named type to make it more obvious when passing the session pointer by reference in C++. More...
|
|
|
void | SNMPpp::closeSession (SessionHandle &sessionHandle) |
| Sessions must be closed when no longer needed. More...
|
|
void | SNMPpp::openSession (SessionHandle &sessionHandle, const std::string &server="udp:127.0.0.1:161", const std::string &community="public", const int version=SNMP_VERSION_2c, const int retryAttempts=3) |
| Open a net-snmp session and return a session handle. More...
|
|