use core::ffi::*;
use objc2::__framework_prelude::*;
#[cfg(feature = "objc2-core-foundation")]
use objc2_core_foundation::*;
use objc2_foundation::*;
use crate::*;
extern "C" {
#[cfg(feature = "objc2-core-foundation")]
pub static kODSessionProxyAddress: Option<&'static CFString>;
}
extern "C" {
#[cfg(feature = "objc2-core-foundation")]
pub static kODSessionProxyPort: Option<&'static CFString>;
}
extern "C" {
#[cfg(feature = "objc2-core-foundation")]
pub static kODSessionProxyUsername: Option<&'static CFString>;
}
extern "C" {
#[cfg(feature = "objc2-core-foundation")]
pub static kODSessionProxyPassword: Option<&'static CFString>;
}
extern "C" {
#[cfg(feature = "objc2-core-foundation")]
pub static kODModuleConfigOptionQueryTimeout: Option<&'static CFString>;
}
extern "C" {
#[cfg(feature = "objc2-core-foundation")]
pub static kODModuleConfigOptionConnectionSetupTimeout: Option<&'static CFString>;
}
extern "C" {
#[cfg(feature = "objc2-core-foundation")]
pub static kODModuleConfigOptionConnectionIdleDisconnect: Option<&'static CFString>;
}
extern "C" {
#[cfg(feature = "objc2-core-foundation")]
pub static kODModuleConfigOptionPacketSigning: Option<&'static CFString>;
}
extern "C" {
#[cfg(feature = "objc2-core-foundation")]
pub static kODModuleConfigOptionPacketEncryption: Option<&'static CFString>;
}
extern "C" {
#[cfg(feature = "objc2-core-foundation")]
pub static kODModuleConfigOptionManInTheMiddle: Option<&'static CFString>;
}
pub const kODNodeTypeAuthentication: c_uint = 0x2201;
pub const kODNodeTypeContacts: c_uint = 0x2204;
pub const kODNodeTypeNetwork: c_uint = 0x2205;
pub const kODNodeTypeLocalNodes: c_uint = 0x2200;
pub const kODNodeTypeConfigure: c_uint = 0x2202;
pub type ODNodeType = u32;
extern "C" {
#[cfg(feature = "objc2-core-foundation")]
pub static kODNodeOptionsQuerySkippedSubnode: Option<&'static CFString>;
}
pub const kODMatchAny: c_uint = 0x0001;
pub const kODMatchEqualTo: c_uint = 0x2001;
pub const kODMatchBeginsWith: c_uint = 0x2002;
pub const kODMatchContains: c_uint = 0x2004;
pub const kODMatchEndsWith: c_uint = 0x2003;
#[deprecated = "case matching is defined by attribute schema"]
pub const kODMatchInsensitiveEqualTo: c_uint = 0x2101;
#[deprecated = "case matching is defined by attribute schema"]
pub const kODMatchInsensitiveBeginsWith: c_uint = 0x2102;
#[deprecated = "case matching is defined by attribute schema"]
pub const kODMatchInsensitiveContains: c_uint = 0x2104;
#[deprecated = "case matching is defined by attribute schema"]
pub const kODMatchInsensitiveEndsWith: c_uint = 0x2103;
pub const kODMatchGreaterThan: c_uint = 0x2006;
pub const kODMatchLessThan: c_uint = 0x2007;
pub type ODMatchType = u32;
pub type ODRecordType = NSString;
pub type ODAttributeType = NSString;
pub type ODAuthenticationType = NSString;
pub type ODPolicyType = NSString;
pub type ODErrorUserInfoKeyType = NSString;
pub type ODOptionKeyType = NSString;
extern "C" {
pub static kODRecordTypeAttributeTypes: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeAFPServer: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeAliases: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeAugments: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeAutomount: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeAutomountMap: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeAutoServerSetup: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeBootp: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeCertificateAuthorities: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeComputerLists: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeComputerGroups: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeComputers: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeConfiguration: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeEthernets: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeFileMakerServers: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeFTPServer: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeGroups: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeHostServices: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeHosts: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeLDAPServer: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeLocations: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeMounts: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeNFS: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeNetDomains: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeNetGroups: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeNetworks: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypePeople: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypePresetComputers: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypePresetComputerGroups: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypePresetComputerLists: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypePresetGroups: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypePresetUsers: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypePrintService: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypePrintServiceUser: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypePrinters: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeProtocols: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeQTSServer: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeQueryInformation: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeRecordTypes: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeResources: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeRPC: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeSMBServer: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeServer: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeServices: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeSharePoints: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeUsers: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODRecordTypeWebServer: Option<&'static ODRecordType>;
}
extern "C" {
pub static kODAttributeTypeAllAttributes: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeStandardOnly: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeNativeOnly: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeMetaAmbiguousName: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeMetaAugmentedAttributes: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeMetaRecordName: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeAdminLimits: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeAltSecurityIdentities: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeAuthenticationHint: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeAllTypes: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeAuthorityRevocationList: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeBirthday: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeCACertificate: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeCapacity: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeCertificateRevocationList: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeComment: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeContactGUID: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeContactPerson: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeCreationTimestamp: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeCrossCertificatePair: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeDataStamp: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeFullName: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeDNSDomain: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeDNSNameServer: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeENetAddress: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeExpire: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeFirstName: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeGUID: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeHardwareUUID: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeHomeDirectoryQuota: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeHomeDirectorySoftQuota: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeHomeLocOwner: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeInternetAlias: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeKDCConfigData: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeKerberosServices: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeLastName: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeLDAPSearchBaseSuffix: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeLocation: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeMapGUID: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeMCXFlags: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeMCXSettings: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeMailAttribute: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeMetaAutomountMap: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeMiddleName: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeModificationTimestamp: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeNFSHomeDirectory: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeNote: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeOperatingSystem: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeOperatingSystemVersion: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeOwner: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeOwnerGUID: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePassword: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePasswordPlus: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePasswordPolicyOptions: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePasswordServerList: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePasswordServerLocation: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePicture: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePort: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePresetUserIsAdmin: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePrimaryComputerGUID: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePrimaryComputerList: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePrimaryGroupID: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePrinter1284DeviceID: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePrinterLPRHost: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePrinterLPRQueue: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePrinterMakeAndModel: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePrinterType: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePrinterURI: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePrinterXRISupported: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePrintServiceInfoText: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePrintServiceInfoXML: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePrintServiceUserData: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeRealUserID: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeRelativeDNPrefix: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeSMBAcctFlags: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeSMBGroupRID: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeSMBHome: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeSMBHomeDrive: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeSMBKickoffTime: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeSMBLogoffTime: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeSMBLogonTime: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeSMBPrimaryGroupSID: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeSMBPWDLastSet: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeSMBProfilePath: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeSMBRID: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeSMBScriptPath: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeSMBSID: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeSMBUserWorkstations: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeServiceType: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeSetupAdvertising: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeSetupAutoRegister: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeSetupLocation: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeSetupOccupation: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeTimeToLive: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeTrustInformation: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeUniqueID: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeUserCertificate: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeUserPKCS12Data: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeUserShell: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeUserSMIMECertificate: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeVFSDumpFreq: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeVFSLinkDir: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeVFSPassNo: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeVFSType: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeWeblogURI: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeXMLPlist: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeProtocolNumber: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeRPCNumber: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeNetworkNumber: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeAccessControlEntry: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeAddressLine1: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeAddressLine2: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeAddressLine3: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeAreaCode: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeAuthenticationAuthority: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeAutomountInformation: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeBootParams: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeBuilding: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeServicesLocator: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeCity: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeCompany: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeComputers: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeCountry: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeDepartment: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeDNSName: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeEMailAddress: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeEMailContacts: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeFaxNumber: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeGroup: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeGroupMembers: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeGroupMembership: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeGroupServices: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeHomePhoneNumber: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeHTML: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeHomeDirectory: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeIMHandle: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeIPAddress: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeIPAddressAndENetAddress: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeIPv6Address: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeJPEGPhoto: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeJobTitle: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeKDCAuthKey: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeKeywords: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeLDAPReadReplicas: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeLDAPWriteReplicas: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeMapCoordinates: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeMapURI: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeMIME: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeMobileNumber: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeNestedGroups: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeNetGroups: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeNickName: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeOrganizationInfo: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeOrganizationName: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePagerNumber: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePhoneContacts: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePhoneNumber: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePGPPublicKey: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePostalAddress: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePostalAddressContacts: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePostalCode: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeNamePrefix: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeProfiles: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeProfilesTimestamp: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeProtocols: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeRecordName: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeRelationships: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeResourceInfo: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeResourceType: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeState: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeStreet: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeNameSuffix: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeURL: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeVFSOpts: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeAlias: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeAuthCredential: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeCopyTimestamp: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeDateRecordCreated: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeKerberosRealm: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeNTDomainComputerAccount: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeOriginalHomeDirectory: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeOriginalNFSHomeDirectory: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeOriginalNodeName: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePrimaryNTDomain: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePwdAgingPolicy: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeReadOnlyNode: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeTimePackage: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeTotalSize: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeAuthMethod: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeMetaNodeLocation: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeNodePath: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePlugInInfo: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeRecordType: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeSchema: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeSubNodes: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeNetGroupTriplet: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeSearchPath: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeSearchPolicy: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeAutomaticSearchPath: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeLocalOnlySearchPath: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeCustomSearchPath: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeNodeOptions: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeNodeSASLRealm: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeAdvertisedServices: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeLocaleRelay: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeLocaleSubnets: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeNetworkInterfaces: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeParentLocales: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePrimaryLocale: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeBuildVersion: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeConfigAvailable: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeConfigFile: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeCoreFWVersion: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeFunctionalState: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeFWVersion: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePluginIndex: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeNumTableList: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeVersion: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypePIDValue: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeProcessName: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeTotalRefCount: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeDirRefCount: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeNodeRefCount: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeRecRefCount: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeAttrListRefCount: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeAttrListValueRefCount: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeDirRefs: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeNodeRefs: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeRecRefs: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeAttrListRefs: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAttributeTypeAttrListValueRefs: Option<&'static ODAttributeType>;
}
extern "C" {
pub static kODAuthenticationType2WayRandom: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationType2WayRandomChangePasswd: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeAPOP: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeCRAM_MD5: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeChangePasswd: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeClearText: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeClearTextReadOnly: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeCrypt: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeDIGEST_MD5: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeDeleteUser: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeGetEffectivePolicy: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeGetGlobalPolicy: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeGetKerberosPrincipal: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeGetPolicy: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeGetUserData: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeGetUserName: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeKerberosTickets: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeMPPEPrimaryKeys: Option<&'static ODAuthenticationType>;
}
extern "C" {
#[deprecated]
pub static kODAuthenticationTypeMPPEMasterKeys: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeMSCHAP2: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeNTLMv2: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeNTLMv2WithSessionKey: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeNewUser: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeNewUserWithPolicy: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeNodeNativeClearTextOK: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeNodeNativeNoClearText: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeReadSecureHash: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeSMBNTv2UserSessionKey: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeSMBWorkstationCredentialSessionKey:
Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeSMB_LM_Key: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeSMB_NT_Key: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeSMB_NT_UserSessionKey: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeSMB_NT_WithUserSessionKey:
Option<&'static ODAuthenticationType>;
}
extern "C" {
#[deprecated]
pub static kODAuthenticationTypeSecureHash: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeSetCertificateHashAsCurrent:
Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeSetGlobalPolicy: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeSetLMHash: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeSetNTHash: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeSetPassword: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeSetPasswordAsCurrent: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeSetPolicy: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeSetPolicyAsCurrent: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeSetUserData: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeSetUserName: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeSetWorkstationPassword: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeWithAuthorizationRef: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODAuthenticationTypeWriteSecureHash: Option<&'static ODAuthenticationType>;
}
extern "C" {
pub static kODPolicyTypePasswordCannotBeAccountName: Option<&'static ODPolicyType>;
}
extern "C" {
pub static kODPolicyTypePasswordChangeRequired: Option<&'static ODPolicyType>;
}
extern "C" {
pub static kODPolicyTypePasswordHistory: Option<&'static ODPolicyType>;
}
extern "C" {
pub static kODPolicyTypePasswordMinimumNumberOfCharacters: Option<&'static ODPolicyType>;
}
extern "C" {
pub static kODPolicyTypePasswordMaximumNumberOfCharacters: Option<&'static ODPolicyType>;
}
extern "C" {
pub static kODPolicyTypePasswordMaximumAgeInMinutes: Option<&'static ODPolicyType>;
}
extern "C" {
pub static kODPolicyTypePasswordRequiresAlpha: Option<&'static ODPolicyType>;
}
extern "C" {
pub static kODPolicyTypePasswordRequiresMixedCase: Option<&'static ODPolicyType>;
}
extern "C" {
pub static kODPolicyTypePasswordRequiresNumeric: Option<&'static ODPolicyType>;
}
extern "C" {
pub static kODPolicyTypePasswordRequiresSymbol: Option<&'static ODPolicyType>;
}
extern "C" {
pub static kODPolicyTypePasswordSelfModification: Option<&'static ODPolicyType>;
}
extern "C" {
pub static kODPolicyTypeAccountExpiresOnDate: Option<&'static ODPolicyType>;
}
extern "C" {
pub static kODPolicyTypeAccountMaximumFailedLogins: Option<&'static ODPolicyType>;
}
extern "C" {
pub static kODPolicyTypeAccountMaximumMinutesUntilDisabled: Option<&'static ODPolicyType>;
}
extern "C" {
pub static kODPolicyTypeAccountMinutesUntilFailedLoginReset: Option<&'static ODPolicyType>;
}
extern "C" {
pub static kODPolicyTypeAccountMaximumMinutesOfNonUse: Option<&'static ODPolicyType>;
}
pub const kODExpirationTimeExpired: c_int = 0;
pub const kODExpirationTimeNeverExpires: c_int = -1;
pub type ODPolicyKeyType = NSString;
extern "C" {
pub static kODPolicyKeyIdentifier: Option<&'static ODPolicyKeyType>;
}
extern "C" {
pub static kODPolicyKeyParameters: Option<&'static ODPolicyKeyType>;
}
extern "C" {
pub static kODPolicyKeyContent: Option<&'static ODPolicyKeyType>;
}
extern "C" {
pub static kODPolicyKeyContentDescription: Option<&'static ODPolicyKeyType>;
}
extern "C" {
pub static kODPolicyKeyEvaluationDetails: Option<&'static ODPolicyKeyType>;
}
extern "C" {
pub static kODPolicyKeyPolicySatisfied: Option<&'static ODPolicyKeyType>;
}
pub type ODPolicyCategoryType = NSString;
extern "C" {
pub static kODPolicyCategoryAuthentication: Option<&'static ODPolicyCategoryType>;
}
extern "C" {
pub static kODPolicyCategoryPasswordContent: Option<&'static ODPolicyCategoryType>;
}
extern "C" {
pub static kODPolicyCategoryPasswordChange: Option<&'static ODPolicyCategoryType>;
}
pub type ODPolicyAttributeType = NSString;
extern "C" {
pub static kODPolicyAttributeRecordName: Option<&'static ODPolicyAttributeType>;
}
extern "C" {
pub static kODPolicyAttributeRecordType: Option<&'static ODPolicyAttributeType>;
}
extern "C" {
pub static kODPolicyAttributePassword: Option<&'static ODPolicyAttributeType>;
}
extern "C" {
pub static kODPolicyAttributePasswordHashes: Option<&'static ODPolicyAttributeType>;
}
extern "C" {
pub static kODPolicyAttributePasswordHistory: Option<&'static ODPolicyAttributeType>;
}
extern "C" {
pub static kODPolicyAttributePasswordHistoryDepth: Option<&'static ODPolicyAttributeType>;
}
extern "C" {
pub static kODPolicyAttributeCurrentDate: Option<&'static ODPolicyAttributeType>;
}
extern "C" {
pub static kODPolicyAttributeCurrentTime: Option<&'static ODPolicyAttributeType>;
}
extern "C" {
pub static kODPolicyAttributeCurrentTimeOfDay: Option<&'static ODPolicyAttributeType>;
}
extern "C" {
pub static kODPolicyAttributeCurrentDayOfWeek: Option<&'static ODPolicyAttributeType>;
}
extern "C" {
pub static kODPolicyAttributeFailedAuthentications: Option<&'static ODPolicyAttributeType>;
}
extern "C" {
pub static kODPolicyAttributeMaximumFailedAuthentications:
Option<&'static ODPolicyAttributeType>;
}
extern "C" {
pub static kODPolicyAttributeLastFailedAuthenticationTime:
Option<&'static ODPolicyAttributeType>;
}
extern "C" {
pub static kODPolicyAttributeLastAuthenticationTime: Option<&'static ODPolicyAttributeType>;
}
extern "C" {
pub static kODPolicyAttributeLastPasswordChangeTime: Option<&'static ODPolicyAttributeType>;
}
extern "C" {
pub static kODPolicyAttributeNewPasswordRequiredTime: Option<&'static ODPolicyAttributeType>;
}
extern "C" {
pub static kODPolicyAttributeCreationTime: Option<&'static ODPolicyAttributeType>;
}
extern "C" {
pub static kODPolicyAttributeExpiresEveryNDays: Option<&'static ODPolicyAttributeType>;
}
extern "C" {
pub static kODPolicyAttributeEnableOnDate: Option<&'static ODPolicyAttributeType>;
}
extern "C" {
pub static kODPolicyAttributeExpiresOnDate: Option<&'static ODPolicyAttributeType>;
}
extern "C" {
pub static kODPolicyAttributeEnableOnDayOfWeek: Option<&'static ODPolicyAttributeType>;
}
extern "C" {
pub static kODPolicyAttributeExpiresOnDayOfWeek: Option<&'static ODPolicyAttributeType>;
}
extern "C" {
pub static kODPolicyAttributeEnableAtTimeOfDay: Option<&'static ODPolicyAttributeType>;
}
extern "C" {
pub static kODPolicyAttributeExpiresAtTimeOfDay: Option<&'static ODPolicyAttributeType>;
}
extern "C" {
pub static kODPolicyAttributeDaysUntilExpiration: Option<&'static ODPolicyAttributeType>;
}
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct ODFrameworkErrors(pub c_uint);
impl ODFrameworkErrors {
#[doc(alias = "kODErrorSuccess")]
pub const ErrorSuccess: Self = Self(0);
#[doc(alias = "kODErrorSessionLocalOnlyDaemonInUse")]
pub const ErrorSessionLocalOnlyDaemonInUse: Self = Self(1000);
#[doc(alias = "kODErrorSessionNormalDaemonInUse")]
pub const ErrorSessionNormalDaemonInUse: Self = Self(1001);
#[doc(alias = "kODErrorSessionDaemonNotRunning")]
pub const ErrorSessionDaemonNotRunning: Self = Self(1002);
#[doc(alias = "kODErrorSessionDaemonRefused")]
pub const ErrorSessionDaemonRefused: Self = Self(1003);
#[doc(alias = "kODErrorSessionProxyCommunicationError")]
pub const ErrorSessionProxyCommunicationError: Self = Self(1100);
#[doc(alias = "kODErrorSessionProxyVersionMismatch")]
pub const ErrorSessionProxyVersionMismatch: Self = Self(1101);
#[doc(alias = "kODErrorSessionProxyIPUnreachable")]
pub const ErrorSessionProxyIPUnreachable: Self = Self(1102);
#[doc(alias = "kODErrorSessionProxyUnknownHost")]
pub const ErrorSessionProxyUnknownHost: Self = Self(1103);
#[doc(alias = "kODErrorNodeUnknownName")]
pub const ErrorNodeUnknownName: Self = Self(2000);
#[doc(alias = "kODErrorNodeUnknownType")]
pub const ErrorNodeUnknownType: Self = Self(2001);
#[doc(alias = "kODErrorNodeDisabled")]
pub const ErrorNodeDisabled: Self = Self(2002);
#[doc(alias = "kODErrorNodeConnectionFailed")]
pub const ErrorNodeConnectionFailed: Self = Self(2100);
#[doc(alias = "kODErrorNodeUnknownHost")]
pub const ErrorNodeUnknownHost: Self = Self(2200);
#[doc(alias = "kODErrorQuerySynchronize")]
pub const ErrorQuerySynchronize: Self = Self(3000);
#[doc(alias = "kODErrorQueryInvalidMatchType")]
pub const ErrorQueryInvalidMatchType: Self = Self(3100);
#[doc(alias = "kODErrorQueryUnsupportedMatchType")]
pub const ErrorQueryUnsupportedMatchType: Self = Self(3101);
#[doc(alias = "kODErrorQueryTimeout")]
pub const ErrorQueryTimeout: Self = Self(3102);
#[doc(alias = "kODErrorRecordReadOnlyNode")]
pub const ErrorRecordReadOnlyNode: Self = Self(4000);
#[doc(alias = "kODErrorRecordPermissionError")]
pub const ErrorRecordPermissionError: Self = Self(4001);
#[doc(alias = "kODErrorRecordParameterError")]
pub const ErrorRecordParameterError: Self = Self(4100);
#[doc(alias = "kODErrorRecordInvalidType")]
pub const ErrorRecordInvalidType: Self = Self(4101);
#[doc(alias = "kODErrorRecordAlreadyExists")]
pub const ErrorRecordAlreadyExists: Self = Self(4102);
#[doc(alias = "kODErrorRecordTypeDisabled")]
pub const ErrorRecordTypeDisabled: Self = Self(4103);
#[doc(alias = "kODErrorRecordNoLongerExists")]
pub const ErrorRecordNoLongerExists: Self = Self(4104);
#[doc(alias = "kODErrorRecordAttributeUnknownType")]
pub const ErrorRecordAttributeUnknownType: Self = Self(4200);
#[doc(alias = "kODErrorRecordAttributeNotFound")]
pub const ErrorRecordAttributeNotFound: Self = Self(4201);
#[doc(alias = "kODErrorRecordAttributeValueSchemaError")]
pub const ErrorRecordAttributeValueSchemaError: Self = Self(4202);
#[doc(alias = "kODErrorRecordAttributeValueNotFound")]
pub const ErrorRecordAttributeValueNotFound: Self = Self(4203);
#[doc(alias = "kODErrorCredentialsInvalid")]
pub const ErrorCredentialsInvalid: Self = Self(5000);
#[doc(alias = "kODErrorCredentialsMethodNotSupported")]
pub const ErrorCredentialsMethodNotSupported: Self = Self(5100);
#[doc(alias = "kODErrorCredentialsNotAuthorized")]
pub const ErrorCredentialsNotAuthorized: Self = Self(5101);
#[doc(alias = "kODErrorCredentialsParameterError")]
pub const ErrorCredentialsParameterError: Self = Self(5102);
#[doc(alias = "kODErrorCredentialsOperationFailed")]
pub const ErrorCredentialsOperationFailed: Self = Self(5103);
#[doc(alias = "kODErrorCredentialsServerUnreachable")]
pub const ErrorCredentialsServerUnreachable: Self = Self(5200);
#[doc(alias = "kODErrorCredentialsServerNotFound")]
pub const ErrorCredentialsServerNotFound: Self = Self(5201);
#[doc(alias = "kODErrorCredentialsServerError")]
pub const ErrorCredentialsServerError: Self = Self(5202);
#[doc(alias = "kODErrorCredentialsServerTimeout")]
pub const ErrorCredentialsServerTimeout: Self = Self(5203);
#[doc(alias = "kODErrorCredentialsContactPrimary")]
pub const ErrorCredentialsContactPrimary: Self = Self(5204);
#[doc(alias = "kODErrorCredentialsContactMaster")]
#[deprecated]
pub const ErrorCredentialsContactMaster: Self =
Self(ODFrameworkErrors::ErrorCredentialsContactPrimary.0);
#[doc(alias = "kODErrorCredentialsServerCommunicationError")]
pub const ErrorCredentialsServerCommunicationError: Self = Self(5205);
#[doc(alias = "kODErrorCredentialsAccountNotFound")]
pub const ErrorCredentialsAccountNotFound: Self = Self(5300);
#[doc(alias = "kODErrorCredentialsAccountDisabled")]
pub const ErrorCredentialsAccountDisabled: Self = Self(5301);
#[doc(alias = "kODErrorCredentialsAccountExpired")]
pub const ErrorCredentialsAccountExpired: Self = Self(5302);
#[doc(alias = "kODErrorCredentialsAccountInactive")]
pub const ErrorCredentialsAccountInactive: Self = Self(5303);
#[doc(alias = "kODErrorCredentialsAccountTemporarilyLocked")]
pub const ErrorCredentialsAccountTemporarilyLocked: Self = Self(5304);
#[doc(alias = "kODErrorCredentialsAccountLocked")]
pub const ErrorCredentialsAccountLocked: Self = Self(5305);
#[doc(alias = "kODErrorCredentialsPasswordExpired")]
pub const ErrorCredentialsPasswordExpired: Self = Self(5400);
#[doc(alias = "kODErrorCredentialsPasswordChangeRequired")]
pub const ErrorCredentialsPasswordChangeRequired: Self = Self(5401);
#[doc(alias = "kODErrorCredentialsPasswordQualityFailed")]
pub const ErrorCredentialsPasswordQualityFailed: Self = Self(5402);
#[doc(alias = "kODErrorCredentialsPasswordTooShort")]
pub const ErrorCredentialsPasswordTooShort: Self = Self(5403);
#[doc(alias = "kODErrorCredentialsPasswordTooLong")]
pub const ErrorCredentialsPasswordTooLong: Self = Self(5404);
#[doc(alias = "kODErrorCredentialsPasswordNeedsLetter")]
pub const ErrorCredentialsPasswordNeedsLetter: Self = Self(5405);
#[doc(alias = "kODErrorCredentialsPasswordNeedsDigit")]
pub const ErrorCredentialsPasswordNeedsDigit: Self = Self(5406);
#[doc(alias = "kODErrorCredentialsPasswordChangeTooSoon")]
pub const ErrorCredentialsPasswordChangeTooSoon: Self = Self(5407);
#[doc(alias = "kODErrorCredentialsPasswordUnrecoverable")]
pub const ErrorCredentialsPasswordUnrecoverable: Self = Self(5408);
#[doc(alias = "kODErrorCredentialsInvalidLogonHours")]
pub const ErrorCredentialsInvalidLogonHours: Self = Self(5500);
#[doc(alias = "kODErrorCredentialsInvalidComputer")]
pub const ErrorCredentialsInvalidComputer: Self = Self(5501);
#[doc(alias = "kODErrorPolicyUnsupported")]
pub const ErrorPolicyUnsupported: Self = Self(6000);
#[doc(alias = "kODErrorPolicyOutOfRange")]
pub const ErrorPolicyOutOfRange: Self = Self(6001);
#[doc(alias = "kODErrorPluginOperationNotSupported")]
pub const ErrorPluginOperationNotSupported: Self = Self(10000);
#[doc(alias = "kODErrorPluginError")]
pub const ErrorPluginError: Self = Self(10001);
#[doc(alias = "kODErrorDaemonError")]
pub const ErrorDaemonError: Self = Self(10002);
#[doc(alias = "kODErrorPluginOperationTimeout")]
pub const ErrorPluginOperationTimeout: Self = Self(10003);
}
unsafe impl Encode for ODFrameworkErrors {
const ENCODING: Encoding = c_uint::ENCODING;
}
unsafe impl RefEncode for ODFrameworkErrors {
const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}
extern "C" {
pub static kODBackOffSeconds: Option<&'static ODErrorUserInfoKeyType>;
}