2 // SOSAccountTransaction.h
8 #ifndef SOSAccountTransaction_h
9 #define SOSAccountTransaction_h
11 typedef struct __OpaqueSOSAccountTransaction
*SOSAccountTransactionRef
;
13 #include <CoreFoundation/CoreFoundation.h>
14 #include <Security/SecureObjectSync/SOSAccount.h>
15 #include <CoreFoundation/CFRuntime.h>
17 CF_ASSUME_NONNULL_BEGIN
19 struct __OpaqueSOSAccountTransaction
{
22 _Nonnull SOSAccountRef account
;
25 _Nullable CFSetRef initialViews
;
27 _Nullable CFSetRef initialUnsyncedViews
;
28 _Nullable CFStringRef initialID
;
31 _Nullable CFDataRef initialKeyParameters
;
35 SOSAccountTransactionRef
SOSAccountTransactionCreate(SOSAccountRef account
);
36 void SOSAccountTransactionFinish(SOSAccountTransactionRef txn
);
37 void SOSAccountTransactionFinishAndRestart(SOSAccountTransactionRef txn
);
41 #endif /* SOSAccountTransaction_h */