1 #import "keychain/SecureObjectSync/SOSAccountPriv.h"
2 #include "keychain/SecureObjectSync/SOSTransport.h"
4 @implementation SOSCircleStorageTransport
6 @synthesize account = account;
13 -(SOSCircleStorageTransport*) initWithAccount:(SOSAccount*)acct
15 if ((self = [super init])) {
21 -(SOSAccount*)getAccount
26 -(CFIndex)circleGetTypeID
30 -(CFIndex)getTransportType
35 -(bool) expireRetirementRecords:(CFDictionaryRef) retirements err:(CFErrorRef *)error
40 -(bool) flushChanges:(CFErrorRef *)error
44 -(bool) postCircle:(CFStringRef)circleName circleData:(CFDataRef)circle_data err:(CFErrorRef *)error
49 -(bool) postRetirement:(CFStringRef) circleName peer:(SOSPeerInfoRef) peer err:(CFErrorRef *)error{
53 -(CFDictionaryRef)handleRetirementMessages:(CFMutableDictionaryRef) circle_retirement_messages_table err:(CFErrorRef *)error
55 return CFDictionaryCreateMutableForCFTypes(kCFAllocatorDefault);
58 -(CFArrayRef) handleCircleMessagesAndReturnHandledCopy:(CFMutableDictionaryRef) circle_circle_messages_table err:(CFErrorRef *)error
60 return CFArrayCreateMutableForCFTypes(kCFAllocatorDefault);