Anope IRC Services  Version 2.0
Data Structures | Public Member Functions | Data Fields
DNS::Question Struct Reference

#include <dns.h>

Inheritance diagram for DNS::Question:
Inheritance graph
[legend]
Collaboration diagram for DNS::Question:
Collaboration graph
[legend]

Data Structures

struct  hash
 

Public Member Functions

 Question ()
 
 Question (const Anope::string &n, QueryType t, unsigned short c=1)
 
bool operator== (const Question &other) const
 

Data Fields

Anope::string name
 
QueryType type
 
unsigned short qclass
 

Detailed Description

Definition at line 74 of file dns.h.

Constructor & Destructor Documentation

DNS::Question::Question ( )
inline

Definition at line 80 of file dns.h.

DNS::Question::Question ( const Anope::string n,
QueryType  t,
unsigned short  c = 1 
)
inline

Definition at line 81 of file dns.h.

Member Function Documentation

bool DNS::Question::operator== ( const Question other) const
inline

Definition at line 82 of file dns.h.

References name, qclass, and type.

Field Documentation

Anope::string DNS::Question::name
unsigned short DNS::Question::qclass

Definition at line 78 of file dns.h.

Referenced by operator==(), Packet::Pack(), and Packet::UnpackQuestion().

QueryType DNS::Question::type

The documentation for this struct was generated from the following file: