diff -r 46c7844cb592 -r dd637bdd214e Bonjour/MYBonjourRegistration.h --- a/Bonjour/MYBonjourRegistration.h Mon Jul 20 13:26:29 2009 -0700 +++ b/Bonjour/MYBonjourRegistration.h Mon Jul 20 14:50:49 2009 -0700 @@ -18,6 +18,8 @@ BOOL _autoRename; BOOL _registered; NSMutableDictionary *_txtRecord; + NSData *_nullRecord; + struct _DNSRecordRef_t *_nullRecordReg; } /** Initializes a new registration. @@ -82,6 +84,11 @@ This is used when signing (and verifying signatures of) TXT records. */ + (NSData*) canonicalFormOfTXTRecordDictionary: (NSDictionary*)txtDict; +/** A DNS 'NULL' record that can be used to publish other metadata about the service. + For example, iChat uses this to store the user's buddy icon. + As with all DNS records, try not to exceed 1500 bytes in size. */ +@property (copy) NSData *nullRecord; + //@} @end