2 // SOSTransportCircleCK.m
5 // Created by Michelle Auricchio on 12/23/16.
9 #import <Foundation/Foundation.h>
10 #import "keychain/SecureObjectSync/SOSTransport.h"
11 #import "keychain/SecureObjectSync/SOSAccountPriv.h"
12 #import "SOSTransportCircleCK.h"
14 @implementation SOSCKCircleStorage
18 if ((self = [super init])) {
19 SOSRegisterTransportCircle(self);
24 -(id) initWithAccount:(SOSAccount*)acct
26 if ((self = [super init])) {
32 -(CFIndex) getTransportType
36 -(SOSAccount*) getAccount
41 -(bool) expireRetirementRecords:(CFDictionaryRef) retirements err:(CFErrorRef *)error
46 -(bool) flushChanges:(CFErrorRef *)error
50 -(bool) postCircle:(CFStringRef)circleName circleData:(CFDataRef)circle_data err:(CFErrorRef *)error
54 -(bool) postRetirement:(CFStringRef) circleName peer:(SOSPeerInfoRef) peer err:(CFErrorRef *)error
59 -(CFDictionaryRef)handleRetirementMessages:(CFMutableDictionaryRef) circle_retirement_messages_table err:(CFErrorRef *)error
63 -(CFArrayRef)CF_RETURNS_RETAINED handleCircleMessagesAndReturnHandledCopy:(CFMutableDictionaryRef) circle_circle_messages_table err:(CFErrorRef *)error