1 2 3#ifndef sec_SOSTransportCircleKVS_h 4#define sec_SOSTransportCircleKVS_h 5 6#include <SecureObjectSync/SOSAccount.h> 7 8typedef struct __OpaqueSOSTransportCircleKVS * SOSTransportCircleKVSRef; 9 10SOSTransportCircleKVSRef SOSTransportCircleKVSCreate(SOSAccountRef account, CFStringRef circleName, CFErrorRef *error); 11SOSTransportKeyParameterRef SOSTransportKeyParameterCreateForSubclass(size_t size, SOSAccountRef account, CFErrorRef *error); 12 13bool SOSTransportCircleKVSAppendKeyInterest(SOSTransportCircleKVSRef transport, CFMutableArrayRef alwaysKeys, CFMutableArrayRef afterFirstUnlockKeys, CFMutableArrayRef unlockedKeys, CFErrorRef *error); 14 15void SOSTransportCircleKVSAddToPendingChanges(SOSTransportCircleKVSRef transport, CFStringRef message_key, CFDataRef message_data); 16bool SOSTransportCircleKVSSendPendingChanges(SOSTransportCircleKVSRef transport, CFErrorRef *error); 17 18 19#endif 20