#include <mach/mach_voucher_attr_control.h>

mach/mach_voucher_attr_control.h Kernel.framework

includes: Kernel/string.h, Kernel/mach/ndr.h, Kernel/mach/boolean.h, Kernel/mach/kern_return.h, Kernel/mach/notify.h, mach/mach_types.h, mach/message.h, Kernel/mach/mig_errors.h, mach/port.h, Availability.h, Kernel/mach/std_types.h, Kernel/mach/mig.h, Kernel/mach/mig.h, mach/mach_types.h, sys/cdefs.h
3 macros · 2 functions

macro_mach_voucher_attr_control_user_

#define _mach_voucher_attr_control_user_ 

macromach_voucher_attr_control_MSG_COUNT

#define mach_voucher_attr_control_MSG_COUNT 2

functionmach_voucher_attr_control_get_values

extern kern_return_t mach_voucher_attr_control_get_values(
	ipc_voucher_attr_control_t control,
	ipc_voucher_t voucher,
	mach_voucher_attr_value_handle_array_t value_handles, /* out */
	mach_msg_type_number_t *value_handlesCnt
)
Obsolete Interfaces Extract the given voucher-control's value-handle from the supplied voucher
MIG routine from mach/mach_voucher_attr_control.defs

functionmach_voucher_attr_control_create_mach_voucher

extern kern_return_t mach_voucher_attr_control_create_mach_voucher(
	ipc_voucher_attr_control_t control,
	mach_voucher_attr_raw_recipe_array_t recipes,
	mach_msg_type_number_t recipesCnt,
	ipc_voucher_t *voucher /* out */
)
Create a new voucher with the control's privilege (to directly assign value-handles)
MIG routine from mach/mach_voucher_attr_control.defs

macrosubsystem_to_name_map_mach_voucher_attr_control

#define subsystem_to_name_map_mach_voucher_attr_control { "mach_voucher_attr_control_get_values", 5600 },
    { "mach_voucher_attr_control_create_mach_voucher", 5601 }