]> git.saurik.com Git - apple/security.git/blame - OSX/sec/SOSCircle/SecureObjectSync/SOSTransportMessageKVS.h
Security-57740.51.3.tar.gz
[apple/security.git] / OSX / sec / SOSCircle / SecureObjectSync / SOSTransportMessageKVS.h
CommitLineData
d8f41ccd
A
1
2
3#ifndef sec_SOSTransportMessageKVS_h
4#define sec_SOSTransportMessageKVS_h
5c19dc3a 5#include <Security/SecureObjectSync/SOSAccount.h>
d8f41ccd
A
6
7//
8// KVS Stuff
9//
10
11typedef struct __OpaqueSOSTransportMessageKVS *SOSTransportMessageKVSRef;
12
13SOSTransportMessageKVSRef SOSTransportMessageKVSCreate(SOSAccountRef account, CFStringRef circleName, CFErrorRef *error);
14
d8f41ccd
A
15//
16// Key interests
17//
18
d8f41ccd
A
19
20bool SOSTransportMessageKVSAppendKeyInterest(SOSTransportMessageKVSRef transport, CFMutableArrayRef alwaysKeys, CFMutableArrayRef afterFirstUnlockKeys, CFMutableArrayRef unlockedKeys, CFErrorRef *localError);
21
22bool SOSTransportMessageSendMessageIfNeeded(SOSTransportMessageRef transport, CFStringRef circle_id, CFStringRef peer_id, CFErrorRef *error);
23
24#endif