#include <mach/mach_voucher.h> not included by <mach/mach.h> — include it explicitly

mach/mach_voucher.h

5 functions · 3 macros

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
MIG routine from mach/mach_voucher.defs

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
MIG routine from mach/mach_voucher.defs

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
MIG routine from mach/mach_voucher.defs

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
MIG routine from mach/mach_voucher.defs

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
MIG routine from mach/mach_voucher.defs