1.1 --- a/Bonjour/MYBonjourRegistration.h Mon Jul 20 14:50:49 2009 -0700
1.2 +++ b/Bonjour/MYBonjourRegistration.h Fri Jul 24 14:06:28 2009 -0700
1.3 @@ -53,10 +53,10 @@
1.4
1.5
1.6 /** The service's metadata dictionary, stored in its DNS TXT record */
1.7 -@property (copy) NSDictionary *txtRecord;
1.8 +@property (copy) NSDictionary *TXTRecord;
1.9
1.10 /** Convenience to store a string value in a single TXT record key. */
1.11 -- (void) setString: (NSString*)value forTxtKey: (NSString*)key;
1.12 +- (void) setString: (NSString*)value forTXTKey: (NSString*)key;
1.13
1.14
1.15 /** @name Expert
1.16 @@ -80,6 +80,10 @@
1.17 /** Is this browsed service an echo of this local registration? (Compares fullNames.) */
1.18 - (BOOL) isSameAsService: (MYBonjourService*)service;
1.19
1.20 +/** Immediately broadcast the current TXT record. (Normally, there is a 0.1 second delay
1.21 + after you make changes, in order to coalesce multiple changes.) */
1.22 +- (void) updateTXTRecord;
1.23 +
1.24 /** Converts a TXT record dictionary to data in a consistent way.
1.25 This is used when signing (and verifying signatures of) TXT records. */
1.26 + (NSData*) canonicalFormOfTXTRecordDictionary: (NSDictionary*)txtDict;