use crate::dynamic_store::SCDynamicStoreRef;
use core_foundation_sys::dictionary::CFDictionaryRef;
use core_foundation_sys::string::{CFStringEncoding, CFStringRef};
use libc::c_uint;
pub type __uint32_t = c_uint;
pub type __darwin_gid_t = __uint32_t;
pub type __darwin_uid_t = __uint32_t;
pub type gid_t = __darwin_gid_t;
pub type uid_t = __darwin_uid_t;
pub type UInt32 = c_uint;
extern "C" {
pub fn SCDynamicStoreCopyComputerName(
store: SCDynamicStoreRef,
nameEncoding: *mut CFStringEncoding,
) -> CFStringRef;
pub fn SCDynamicStoreCopyConsoleUser(
store: SCDynamicStoreRef,
uid: *mut uid_t,
gid: *mut gid_t,
) -> CFStringRef;
pub fn SCDynamicStoreCopyLocalHostName(store: SCDynamicStoreRef) -> CFStringRef;
pub fn SCDynamicStoreCopyLocation(store: SCDynamicStoreRef) -> CFStringRef;
pub fn SCDynamicStoreCopyProxies(store: SCDynamicStoreRef) -> CFDictionaryRef;
}