1// 2// security_tool_commands_table.h 3// utilities 4// 5// Created by J Osborne on 1/11/13. 6// Copyright (c) 2013 Apple Inc. All rights reserved. 7// 8 9 10// This is included to make SECURITY_COMMAND macros result in table of 11// commands for use in SecurityTool 12 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 }, 17 18#if TARGET_OS_EMBEDDED 19#define SECURITY_COMMAND_IOS(name, function, parameters, description) { name, function, parameters, description }, 20#else 21#define SECURITY_COMMAND_IOS(name, function, parameters, description) { name, command_not_on_this_platform, "", "Not avilable on this platform" }, 22#endif 23 24#if (TARGET_OS_MAC && !(TARGET_OS_EMBEDDED || TARGET_OS_IPHONE)) 25#define SECURITY_COMMAND_MAC(name, function, parameters, description) { name, function, parameters, description }, 26#else 27#define SECURITY_COMMAND_MAC(name, function, parameters, description) { name, command_not_on_this_platform, "", "Not avilable on this platform" }, 28#endif 29 30