1.1 --- a/Bonjour/MYBonjourRegistration.h Mon Jul 20 13:26:29 2009 -0700
1.2 +++ b/Bonjour/MYBonjourRegistration.h Mon Jul 20 14:50:49 2009 -0700
1.3 @@ -18,6 +18,8 @@
1.4 BOOL _autoRename;
1.5 BOOL _registered;
1.6 NSMutableDictionary *_txtRecord;
1.7 + NSData *_nullRecord;
1.8 + struct _DNSRecordRef_t *_nullRecordReg;
1.9 }
1.10
1.11 /** Initializes a new registration.
1.12 @@ -82,6 +84,11 @@
1.13 This is used when signing (and verifying signatures of) TXT records. */
1.14 + (NSData*) canonicalFormOfTXTRecordDictionary: (NSDictionary*)txtDict;
1.15
1.16 +/** A DNS 'NULL' record that can be used to publish other metadata about the service.
1.17 + For example, iChat uses this to store the user's buddy icon.
1.18 + As with all DNS records, try not to exceed 1500 bytes in size. */
1.19 +@property (copy) NSData *nullRecord;
1.20 +
1.21 //@}
1.22
1.23 @end