22OF_ASSUME_NONNULL_BEGIN
29OF_SUBCLASSING_RESTRICTED
46- (instancetype)initWithName: (
OFString *)name
49 TTL: (uint32_t)TTL OF_UNAVAILABLE;
62- (instancetype)initWithName: (
OFString *)name
64 preference: (uint16_t)preference
65 mailExchange: (
OFString *)mailExchange
66 TTL: (uint32_t)TTL OF_DESIGNATED_INITIALIZER;
OFDNSRecordType
The type of a DNS resource record.
Definition OFDNSResourceRecord.h:44
OFDNSClass
The DNS class.
Definition OFDNSResourceRecord.h:34
A class representing a DNS resource record.
Definition OFDNSResourceRecord.h:82
A class representing an MX DNS resource record.
Definition OFMXDNSResourceRecord.h:31
OFString * mailExchange
The mail exchange of the resource record.
Definition OFMXDNSResourceRecord.h:44
uint16_t preference
The preference of the resource record.
Definition OFMXDNSResourceRecord.h:39
A class for handling strings.
Definition OFString.h:143