]>
Commit | Line | Data |
---|---|---|
1 | ||
2 | ||
3 | #ifndef sec_SOSTransportMessageKVS_h | |
4 | #define sec_SOSTransportMessageKVS_h | |
5 | #include <Security/SecureObjectSync/SOSAccount.h> | |
6 | ||
7 | // | |
8 | // KVS Stuff | |
9 | // | |
10 | ||
11 | typedef struct __OpaqueSOSTransportMessageKVS *SOSTransportMessageKVSRef; | |
12 | ||
13 | SOSTransportMessageKVSRef SOSTransportMessageKVSCreate(SOSAccountRef account, CFStringRef circleName, CFErrorRef *error); | |
14 | ||
15 | // | |
16 | // Key interests | |
17 | // | |
18 | ||
19 | ||
20 | bool SOSTransportMessageKVSAppendKeyInterest(SOSTransportMessageKVSRef transport, CFMutableArrayRef alwaysKeys, CFMutableArrayRef afterFirstUnlockKeys, CFMutableArrayRef unlockedKeys, CFErrorRef *localError); | |
21 | ||
22 | bool SOSTransportMessageSendMessageIfNeeded(SOSTransportMessageRef transport, CFStringRef circle_id, CFStringRef peer_id, CFErrorRef *error); | |
23 | ||
24 | #endif |