InspIRCd  2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations
Public Member Functions | Public Attributes | List of all members
DNSResult Class Reference

#include <dns.h>

Public Member Functions

 DNSResult (int i, const std::string &res, unsigned long timetolive, const std::string &orig)

Public Attributes

int id
std::string result
unsigned long ttl
std::string original

Detailed Description

Result status, used internally

Constructor & Destructor Documentation

DNSResult::DNSResult ( int  i,
const std::string &  res,
unsigned long  timetolive,
const std::string &  orig 

Build a DNS result.

iThe request ID
resThe request result, a hostname or IP
timetoliveThe request time-to-live
origThe original request, a hostname or IP

Member Data Documentation

int DNSResult::id

Result ID

std::string DNSResult::original

The original request, a hostname or IP address

std::string DNSResult::result

Result body, a hostname or IP address

unsigned long DNSResult::ttl

Time-to-live value of the result

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