]> git.saurik.com Git - apple/security.git/blob - sec/SOSCircle/osxshim.c
Security-55471.tar.gz
[apple/security.git] / sec / SOSCircle / osxshim.c
1 //
2 // osxshim.c
3 // sec
4 //
5 // Created by J Osborne on 12/4/12.
6 //
7 //
8
9 #include <stdbool.h>
10
11 typedef void *SOSDataSourceFactoryRef;
12 typedef void *SOSAccountRef;
13
14 // XXX Need to plumb these from security to secd. If we can.
15
16 typedef SOSDataSourceFactoryRef (^AccountDataSourceFactoryBlock)();
17
18 bool SOSKeychainAccountSetFactoryForAccount(AccountDataSourceFactoryBlock factory);
19
20 bool SOSKeychainAccountSetFactoryForAccount(AccountDataSourceFactoryBlock factory)
21 {
22 return false;
23 }
24
25 SOSAccountRef SOSKeychainAccountGetSharedAccount(void);
26
27 SOSAccountRef SOSKeychainAccountGetSharedAccount(void)
28 {
29 return (void*)0;
30 }