#ifndef __LIBKERNEL_INIT_H
#define __LIBKERNEL_INIT_H
+#include <stdbool.h>
#include <sys/types.h>
#include <mach/mach.h>
#include <mach/message.h>
/* Subsequent versions must only add pointers! */
} *_libkernel_voucher_functions_t;
+typedef struct _libkernel_late_init_config {
+ unsigned long version;
+ bool enable_system_version_compat;
+ bool enable_ios_version_compat;
+} *_libkernel_late_init_config_t;
+
struct ProgramVars; /* forward reference */
void __libkernel_init(_libkernel_functions_t fns, const char *envp[],
kern_return_t __libkernel_voucher_init(_libkernel_voucher_functions_t fns);
+void __libkernel_init_late(_libkernel_late_init_config_t config);
+
#endif // __LIBKERNEL_INIT_H