File: rec-snmp.hh

package info (click to toggle)
pdns-recursor 4.1.11-1+deb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,936 kB
  • sloc: cpp: 54,211; javascript: 26,587; sh: 11,872; makefile: 453; xml: 37
file content (19 lines) | stat: -rw-r--r-- 373 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef REC_SNMP_HH
#define REC_SNMP_HH

#pragma once

#include "snmp-agent.hh"

class RecursorSNMPAgent;

class RecursorSNMPAgent: public SNMPAgent
{
public:
  RecursorSNMPAgent(const std::string& name, const std::string& masterSocket);
  bool sendCustomTrap(const std::string& reason);
};

extern std::shared_ptr<RecursorSNMPAgent> g_snmpAgent;

#endif /* REC_SNMP_HH */