#include <mach/mach_voucher.h> not included by <mach/mach.h> — include it explicitly
mach/mach_voucher.h
macro_mach_voucher_user_
#define _mach_voucher_user_
macromach_voucher_MSG_COUNT
#define mach_voucher_MSG_COUNT 5
functionmach_voucher_extract_attr_content
extern kern_return_t mach_voucher_extract_attr_content( ipc_voucher_t voucher, mach_voucher_attr_key_t key, mach_voucher_attr_content_t content, /* out */ mach_msg_type_number_t *contentCnt )
extract just the content data for a <voucher, key> pair
functionmach_voucher_extract_attr_recipe
extern kern_return_t mach_voucher_extract_attr_recipe( ipc_voucher_t voucher, mach_voucher_attr_key_t key, mach_voucher_attr_raw_recipe_t recipe, /* out */ mach_msg_type_number_t *recipeCnt )
extract a recipe to reconstitue a <voucher, key> pair item in a future voucher
functionmach_voucher_extract_all_attr_recipes
extern kern_return_t mach_voucher_extract_all_attr_recipes( ipc_voucher_t voucher, mach_voucher_attr_raw_recipe_array_t recipes, /* out */ mach_msg_type_number_t *recipesCnt )
extract a recipe array to reconstitue all the key values in a future voucher
functionmach_voucher_attr_command
extern kern_return_t mach_voucher_attr_command( ipc_voucher_t voucher, mach_voucher_attr_key_t key, mach_voucher_attr_command_t command, mach_voucher_attr_content_t in_content, mach_msg_type_number_t in_contentCnt, mach_voucher_attr_content_t out_content, /* out */ mach_msg_type_number_t *out_contentCnt )
execute a command against a given voucher attribute
functionmach_voucher_debug_info
extern kern_return_t mach_voucher_debug_info( ipc_space_read_t task, mach_port_name_t voucher_name, mach_voucher_attr_raw_recipe_array_t recipes, /* out */ mach_msg_type_number_t *recipesCnt )
extract a recipe array to reconstitue all the key values in a future voucher
macrosubsystem_to_name_map_mach_voucher
#define subsystem_to_name_map_mach_voucher { "mach_voucher_extract_attr_content", 5400 },
{ "mach_voucher_extract_attr_recipe", 5401 },
{ "mach_voucher_extract_all_attr_recipes", 5402 },
{ "mach_voucher_attr_command", 5403 },
{ "mach_voucher_debug_info", 5404 }