class NSECRecordContent : public DNSRecordContent
{
public:
- static void report(void);
+ static void report();
NSECRecordContent() = default;
NSECRecordContent(const string& content, const DNSName& zone=DNSName());
class NSEC3RecordContent : public DNSRecordContent
{
public:
- static void report(void);
+ static void report();
NSEC3RecordContent() = default;
NSEC3RecordContent(const string& content, const DNSName& zone=DNSName());
class CSYNCRecordContent : public DNSRecordContent
{
public:
- static void report(void);
+ static void report();
CSYNCRecordContent() = default;
CSYNCRecordContent(const string& content, const DNSName& zone=DNSName());
class NSEC3PARAMRecordContent : public DNSRecordContent
{
public:
- static void report(void);
+ static void report();
NSEC3PARAMRecordContent() = default;
NSEC3PARAMRecordContent(const string& content, const DNSName& zone=DNSName());
class LOCRecordContent : public DNSRecordContent
{
public:
- static void report(void);
+ static void report();
LOCRecordContent() = default;
LOCRecordContent(const string& content, const string& zone="");
{
public:
EUI48RecordContent() = default;
- static void report(void);
+ static void report();
static std::shared_ptr<DNSRecordContent> make(const DNSRecord &dr, PacketReader& pr);
static std::shared_ptr<DNSRecordContent> make(const string& zone); // FIXME400: DNSName& zone?
string getZoneRepresentation(bool noDot=false) const override;
{
public:
EUI64RecordContent() = default;
- static void report(void);
+ static void report();
static std::shared_ptr<DNSRecordContent> make(const DNSRecord &dr, PacketReader& pr);
static std::shared_ptr<DNSRecordContent> make(const string& zone); // FIXME400: DNSName& zone?
string getZoneRepresentation(bool noDot=false) const override;
static bool canDoAXFR(std::unique_ptr<DNSPacket>& q, bool isAXFR, std::unique_ptr<PacketHandler>& packetHandler);
static void doConnection(int fd);
static void decrementClientCount(const ComboAddress& remote);
- void thread(void);
+ void thread();
static LockGuarded<std::map<ComboAddress,size_t,ComboAddress::addressOnlyLessThan>> s_clientsCount;
static LockGuarded<std::unique_ptr<PacketHandler>> s_P;
static std::unique_ptr<Semaphore> d_connectionroom_sem;
Semaphore( unsigned int value = 0 );
//! Destructor.
- ~Semaphore( void );
+ ~Semaphore();
//! Posts to a semaphore.
- int post( void );
+ int post();
//! Waits for a semaphore.
- int wait( void );
+ int wait();
//! Tries to wait for a semaphore.
- int tryWait( void );
+ int tryWait();
//! Retrieves the semaphore value.
int getValue( Semaphore::sem_value_t *sval );
int timeout_usec);
//! Returns the process id of the current process.
- static pid_t getpid( void );
+ static pid_t getpid();
//! Gets the current time.
static int gettimeofday( struct timeval *tv, void *tz = NULL );