kextmanager_types.h [plain text]
#ifndef __KEXT_TYPES_H__
#define __KEXT_TYPES_H__
#include <mach/mach_types.h> // allows to compile standalone
#include <mach/kmod.h>
#include <sys/param.h>
#include <sys/mount.h>
#include <uuid/uuid.h> // uuid_t
#define KEXTD_SERVER_NAME "com.apple.KernelExtensionServer"
#define PROPERTYKEY_LEN 128
typedef int kext_result_t;
typedef char mountpoint_t[MNAMELEN];
typedef char property_key_t[PROPERTYKEY_LEN];
typedef char kext_bundle_id_t[KMOD_MAX_NAME];
typedef char posix_path_t[MAXPATHLEN];
typedef char * xmlDataOut_t;
typedef char * xmlDataIn_t;
#endif __KEXT_TYPES_H__