]> git.saurik.com Git - apple/security.git/blob - KVSKeychainSyncingProxy/CKDStore.h
Security-58286.51.6.tar.gz
[apple/security.git] / KVSKeychainSyncingProxy / CKDStore.h
1 //
2 // CKDStore.h
3 // Security
4 //
5 //
6
7 #import <Foundation/Foundation.h>
8
9 @class UbiqitousKVSProxy;
10
11 @protocol CKDStore <NSObject>
12
13 - (void)connectToProxy: (UbiqitousKVSProxy*) proxy;
14
15 - (NSObject*)objectForKey:(NSString*)key;
16
17 - (void)setObject:(id)obj forKey:(NSString*)key;
18 - (void)addEntriesFromDictionary:(NSDictionary<NSString*, NSObject*> *)otherDictionary;
19
20 - (void)removeObjectForKey:(NSString*)key;
21 - (void)removeAllObjects;
22
23 - (NSDictionary<NSString *, id>*) copyAsDictionary;
24
25 - (void)pushWrites;
26 - (BOOL)pullUpdates:(NSError**) failure;
27
28 - (void)perfCounters:(void(^)(NSDictionary *counters))callback;
29 - (void)addOneToOutGoing;
30
31 @end