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
20 SOSRegisterTransportCircle(self);
25 -(id) initWithAccount:(SOSAccount*)acct
35 -(CFIndex) getTransportType
39 -(SOSAccount*) getAccount
44 -(bool) expireRetirementRecords:(CFDictionaryRef) retirements err:(CFErrorRef *)error
49 -(bool) flushChanges:(CFErrorRef *)error
53 -(bool) postCircle:(CFStringRef)circleName circleData:(CFDataRef)circle_data err:(CFErrorRef *)error
57 -(bool) postRetirement:(CFStringRef) circleName peer:(SOSPeerInfoRef) peer err:(CFErrorRef *)error
62 -(CFDictionaryRef)handleRetirementMessages:(CFMutableDictionaryRef) circle_retirement_messages_table err:(CFErrorRef *)error
66 -(CFArrayRef)CF_RETURNS_RETAINED handleCircleMessagesAndReturnHandledCopy:(CFMutableDictionaryRef) circle_circle_messages_table err:(CFErrorRef *)error