]> git.saurik.com Git - apple/security.git/blob - keychain/analytics/awd/AWDKeychainSecDbMarkedCorrupt.h
Security-58286.20.16.tar.gz
[apple/security.git] / keychain / analytics / awd / AWDKeychainSecDbMarkedCorrupt.h
1 // This file was automatically generated by protocompiler
2 // DO NOT EDIT!
3 // Compiled from stdin
4
5 #import <Foundation/Foundation.h>
6 #import <ProtocolBuffer/PBCodable.h>
7
8 #ifdef __cplusplus
9 #define AWDKEYCHAINSECDBMARKEDCORRUPT_FUNCTION extern "C"
10 #else
11 #define AWDKEYCHAINSECDBMARKEDCORRUPT_FUNCTION extern
12 #endif
13
14 @interface AWDKeychainSecDbMarkedCorrupt : PBCodable <NSCopying>
15 {
16 uint64_t _timestamp;
17 uint32_t _reason;
18 uint32_t _sqlitecode;
19 struct {
20 int timestamp:1;
21 int reason:1;
22 int sqlitecode:1;
23 } _has;
24 }
25
26
27 @property (nonatomic) BOOL hasTimestamp;
28 @property (nonatomic) uint64_t timestamp;
29
30 @property (nonatomic) BOOL hasReason;
31 @property (nonatomic) uint32_t reason;
32
33 @property (nonatomic) BOOL hasSqlitecode;
34 @property (nonatomic) uint32_t sqlitecode;
35
36 // Performs a shallow copy into other
37 - (void)copyTo:(AWDKeychainSecDbMarkedCorrupt *)other;
38
39 // Performs a deep merge from other into self
40 // If set in other, singular values in self are replaced in self
41 // Singular composite values are recursively merged
42 // Repeated values from other are appended to repeated values in self
43 - (void)mergeFrom:(AWDKeychainSecDbMarkedCorrupt *)other;
44
45 AWDKEYCHAINSECDBMARKEDCORRUPT_FUNCTION BOOL AWDKeychainSecDbMarkedCorruptReadFrom(__unsafe_unretained AWDKeychainSecDbMarkedCorrupt *self, __unsafe_unretained PBDataReader *reader);
46
47 @end
48