#![allow(non_camel_case_types)]
use mach::mach_types::{host_t, host_name_port_t};
use mach::vm_types::integer_t;
use mach::kern_return::kern_return_t;
use mach::message::mach_msg_type_number_t;
pub mod iokit;
pub type host_flavor_t = integer_t;
pub type host_info_t = *mut integer_t;
pub type host_info64_t = *mut integer_t;
extern "C" {
pub fn mach_host_self() -> host_name_port_t;
pub fn host_statistics(
host_priv: host_t,
flavor: host_flavor_t,
host_info_out: host_info_t,
host_info_outCnt: *const mach_msg_type_number_t
) -> kern_return_t;
pub fn host_statistics64(
host_priv: host_t,
flavor: host_flavor_t,
host_info_out: host_info64_t,
host_info_outCnt: *const mach_msg_type_number_t,
) -> kern_return_t;
}