ObjFW  Check-in [ae0c9ca65f]

Overview
Comment:OFDNSResourceRecord: Conform to OFCopying

This is useful in case we ever want to add a mutable version.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: ae0c9ca65f56fdc93d4e5d6491736bcfce5df57a68391a6921eed242d5457ac1
User & Date: js on 2019-01-27 15:39:18
Other Links: manifest | tags
Context
2019-01-27
16:07
platform.h: Add AIX check-in: 9d134295b5 user: js tags: trunk
15:39
OFDNSResourceRecord: Conform to OFCopying check-in: ae0c9ca65f user: js tags: trunk
2019-01-23
20:15
objfw-config: Use . instead of source check-in: 13e580b7e6 user: js tags: trunk
Changes

Modified src/OFDNSResourceRecord.h from [09ff7fc7f4] to [4893d76bc3].

67
68
69
70
71
72
73
74

75
76
77
78
79
80
81
67
68
69
70
71
72
73

74
75
76
77
78
79
80
81







-
+







} of_dns_resource_record_type_t;

/*!
 * @class OFDNSResourceRecord OFDNSResourceRecord.h ObjFW/OFDNSResourceRecord.h
 *
 * @brief A class representing a DNS resource record.
 */
@interface OFDNSResourceRecord: OFObject
@interface OFDNSResourceRecord: OFObject <OFCopying>
{
	OFString *_name;
	of_dns_resource_record_class_t _recordClass;
	of_dns_resource_record_type_t _recordType;
	uint32_t _TTL;
}

Modified src/OFDNSResourceRecord.m from [d015656dd1] to [46064a3180].

152
153
154
155
156
157
158





159
160
161
162
163
164
165
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170







+
+
+
+
+








- (void)dealloc
{
	[_name release];

	[super dealloc];
}

- (id)copy
{
	return [self retain];
}

- (OFString *)description
{
	return [OFString stringWithFormat:
	    @"<%@:\n"
	    @"\tName = %@\n"
	    @"\tClass = %@\n"