]>
git.saurik.com Git - apple/security.git/blob - utilities/SecurityTool/security_tool_commands_table.h
2 // security_tool_commands_table.h
5 // Created by J Osborne on 1/11/13.
6 // Copyright (c) 2013 Apple Inc. All rights reserved.
10 // This is included to make SECURITY_COMMAND macros result in table of
11 // commands for use in SecurityTool
13 #undef SECURITY_COMMAND
14 #undef SECURITY_COMMAND_IOS
15 #undef SECURITY_COMMAND_MAC
16 #define SECURITY_COMMAND(name, function, parameters, description) { name, function, parameters, description },
18 #if TARGET_OS_EMBEDDED
19 #define SECURITY_COMMAND_IOS(name, function, parameters, description) { name, function, parameters, description },
21 #define SECURITY_COMMAND_IOS(name, function, parameters, description) { name, command_not_on_this_platform, "", "Not avilable on this platform" },
24 #if (TARGET_OS_MAC && !(TARGET_OS_EMBEDDED || TARGET_OS_IPHONE))
25 #define SECURITY_COMMAND_MAC(name, function, parameters, description) { name, function, parameters, description },
27 #define SECURITY_COMMAND_MAC(name, function, parameters, description) { name, command_not_on_this_platform, "", "Not avilable on this platform" },