]> git.saurik.com Git - apple/security.git/blob - keychain/SecureObjectSync/SOSViews.exp-in
Security-59306.11.20.tar.gz
[apple/security.git] / keychain / SecureObjectSync / SOSViews.exp-in
1
2 #define VIEWHINTEXPORT(VIEWNAME) _kSecAttrViewHint##VIEWNAME
3 #define VIEWEXPORT(VIEWNAME) _kSOSView##VIEWNAME
4
5 // Synthesized views - no viewhint
6 VIEWEXPORT(KeychainV0)
7
8 // Can we get rid of this? There's no ViewHint
9 //VIEWEXPORT(PCSFeldspar)
10
11 // This only exists as a viewhint
12 //VIEWHINTEXPORT(Thumper)
13
14 // Views with ViewHints
15 #undef DOVIEWMACRO
16 #define DOVIEWMACRO(VIEWNAME, DEFSTRING, CMDSTRING, SYSTEM, DEFAULTSETTING, INITIALSYNCSETTING, ALWAYSONSETTING, BACKUPSETTING, V0SETTING) _k##SYSTEM##View##VIEWNAME
17 #include "keychain/SecureObjectSync/ViewList.list"
18
19 // V0 Subviews don't have view hints, they use queries
20 #undef DOVIEWMACRO
21 #define DO_EXPORT_(VIEWNAME) _kSecAttrViewHint##VIEWNAME
22 #define DO_EXPORT_V(VIEWNAME)
23 #define DOVIEWMACRO(VIEWNAME, DEFSTRING, CMDSTRING, SYSTEM, DEFAULTSETTING, INITIALSYNCSETTING, ALWAYSONSETTING, BACKUPSETTING, V0SETTING) DO_EXPORT_##V0SETTING(VIEWNAME)
24 #include "keychain/SecureObjectSync/ViewList.list"
25 #undef DOVIEWMACRO
26