RDMnet
0.3.0
Implementation of ANSI E1.33 (RDMnet)
|
View other versions:
|
A key/value pair representing a DNS TXT record item.
The key and value combined cannot be more than 255 bytes in length.
#include <rdmnet/cpp/broker.h>
Public Member Functions | |
DnsTxtRecordItem (const char *new_key, const char *new_value) | |
Construct a DnsTxtRecordItem from a C-string key and value. | |
DnsTxtRecordItem (const char *new_key, const uint8_t *new_value, size_t new_value_len) | |
Construct a DnsTxtRecordItem from a C-string key and a binary value. | |
DnsTxtRecordItem (const std::string &new_key, const std::string &new_value) | |
Construct a DnsTxtRecordItem from a string key and value. | |
DnsTxtRecordItem (const std::string &new_key, const uint8_t *new_value, size_t new_value_len) | |
Construct a DnsTxtRecordItem from a string key and a binary value. | |
DnsTxtRecordItem (const std::string &new_key, const std::vector< uint8_t > &new_value) | |
Construct a DnsTxtRecordItem from a string key and a binary value. | |
Data Fields | |
std::string | key |
The key is an ASCII-only string. | |
std::vector< uint8_t > | value |
The value is opaque binary data. | |