]>
git.saurik.com Git - apple/security.git/blob - utilities/SecurityTool/security_tool_commands.h
2 // security_tool_commands.h
5 // Created by Mitch Adler on 1/9/13.
9 // This is included to make SECURITY_COMMAND macros result in declarations of
10 // commands for use in SecurityTool
12 #ifndef SECURITY_COMMAND
13 #define SECURITY_COMMAND(name, function, parameters, description) int function(int argc, char * const *argv);
15 #if TARGET_OS_EMBEDDED
16 #define SECURITY_COMMAND_IOS(name, function, parameters, description) int function(int argc, char * const *argv);
18 #define SECURITY_COMMAND_IOS(name, function, parameters, description) extern int command_not_on_this_platform(int argc, char * const *argv);
21 #if (TARGET_OS_MAC && !(TARGET_OS_EMBEDDED || TARGET_OS_IPHONE))
22 #define SECURITY_COMMAND_MAC(name, function, parameters, description) int function(int argc, char * const *argv);
24 #define SECURITY_COMMAND_MAC(name, function, parameters, description) extern int command_not_on_this_platform(int argc, char * const *argv);