1 #import "keychain/SecureObjectSync/SOSAccountPriv.h"
2 #include "keychain/SecureObjectSync/SOSTransport.h"
4 @implementation SOSCircleStorageTransport
6 @synthesize account = account;
13 -(SOSCircleStorageTransport*) initWithAccount:(SOSAccount*)acct
22 -(SOSAccount*)getAccount
27 -(CFIndex)circleGetTypeID
31 -(CFIndex)getTransportType
36 -(bool) expireRetirementRecords:(CFDictionaryRef) retirements err:(CFErrorRef *)error
41 -(bool) flushChanges:(CFErrorRef *)error
45 -(bool) postCircle:(CFStringRef)circleName circleData:(CFDataRef)circle_data err:(CFErrorRef *)error
50 -(bool) postRetirement:(CFStringRef) circleName peer:(SOSPeerInfoRef) peer err:(CFErrorRef *)error{
54 -(CFDictionaryRef)handleRetirementMessages:(CFMutableDictionaryRef) circle_retirement_messages_table err:(CFErrorRef *)error
56 return CFDictionaryCreateMutableForCFTypes(kCFAllocatorDefault);
59 -(CFArrayRef) handleCircleMessagesAndReturnHandledCopy:(CFMutableDictionaryRef) circle_circle_messages_table err:(CFErrorRef *)error
61 return CFArrayCreateMutableForCFTypes(kCFAllocatorDefault);