X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/84aacf34eae6543be9f0280b2015385f91e5c2c6..b54c578e17e9bcbd74aa30ea75e25e955b9a6205:/keychain/ot/proto/generated_source/OTSOSMessage.h diff --git a/keychain/ot/proto/generated_source/OTSOSMessage.h b/keychain/ot/proto/generated_source/OTSOSMessage.h new file mode 100644 index 00000000..e515077e --- /dev/null +++ b/keychain/ot/proto/generated_source/OTSOSMessage.h @@ -0,0 +1,48 @@ +// This file was automatically generated by protocompiler +// DO NOT EDIT! +// Compiled from OTPairingMessage.proto + +#import +#import + +#ifdef __cplusplus +#define OTSOSMESSAGE_FUNCTION extern "C" __attribute__((visibility("hidden"))) +#else +#define OTSOSMESSAGE_FUNCTION extern __attribute__((visibility("hidden"))) +#endif + +__attribute__((visibility("hidden"))) +@interface OTSOSMessage : PBCodable +{ + NSData *_circleBlob; + NSData *_credential; + NSData *_initialSyncItems; + NSData *_peerInfo; +} + + +@property (nonatomic, readonly) BOOL hasCredential; +@property (nonatomic, retain) NSData *credential; + +@property (nonatomic, readonly) BOOL hasPeerInfo; +@property (nonatomic, retain) NSData *peerInfo; + +@property (nonatomic, readonly) BOOL hasCircleBlob; +@property (nonatomic, retain) NSData *circleBlob; + +@property (nonatomic, readonly) BOOL hasInitialSyncItems; +@property (nonatomic, retain) NSData *initialSyncItems; + +// Performs a shallow copy into other +- (void)copyTo:(OTSOSMessage *)other; + +// Performs a deep merge from other into self +// If set in other, singular values in self are replaced in self +// Singular composite values are recursively merged +// Repeated values from other are appended to repeated values in self +- (void)mergeFrom:(OTSOSMessage *)other; + +OTSOSMESSAGE_FUNCTION BOOL OTSOSMessageReadFrom(__unsafe_unretained OTSOSMessage *self, __unsafe_unretained PBDataReader *reader); + +@end +