]> git.ipfire.org Git - thirdparty/pdns.git/blob - pdns/rec-snmp.hh
Merge pull request #8223 from PowerDNS/omoerbeek-patch-1
[thirdparty/pdns.git] / pdns / rec-snmp.hh
1 #ifndef REC_SNMP_HH
2 #define REC_SNMP_HH
3
4 #pragma once
5
6 #include "snmp-agent.hh"
7
8 class RecursorSNMPAgent;
9
10 class RecursorSNMPAgent: public SNMPAgent
11 {
12 public:
13 RecursorSNMPAgent(const std::string& name, const std::string& masterSocket);
14 bool sendCustomTrap(const std::string& reason);
15 };
16
17 extern std::shared_ptr<RecursorSNMPAgent> g_snmpAgent;
18
19 #endif /* REC_SNMP_HH */