]>
Commit | Line | Data |
---|---|---|
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 | ||
11 | typedef struct __OpaqueSOSTransportMessageKVS *SOSTransportMessageKVSRef; | |
12 | ||
13 | SOSTransportMessageKVSRef SOSTransportMessageKVSCreate(SOSAccountRef account, CFStringRef circleName, CFErrorRef *error); | |
14 | ||
d8f41ccd A |
15 | // |
16 | // Key interests | |
17 | // | |
18 | ||
d8f41ccd A |
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 |