use core::ptr::NonNull;
use objc2_core_foundation::*;
use crate::*;
pub const kSecCSDedicatedHost: u32 = 1;
pub const kSecCSGenerateGuestHash: u32 = 2;
extern "C-unwind" {
#[cfg(feature = "CSCommon")]
#[deprecated]
pub fn SecHostCreateGuest(
host: SecGuestRef,
status: u32,
path: &CFURL,
attributes: Option<&CFDictionary>,
flags: SecCSFlags,
new_guest: NonNull<SecGuestRef>,
) -> OSStatus;
}
extern "C-unwind" {
#[cfg(feature = "CSCommon")]
#[deprecated]
pub fn SecHostRemoveGuest(host: SecGuestRef, guest: SecGuestRef, flags: SecCSFlags)
-> OSStatus;
}
extern "C-unwind" {
#[cfg(feature = "CSCommon")]
#[deprecated]
pub fn SecHostSelectGuest(guest_ref: SecGuestRef, flags: SecCSFlags) -> OSStatus;
}
extern "C-unwind" {
#[cfg(feature = "CSCommon")]
#[deprecated]
pub fn SecHostSelectedGuest(flags: SecCSFlags, guest_ref: NonNull<SecGuestRef>) -> OSStatus;
}
extern "C-unwind" {
#[cfg(feature = "CSCommon")]
#[deprecated]
pub fn SecHostSetGuestStatus(
guest_ref: SecGuestRef,
status: u32,
attributes: Option<&CFDictionary>,
flags: SecCSFlags,
) -> OSStatus;
}
extern "C-unwind" {
#[cfg(all(feature = "CSCommon", feature = "libc"))]
#[deprecated]
pub fn SecHostSetHostingPort(hosting_port: libc::mach_port_t, flags: SecCSFlags) -> OSStatus;
}