]> git.saurik.com Git - apple/security.git/blobdiff - keychain/ot/proto/generated_source/OTSOSMessage.h
Security-59306.11.20.tar.gz
[apple/security.git] / 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 (file)
index 0000000..e515077
--- /dev/null
@@ -0,0 +1,48 @@
+// This file was automatically generated by protocompiler
+// DO NOT EDIT!
+// Compiled from OTPairingMessage.proto
+
+#import <Foundation/Foundation.h>
+#import <ProtocolBuffer/PBCodable.h>
+
+#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 <NSCopying>
+{
+    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
+