|
ObjFW
|
import "OFObject.h"import "OFSocket.h"import "OFString.h"import "OFAAAADNSResourceRecord.h"import "OFADNSResourceRecord.h"import "OFCNAMEDNSResourceRecord.h"import "OFHINFODNSResourceRecord.h"import "OFLOCDNSResourceRecord.h"import "OFMXDNSResourceRecord.h"import "OFNSDNSResourceRecord.h"import "OFPTRDNSResourceRecord.h"import "OFRPDNSResourceRecord.h"import "OFSOADNSResourceRecord.h"import "OFSRVDNSResourceRecord.h"import "OFTXTDNSResourceRecord.h"import "OFURIDNSResourceRecord.h"Go to the source code of this file.
Classes | |
| class | OFDNSResourceRecord |
| A class representing a DNS resource record. More... | |
Enumerations | |
| enum | OFDNSClass { OFDNSClassIN = 1 , OFDNSClassAny = 255 } |
| The DNS class. More... | |
| enum | OFDNSRecordType { OFDNSRecordTypeA = 1 , OFDNSRecordTypeNS = 2 , OFDNSRecordTypeCNAME = 5 , OFDNSRecordTypeSOA = 6 , OFDNSRecordTypePTR = 12 , OFDNSRecordTypeHINFO = 13 , OFDNSRecordTypeMX = 15 , OFDNSRecordTypeTXT = 16 , OFDNSRecordTypeRP = 17 , OFDNSRecordTypeAAAA = 28 , OFDNSRecordTypeLOC = 29 , OFDNSRecordTypeSRV = 33 , OFDNSRecordTypeAll = 255 , OFDNSRecordTypeURI = 256 } |
| The type of a DNS resource record. More... | |
Functions | |
| OFString * | OFDNSClassName (OFDNSClass DNSClass) |
| Returns the name for the specified OFDNSClass. | |
| OFString * | OFDNSRecordTypeName (OFDNSRecordType recordType) |
| Returns the name for the specified OFDNSRecordType. | |
| OFDNSClass | OFDNSClassParseName (OFString *string) |
| Parses the specified string as an OFDNSClass. | |
| OFDNSRecordType | OFDNSRecordTypeParseName (OFString *string) |
| Parses the specified string as an OFDNSRecordType. | |
| enum OFDNSClass |
| enum OFDNSRecordType |
The type of a DNS resource record.
|
extern |
Returns the name for the specified OFDNSClass.
| DNSClass | The OFDNSClass to return the name for |
|
extern |
Parses the specified string as an OFDNSClass.
| string | The string to parse as an OFDNSClass |
| OFInvalidFormatException | The specified string is not valid DNS class |
|
extern |
Returns the name for the specified OFDNSRecordType.
| recordType | The OFDNSRecordType to return the name for |
|
extern |
Parses the specified string as an OFDNSRecordType.
| string | The string to parse as an OFDNSRecordType |
| OFInvalidFormatException | The specified string is not valid DNS class |