Struct that represent DNS queries.
More...
#include <dns.h>
Struct that represent DNS queries.
| Tins::DNS::query::query |
( |
std::string |
nm, |
|
|
QueryType |
tp, |
|
|
QueryClass |
cl |
|
) |
| |
|
inline |
Constructs a DNS query.
- Parameters
-
| nm | The name of the domain being resolved. |
| tp | The query type. |
| cl | The query class. |
| void Tins::DNS::query::dname |
( |
const std::string & |
nm | ) |
|
|
inline |
Setter for the name field.
- Parameters
-
| void Tins::DNS::query::query_class |
( |
QueryClass |
cl | ) |
|
|
inline |
Setter for the query class field.
- Parameters
-
| cl | The query class to be set. |
| void Tins::DNS::query::query_type |
( |
QueryType |
tp | ) |
|
|
inline |
Setter for the query type field.
- Parameters
-
| tp | The query type to be set. |
| Tins::DNS::query::TINS_DEPRECATED |
( |
void |
typeQueryType tp | ) |
|
|
inline |
The documentation for this class was generated from the following file:
- /home/matias/Projects/libtins/code/include/tins/dns.h