Documentation
¶
Overview ¶
Package cfnetwork provides purego-based Go bindings for the macOS CFNetwork framework.
Apple documentation: https://developer.apple.com/documentation/cfnetwork
Index ¶
- Constants
- func CFFTPCreateParsedResourceListing(alloc unsafe.Pointer, buffer *uint8, bufferLength int, parsed unsafe.Pointer) int
- func CFHTTPAuthenticationAppliesToRequest(auth unsafe.Pointer, request unsafe.Pointer) uint8
- func CFHTTPAuthenticationCopyDomains(auth unsafe.Pointer) unsafe.Pointer
- func CFHTTPAuthenticationCopyMethod(auth unsafe.Pointer) unsafe.Pointer
- func CFHTTPAuthenticationCopyRealm(auth unsafe.Pointer) unsafe.Pointer
- func CFHTTPAuthenticationCreateFromResponse(alloc unsafe.Pointer, response unsafe.Pointer) unsafe.Pointer
- func CFHTTPAuthenticationGetTypeID() uint
- func CFHTTPAuthenticationIsValid(auth unsafe.Pointer, error_ *corefoundation.CFStreamError) uint8
- func CFHTTPAuthenticationRequiresAccountDomain(auth unsafe.Pointer) uint8
- func CFHTTPAuthenticationRequiresOrderedRequests(auth unsafe.Pointer) uint8
- func CFHTTPAuthenticationRequiresUserNameAndPassword(auth unsafe.Pointer) uint8
- func CFHTTPMessageAddAuthentication(request unsafe.Pointer, authenticationFailureResponse unsafe.Pointer, ...) uint8
- func CFHTTPMessageAppendBytes(message unsafe.Pointer, newBytes *uint8, numBytes int) uint8
- func CFHTTPMessageApplyCredentialDictionary(request unsafe.Pointer, auth unsafe.Pointer, dict unsafe.Pointer, ...) uint8
- func CFHTTPMessageApplyCredentials(request unsafe.Pointer, auth unsafe.Pointer, username unsafe.Pointer, ...) uint8
- func CFHTTPMessageCopyAllHeaderFields(message unsafe.Pointer) unsafe.Pointer
- func CFHTTPMessageCopyBody(message unsafe.Pointer) unsafe.Pointer
- func CFHTTPMessageCopyHeaderFieldValue(message unsafe.Pointer, headerField unsafe.Pointer) unsafe.Pointer
- func CFHTTPMessageCopyRequestMethod(request unsafe.Pointer) unsafe.Pointer
- func CFHTTPMessageCopyRequestURL(request unsafe.Pointer) unsafe.Pointer
- func CFHTTPMessageCopyResponseStatusLine(response unsafe.Pointer) unsafe.Pointer
- func CFHTTPMessageCopySerializedMessage(message unsafe.Pointer) unsafe.Pointer
- func CFHTTPMessageCopyVersion(message unsafe.Pointer) unsafe.Pointer
- func CFHTTPMessageCreateCopy(alloc unsafe.Pointer, message unsafe.Pointer) unsafe.Pointer
- func CFHTTPMessageCreateEmpty(alloc unsafe.Pointer, isRequest uint8) unsafe.Pointer
- func CFHTTPMessageCreateRequest(alloc unsafe.Pointer, requestMethod unsafe.Pointer, url unsafe.Pointer, ...) unsafe.Pointer
- func CFHTTPMessageCreateResponse(alloc unsafe.Pointer, statusCode int, statusDescription unsafe.Pointer, ...) unsafe.Pointer
- func CFHTTPMessageGetResponseStatusCode(response unsafe.Pointer) int
- func CFHTTPMessageGetTypeID() uint
- func CFHTTPMessageIsHeaderComplete(message unsafe.Pointer) uint8
- func CFHTTPMessageIsRequest(message unsafe.Pointer) uint8
- func CFHTTPMessageSetBody(message unsafe.Pointer, bodyData unsafe.Pointer)
- func CFHTTPMessageSetHeaderFieldValue(message unsafe.Pointer, headerField unsafe.Pointer, value unsafe.Pointer)
- func CFHostCancelInfoResolution(theHost unsafe.Pointer, info CFHostInfoType)deprecated
- func CFHostCreateCopy(alloc unsafe.Pointer, host unsafe.Pointer) unsafe.Pointerdeprecated
- func CFHostCreateWithAddress(allocator unsafe.Pointer, addr unsafe.Pointer) unsafe.Pointerdeprecated
- func CFHostCreateWithName(allocator unsafe.Pointer, hostname unsafe.Pointer) unsafe.Pointerdeprecated
- func CFHostGetAddressing(theHost unsafe.Pointer, hasBeenResolved *uint8) unsafe.Pointerdeprecated
- func CFHostGetNames(theHost unsafe.Pointer, hasBeenResolved *uint8) unsafe.Pointerdeprecated
- func CFHostGetReachability(theHost unsafe.Pointer, hasBeenResolved *uint8) unsafe.Pointerdeprecated
- func CFHostGetTypeID() uintdeprecated
- func CFHostScheduleWithRunLoop(theHost unsafe.Pointer, runLoop unsafe.Pointer, runLoopMode unsafe.Pointer)deprecated
- func CFHostSetClient(theHost unsafe.Pointer, clientCB unsafe.Pointer, ...) uint8deprecated
- func CFHostStartInfoResolution(theHost unsafe.Pointer, info CFHostInfoType, ...) uint8deprecated
- func CFHostUnscheduleFromRunLoop(theHost unsafe.Pointer, runLoop unsafe.Pointer, runLoopMode unsafe.Pointer)deprecated
- func CFNetDiagnosticCopyNetworkStatusPassively(details unsafe.Pointer, description unsafe.Pointer) int
- func CFNetDiagnosticCreateWithStreams(alloc unsafe.Pointer, readStream unsafe.Pointer, writeStream unsafe.Pointer) unsafe.Pointer
- func CFNetDiagnosticCreateWithURL(alloc unsafe.Pointer, url unsafe.Pointer) unsafe.Pointer
- func CFNetDiagnosticDiagnoseProblemInteractively(details unsafe.Pointer) int
- func CFNetDiagnosticSetName(details unsafe.Pointer, name unsafe.Pointer)
- func CFNetServiceBrowserCreate(alloc unsafe.Pointer, clientCB unsafe.Pointer, ...) unsafe.Pointerdeprecated
- func CFNetServiceBrowserGetTypeID() uintdeprecated
- func CFNetServiceBrowserInvalidate(browser unsafe.Pointer)deprecated
- func CFNetServiceBrowserScheduleWithRunLoop(browser unsafe.Pointer, runLoop unsafe.Pointer, runLoopMode unsafe.Pointer)deprecated
- func CFNetServiceBrowserSearchForDomains(browser unsafe.Pointer, registrationDomains uint8, ...) uint8deprecated
- func CFNetServiceBrowserSearchForServices(browser unsafe.Pointer, domain unsafe.Pointer, serviceType unsafe.Pointer, ...) uint8deprecated
- func CFNetServiceBrowserStopSearch(browser unsafe.Pointer, error_ *corefoundation.CFStreamError)deprecated
- func CFNetServiceBrowserUnscheduleFromRunLoop(browser unsafe.Pointer, runLoop unsafe.Pointer, runLoopMode unsafe.Pointer)deprecated
- func CFNetServiceCancel(theService unsafe.Pointer)deprecated
- func CFNetServiceCreate(alloc unsafe.Pointer, domain unsafe.Pointer, serviceType unsafe.Pointer, ...) unsafe.Pointerdeprecated
- func CFNetServiceCreateCopy(alloc unsafe.Pointer, service unsafe.Pointer) unsafe.Pointerdeprecated
- func CFNetServiceCreateDictionaryWithTXTData(alloc unsafe.Pointer, txtRecord unsafe.Pointer) unsafe.Pointerdeprecated
- func CFNetServiceCreateTXTDataWithDictionary(alloc unsafe.Pointer, keyValuePairs unsafe.Pointer) unsafe.Pointerdeprecated
- func CFNetServiceGetAddressing(theService unsafe.Pointer) unsafe.Pointerdeprecated
- func CFNetServiceGetDomain(theService unsafe.Pointer) unsafe.Pointerdeprecated
- func CFNetServiceGetName(theService unsafe.Pointer) unsafe.Pointerdeprecated
- func CFNetServiceGetPortNumber(theService unsafe.Pointer) intdeprecated
- func CFNetServiceGetTXTData(theService unsafe.Pointer) unsafe.Pointerdeprecated
- func CFNetServiceGetTargetHost(theService unsafe.Pointer) unsafe.Pointerdeprecated
- func CFNetServiceGetType(theService unsafe.Pointer) unsafe.Pointerdeprecated
- func CFNetServiceGetTypeID() uintdeprecated
- func CFNetServiceMonitorCreate(alloc unsafe.Pointer, theService unsafe.Pointer, clientCB unsafe.Pointer, ...) unsafe.Pointerdeprecated
- func CFNetServiceMonitorGetTypeID() uintdeprecated
- func CFNetServiceMonitorInvalidate(monitor unsafe.Pointer)deprecated
- func CFNetServiceMonitorScheduleWithRunLoop(monitor unsafe.Pointer, runLoop unsafe.Pointer, runLoopMode unsafe.Pointer)deprecated
- func CFNetServiceMonitorStart(monitor unsafe.Pointer, recordType CFNetServiceMonitorType, ...) uint8deprecated
- func CFNetServiceMonitorStop(monitor unsafe.Pointer, error_ *corefoundation.CFStreamError)deprecated
- func CFNetServiceMonitorUnscheduleFromRunLoop(monitor unsafe.Pointer, runLoop unsafe.Pointer, runLoopMode unsafe.Pointer)deprecated
- func CFNetServiceRegister(theService unsafe.Pointer, error_ *corefoundation.CFStreamError) uint8
- func CFNetServiceRegisterWithOptions(theService unsafe.Pointer, options uint, error_ *corefoundation.CFStreamError) uint8deprecated
- func CFNetServiceResolve(theService unsafe.Pointer, error_ *corefoundation.CFStreamError) uint8
- func CFNetServiceResolveWithTimeout(theService unsafe.Pointer, timeout float64, ...) uint8deprecated
- func CFNetServiceScheduleWithRunLoop(theService unsafe.Pointer, runLoop unsafe.Pointer, runLoopMode unsafe.Pointer)deprecated
- func CFNetServiceSetClient(theService unsafe.Pointer, clientCB unsafe.Pointer, ...) uint8deprecated
- func CFNetServiceSetTXTData(theService unsafe.Pointer, txtRecord unsafe.Pointer) uint8deprecated
- func CFNetServiceUnscheduleFromRunLoop(theService unsafe.Pointer, runLoop unsafe.Pointer, runLoopMode unsafe.Pointer)deprecated
- func CFNetworkCopyProxiesForAutoConfigurationScript(proxyAutoConfigurationScript unsafe.Pointer, targetURL unsafe.Pointer, ...) unsafe.Pointer
- func CFNetworkCopyProxiesForURL(url unsafe.Pointer, proxySettings unsafe.Pointer) unsafe.Pointer
- func CFNetworkCopySystemProxySettings() unsafe.Pointer
- func CFNetworkExecuteProxyAutoConfigurationScript(proxyAutoConfigurationScript unsafe.Pointer, targetURL unsafe.Pointer, ...) unsafe.Pointer
- func CFNetworkExecuteProxyAutoConfigurationURL(proxyAutoConfigURL unsafe.Pointer, targetURL unsafe.Pointer, cb unsafe.Pointer, ...) unsafe.Pointer
- func CFReadStreamCreateForHTTPRequest(alloc unsafe.Pointer, request unsafe.Pointer) unsafe.Pointer
- func CFReadStreamCreateForStreamedHTTPRequest(alloc unsafe.Pointer, requestHeaders unsafe.Pointer, ...) unsafe.Pointer
- func CFReadStreamCreateWithFTPURL(alloc unsafe.Pointer, ftpURL unsafe.Pointer) unsafe.Pointer
- func CFSocketStreamSOCKSGetError(error_ *corefoundation.CFStreamError) int
- func CFSocketStreamSOCKSGetErrorSubdomain(error_ *corefoundation.CFStreamError) int
- func CFStreamCreatePairWithSocketToCFHost(alloc unsafe.Pointer, host unsafe.Pointer, port int, readStream unsafe.Pointer, ...)deprecated
- func CFStreamCreatePairWithSocketToNetService(alloc unsafe.Pointer, service unsafe.Pointer, readStream unsafe.Pointer, ...)deprecated
- func CFWriteStreamCreateWithFTPURL(alloc unsafe.Pointer, ftpURL unsafe.Pointer) unsafe.Pointer
- func KCFDNSServiceFailureKey() uintptr
- func KCFErrorDomainCFNetwork() uintptr
- func KCFErrorDomainWinSock() uintptr
- func KCFFTPResourceGroup() uintptr
- func KCFFTPResourceLink() uintptr
- func KCFFTPResourceModDate() uintptr
- func KCFFTPResourceMode() uintptr
- func KCFFTPResourceName() uintptr
- func KCFFTPResourceOwner() uintptr
- func KCFFTPResourceSize() uintptr
- func KCFFTPResourceType() uintptr
- func KCFFTPStatusCodeKey() uintptr
- func KCFGetAddrInfoFailureKey() uintptr
- func KCFHTTPAuthenticationAccountDomain() uintptr
- func KCFHTTPAuthenticationPassword() uintptr
- func KCFHTTPAuthenticationSchemeBasic() uintptr
- func KCFHTTPAuthenticationSchemeDigest() uintptr
- func KCFHTTPAuthenticationSchemeKerberos() uintptr
- func KCFHTTPAuthenticationSchemeNTLM() uintptr
- func KCFHTTPAuthenticationSchemeNegotiate() uintptr
- func KCFHTTPAuthenticationSchemeNegotiate2() uintptr
- func KCFHTTPAuthenticationSchemeXMobileMeAuthToken() uintptr
- func KCFHTTPAuthenticationUsername() uintptr
- func KCFHTTPVersion1_0() uintptr
- func KCFHTTPVersion1_1() uintptr
- func KCFHTTPVersion2_0() uintptr
- func KCFHTTPVersion3_0() uintptr
- func KCFNetworkProxiesExceptionsList() uintptr
- func KCFNetworkProxiesExcludeSimpleHostnames() uintptr
- func KCFNetworkProxiesFTPEnable() uintptr
- func KCFNetworkProxiesFTPPassive() uintptr
- func KCFNetworkProxiesFTPPort() uintptr
- func KCFNetworkProxiesFTPProxy() uintptr
- func KCFNetworkProxiesGopherEnable() uintptr
- func KCFNetworkProxiesGopherPort() uintptr
- func KCFNetworkProxiesGopherProxy() uintptr
- func KCFNetworkProxiesHTTPEnable() uintptr
- func KCFNetworkProxiesHTTPPort() uintptr
- func KCFNetworkProxiesHTTPProxy() uintptr
- func KCFNetworkProxiesHTTPSEnable() uintptr
- func KCFNetworkProxiesHTTPSPort() uintptr
- func KCFNetworkProxiesHTTPSProxy() uintptr
- func KCFNetworkProxiesProxyAutoConfigEnable() uintptr
- func KCFNetworkProxiesProxyAutoConfigJavaScript() uintptr
- func KCFNetworkProxiesProxyAutoConfigURLString() uintptr
- func KCFNetworkProxiesProxyAutoDiscoveryEnable() uintptr
- func KCFNetworkProxiesRTSPEnable() uintptr
- func KCFNetworkProxiesRTSPPort() uintptr
- func KCFNetworkProxiesRTSPProxy() uintptr
- func KCFNetworkProxiesSOCKSEnable() uintptr
- func KCFNetworkProxiesSOCKSPort() uintptr
- func KCFNetworkProxiesSOCKSProxy() uintptr
- func KCFProxyAutoConfigurationHTTPResponseKey() uintptr
- func KCFProxyAutoConfigurationJavaScriptKey() uintptr
- func KCFProxyAutoConfigurationURLKey() uintptr
- func KCFProxyHostNameKey() uintptr
- func KCFProxyPasswordKey() uintptr
- func KCFProxyPortNumberKey() uintptr
- func KCFProxyTypeAutoConfigurationJavaScript() uintptr
- func KCFProxyTypeAutoConfigurationURL() uintptr
- func KCFProxyTypeFTP() uintptr
- func KCFProxyTypeHTTP() uintptr
- func KCFProxyTypeHTTPS() uintptr
- func KCFProxyTypeKey() uintptr
- func KCFProxyTypeNone() uintptr
- func KCFProxyTypeSOCKS() uintptr
- func KCFProxyUsernameKey() uintptr
- func KCFSOCKSNegotiationMethodKey() uintptr
- func KCFSOCKSStatusCodeKey() uintptr
- func KCFSOCKSVersionKey() uintptr
- func KCFStreamErrorDomainFTP() int
- func KCFStreamErrorDomainHTTP() int
- func KCFStreamErrorDomainMach() int
- func KCFStreamErrorDomainNetDB() int
- func KCFStreamErrorDomainNetServices() int
- func KCFStreamErrorDomainSystemConfiguration() int
- func KCFStreamErrorDomainWinSock() int
- func KCFStreamNetworkServiceType() uintptr
- func KCFStreamNetworkServiceTypeAVStreaming() uintptr
- func KCFStreamNetworkServiceTypeBackground() uintptr
- func KCFStreamNetworkServiceTypeCallSignaling() uintptr
- func KCFStreamNetworkServiceTypeResponsiveAV() uintptr
- func KCFStreamNetworkServiceTypeResponsiveData() uintptr
- func KCFStreamNetworkServiceTypeVideo() uintptr
- func KCFStreamNetworkServiceTypeVoIP() uintptr
- func KCFStreamNetworkServiceTypeVoice() uintptr
- func KCFStreamPropertyAllowConstrainedNetworkAccess() uintptr
- func KCFStreamPropertyAllowExpensiveNetworkAccess() uintptr
- func KCFStreamPropertyConnectionIsCellular() uintptr
- func KCFStreamPropertyConnectionIsExpensive() uintptr
- func KCFStreamPropertyFTPAttemptPersistentConnection() uintptr
- func KCFStreamPropertyFTPFetchResourceInfo() uintptr
- func KCFStreamPropertyFTPFileTransferOffset() uintptr
- func KCFStreamPropertyFTPPassword() uintptr
- func KCFStreamPropertyFTPProxy() uintptr
- func KCFStreamPropertyFTPProxyHost() uintptr
- func KCFStreamPropertyFTPProxyPassword() uintptr
- func KCFStreamPropertyFTPProxyPort() uintptr
- func KCFStreamPropertyFTPProxyUser() uintptr
- func KCFStreamPropertyFTPResourceSize() uintptr
- func KCFStreamPropertyFTPUsePassiveMode() uintptr
- func KCFStreamPropertyFTPUserName() uintptr
- func KCFStreamPropertyHTTPAttemptPersistentConnection() uintptr
- func KCFStreamPropertyHTTPFinalRequest() uintptr
- func KCFStreamPropertyHTTPFinalURL() uintptr
- func KCFStreamPropertyHTTPProxy() uintptr
- func KCFStreamPropertyHTTPProxyHost() uintptr
- func KCFStreamPropertyHTTPProxyPort() uintptr
- func KCFStreamPropertyHTTPRequestBytesWrittenCount() uintptr
- func KCFStreamPropertyHTTPResponseHeader() uintptr
- func KCFStreamPropertyHTTPSProxyHost() uintptr
- func KCFStreamPropertyHTTPSProxyPort() uintptr
- func KCFStreamPropertyHTTPShouldAutoredirect() uintptr
- func KCFStreamPropertyNoCellular() uintptr
- func KCFStreamPropertyProxyLocalBypass() uintptr
- func KCFStreamPropertySSLContext() uintptr
- func KCFStreamPropertySSLPeerCertificates() uintptr
- func KCFStreamPropertySSLPeerTrust() uintptr
- func KCFStreamPropertySSLSettings() uintptr
- func KCFStreamPropertySocketExtendedBackgroundIdleMode() uintptr
- func KCFStreamPropertySocketRemoteHost() uintptr
- func KCFStreamPropertySocketRemoteNetService() uintptr
- func KCFStreamSSLAllowsAnyRoot() uintptr
- func KCFStreamSSLAllowsExpiredCertificates() uintptr
- func KCFStreamSSLAllowsExpiredRoots() uintptr
- func KCFStreamSSLCertificates() uintptr
- func KCFStreamSSLIsServer() uintptr
- func KCFStreamSSLLevel() uintptr
- func KCFStreamSSLPeerName() uintptr
- func KCFStreamSSLValidatesCertificateChain() uintptr
- func KCFURLErrorFailingURLErrorKey() uintptr
- func KCFURLErrorFailingURLStringErrorKey() uintptr
- func SymbolAvailable(symbol string) bool
- type Acl_entry_id_t
- type Acl_flag_t
- type Acl_perm_t
- type Acl_tag_t
- type Acl_type_t
- type CFHTTPAuthentication
- type CFHTTPMessage
- type CFHost
- type CFHostClientContext
- type CFHostInfoType
- type CFNetDiagnostic
- type CFNetDiagnosticStatusValues
- type CFNetService
- type CFNetServiceBrowser
- type CFNetServiceBrowserFlags
- type CFNetServiceClientContext
- type CFNetServiceMonitor
- type CFNetServiceMonitorType
- type CFNetServiceRegisterFlags
- type CFNetServicesError
- type CFNetworkErrors
- type CFStreamErrorHTTP
- type CFStreamErrorHTTPAuthentication
- type Clockid_t
- type Dispatch_autorelease_frequency_t
- type Dispatch_block_flags_t
- type Filesec_property_t
- type Idtype_t
- type Mpo_flags_t
- type Os_clockid_t
- type Ptrauth_key
- type Qos_class_t
Constants ¶
const ( KCFStreamErrorSOCKS4IdConflict = 93 KCFStreamErrorSOCKS4IdentdFailed = 92 KCFStreamErrorSOCKS4RequestFailed = 91 )
const ( KCFStreamErrorSOCKS5BadResponseAddr = 1 KCFStreamErrorSOCKS5BadState = 2 KCFStreamErrorSOCKSUnknownClientVersion = 3 )
const ( KCFStreamErrorSOCKS4SubDomainResponse = 2 KCFStreamErrorSOCKS5SubDomainMethod = 4 KCFStreamErrorSOCKS5SubDomainResponse = 5 KCFStreamErrorSOCKS5SubDomainUserPass = 3 KCFStreamErrorSOCKSSubDomainNone = 0 KCFStreamErrorSOCKSSubDomainVersionCode = 1 )
const (
KSOCKS5NoAcceptableMethod = 255
)
Variables ¶
This section is empty.
Functions ¶
func CFHTTPAuthenticationGetTypeID ¶
func CFHTTPAuthenticationGetTypeID() uint
func CFHTTPAuthenticationIsValid ¶
func CFHTTPAuthenticationIsValid(auth unsafe.Pointer, error_ *corefoundation.CFStreamError) uint8
func CFHTTPMessageApplyCredentialDictionary ¶
func CFHTTPMessageApplyCredentialDictionary(request unsafe.Pointer, auth unsafe.Pointer, dict unsafe.Pointer, error_ *corefoundation.CFStreamError) uint8
func CFHTTPMessageCreateCopy ¶
func CFHTTPMessageGetTypeID ¶
func CFHTTPMessageGetTypeID() uint
func CFHTTPMessageIsRequest ¶
func CFHTTPMessageSetBody ¶
func CFHostCancelInfoResolution
deprecated
func CFHostCancelInfoResolution(theHost unsafe.Pointer, info CFHostInfoType)
Deprecated: Use Network framework instead, see deprecation notice in <CFNetwork/CFHost.h>
func CFHostGetTypeID
deprecated
func CFHostGetTypeID() uint
Deprecated: Use Network framework instead, see deprecation notice in <CFNetwork/CFHost.h>
func CFHostSetClient
deprecated
func CFHostStartInfoResolution
deprecated
func CFHostStartInfoResolution(theHost unsafe.Pointer, info CFHostInfoType, error_ *corefoundation.CFStreamError) uint8
Deprecated: Use Network framework instead, see deprecation notice in <CFNetwork/CFHost.h>
func CFNetDiagnosticSetName ¶
func CFNetServiceBrowserCreate
deprecated
func CFNetServiceBrowserGetTypeID
deprecated
func CFNetServiceBrowserGetTypeID() uint
Deprecated: Use nw_browser_t or nw_listener_t in Network framework instead
func CFNetServiceBrowserInvalidate
deprecated
func CFNetServiceBrowserSearchForDomains
deprecated
func CFNetServiceBrowserSearchForDomains(browser unsafe.Pointer, registrationDomains uint8, error_ *corefoundation.CFStreamError) uint8
Deprecated: Use nw_browser_t or nw_listener_t in Network framework instead
func CFNetServiceBrowserSearchForServices
deprecated
func CFNetServiceBrowserSearchForServices(browser unsafe.Pointer, domain unsafe.Pointer, serviceType unsafe.Pointer, error_ *corefoundation.CFStreamError) uint8
Deprecated: Use nw_browser_t or nw_listener_t in Network framework instead
func CFNetServiceBrowserStopSearch
deprecated
func CFNetServiceBrowserStopSearch(browser unsafe.Pointer, error_ *corefoundation.CFStreamError)
Deprecated: Use nw_browser_t or nw_listener_t in Network framework instead
func CFNetServiceCancel
deprecated
func CFNetServiceGetAddressing
deprecated
func CFNetServiceGetDomain
deprecated
func CFNetServiceGetName
deprecated
func CFNetServiceGetPortNumber
deprecated
func CFNetServiceGetTXTData
deprecated
func CFNetServiceGetTargetHost
deprecated
func CFNetServiceGetType
deprecated
func CFNetServiceGetTypeID
deprecated
func CFNetServiceGetTypeID() uint
Deprecated: Use nw_browser_t or nw_listener_t in Network framework instead
func CFNetServiceMonitorCreate
deprecated
func CFNetServiceMonitorGetTypeID
deprecated
func CFNetServiceMonitorGetTypeID() uint
Deprecated: Use nw_browser_t or nw_listener_t in Network framework instead
func CFNetServiceMonitorInvalidate
deprecated
func CFNetServiceMonitorStart
deprecated
func CFNetServiceMonitorStart(monitor unsafe.Pointer, recordType CFNetServiceMonitorType, error_ *corefoundation.CFStreamError) uint8
Deprecated: Use nw_browser_t or nw_listener_t in Network framework instead
func CFNetServiceMonitorStop
deprecated
func CFNetServiceMonitorStop(monitor unsafe.Pointer, error_ *corefoundation.CFStreamError)
Deprecated: Use nw_browser_t or nw_listener_t in Network framework instead
func CFNetServiceRegister ¶
func CFNetServiceRegister(theService unsafe.Pointer, error_ *corefoundation.CFStreamError) uint8
func CFNetServiceRegisterWithOptions
deprecated
func CFNetServiceRegisterWithOptions(theService unsafe.Pointer, options uint, error_ *corefoundation.CFStreamError) uint8
Deprecated: Use nw_browser_t or nw_listener_t in Network framework instead
func CFNetServiceResolve ¶
func CFNetServiceResolve(theService unsafe.Pointer, error_ *corefoundation.CFStreamError) uint8
func CFNetServiceResolveWithTimeout
deprecated
func CFNetServiceResolveWithTimeout(theService unsafe.Pointer, timeout float64, error_ *corefoundation.CFStreamError) uint8
Deprecated: Use nw_browser_t or nw_listener_t in Network framework instead
func CFNetServiceSetClient
deprecated
func CFNetworkExecuteProxyAutoConfigurationScript ¶
func CFNetworkExecuteProxyAutoConfigurationScript(proxyAutoConfigurationScript unsafe.Pointer, targetURL unsafe.Pointer, cb unsafe.Pointer, clientContext *corefoundation.CFStreamClientContext) unsafe.Pointer
func CFNetworkExecuteProxyAutoConfigurationURL ¶
func CFNetworkExecuteProxyAutoConfigurationURL(proxyAutoConfigURL unsafe.Pointer, targetURL unsafe.Pointer, cb unsafe.Pointer, clientContext *corefoundation.CFStreamClientContext) unsafe.Pointer
func CFSocketStreamSOCKSGetError ¶
func CFSocketStreamSOCKSGetError(error_ *corefoundation.CFStreamError) int
func CFSocketStreamSOCKSGetErrorSubdomain ¶
func CFSocketStreamSOCKSGetErrorSubdomain(error_ *corefoundation.CFStreamError) int
func KCFDNSServiceFailureKey ¶
func KCFDNSServiceFailureKey() uintptr
func KCFErrorDomainCFNetwork ¶
func KCFErrorDomainCFNetwork() uintptr
func KCFErrorDomainWinSock ¶
func KCFErrorDomainWinSock() uintptr
func KCFFTPResourceGroup ¶
func KCFFTPResourceGroup() uintptr
func KCFFTPResourceLink ¶
func KCFFTPResourceLink() uintptr
func KCFFTPResourceModDate ¶
func KCFFTPResourceModDate() uintptr
func KCFFTPResourceMode ¶
func KCFFTPResourceMode() uintptr
func KCFFTPResourceName ¶
func KCFFTPResourceName() uintptr
func KCFFTPResourceOwner ¶
func KCFFTPResourceOwner() uintptr
func KCFFTPResourceSize ¶
func KCFFTPResourceSize() uintptr
func KCFFTPResourceType ¶
func KCFFTPResourceType() uintptr
func KCFFTPStatusCodeKey ¶
func KCFFTPStatusCodeKey() uintptr
func KCFGetAddrInfoFailureKey ¶
func KCFGetAddrInfoFailureKey() uintptr
func KCFHTTPAuthenticationAccountDomain ¶
func KCFHTTPAuthenticationAccountDomain() uintptr
func KCFHTTPAuthenticationPassword ¶
func KCFHTTPAuthenticationPassword() uintptr
func KCFHTTPAuthenticationSchemeBasic ¶
func KCFHTTPAuthenticationSchemeBasic() uintptr
func KCFHTTPAuthenticationSchemeDigest ¶
func KCFHTTPAuthenticationSchemeDigest() uintptr
func KCFHTTPAuthenticationSchemeKerberos ¶
func KCFHTTPAuthenticationSchemeKerberos() uintptr
func KCFHTTPAuthenticationSchemeNTLM ¶
func KCFHTTPAuthenticationSchemeNTLM() uintptr
func KCFHTTPAuthenticationSchemeNegotiate ¶
func KCFHTTPAuthenticationSchemeNegotiate() uintptr
func KCFHTTPAuthenticationSchemeNegotiate2 ¶
func KCFHTTPAuthenticationSchemeNegotiate2() uintptr
func KCFHTTPAuthenticationSchemeXMobileMeAuthToken ¶
func KCFHTTPAuthenticationSchemeXMobileMeAuthToken() uintptr
func KCFHTTPAuthenticationUsername ¶
func KCFHTTPAuthenticationUsername() uintptr
func KCFHTTPVersion1_0 ¶
func KCFHTTPVersion1_0() uintptr
func KCFHTTPVersion1_1 ¶
func KCFHTTPVersion1_1() uintptr
func KCFHTTPVersion2_0 ¶
func KCFHTTPVersion2_0() uintptr
func KCFHTTPVersion3_0 ¶
func KCFHTTPVersion3_0() uintptr
func KCFNetworkProxiesExceptionsList ¶
func KCFNetworkProxiesExceptionsList() uintptr
func KCFNetworkProxiesExcludeSimpleHostnames ¶
func KCFNetworkProxiesExcludeSimpleHostnames() uintptr
func KCFNetworkProxiesFTPEnable ¶
func KCFNetworkProxiesFTPEnable() uintptr
func KCFNetworkProxiesFTPPassive ¶
func KCFNetworkProxiesFTPPassive() uintptr
func KCFNetworkProxiesFTPPort ¶
func KCFNetworkProxiesFTPPort() uintptr
func KCFNetworkProxiesFTPProxy ¶
func KCFNetworkProxiesFTPProxy() uintptr
func KCFNetworkProxiesGopherEnable ¶
func KCFNetworkProxiesGopherEnable() uintptr
func KCFNetworkProxiesGopherPort ¶
func KCFNetworkProxiesGopherPort() uintptr
func KCFNetworkProxiesGopherProxy ¶
func KCFNetworkProxiesGopherProxy() uintptr
func KCFNetworkProxiesHTTPEnable ¶
func KCFNetworkProxiesHTTPEnable() uintptr
func KCFNetworkProxiesHTTPPort ¶
func KCFNetworkProxiesHTTPPort() uintptr
func KCFNetworkProxiesHTTPProxy ¶
func KCFNetworkProxiesHTTPProxy() uintptr
func KCFNetworkProxiesHTTPSEnable ¶
func KCFNetworkProxiesHTTPSEnable() uintptr
func KCFNetworkProxiesHTTPSPort ¶
func KCFNetworkProxiesHTTPSPort() uintptr
func KCFNetworkProxiesHTTPSProxy ¶
func KCFNetworkProxiesHTTPSProxy() uintptr
func KCFNetworkProxiesProxyAutoConfigEnable ¶
func KCFNetworkProxiesProxyAutoConfigEnable() uintptr
func KCFNetworkProxiesProxyAutoConfigJavaScript ¶
func KCFNetworkProxiesProxyAutoConfigJavaScript() uintptr
func KCFNetworkProxiesProxyAutoConfigURLString ¶
func KCFNetworkProxiesProxyAutoConfigURLString() uintptr
func KCFNetworkProxiesProxyAutoDiscoveryEnable ¶
func KCFNetworkProxiesProxyAutoDiscoveryEnable() uintptr
func KCFNetworkProxiesRTSPEnable ¶
func KCFNetworkProxiesRTSPEnable() uintptr
func KCFNetworkProxiesRTSPPort ¶
func KCFNetworkProxiesRTSPPort() uintptr
func KCFNetworkProxiesRTSPProxy ¶
func KCFNetworkProxiesRTSPProxy() uintptr
func KCFNetworkProxiesSOCKSEnable ¶
func KCFNetworkProxiesSOCKSEnable() uintptr
func KCFNetworkProxiesSOCKSPort ¶
func KCFNetworkProxiesSOCKSPort() uintptr
func KCFNetworkProxiesSOCKSProxy ¶
func KCFNetworkProxiesSOCKSProxy() uintptr
func KCFProxyAutoConfigurationHTTPResponseKey ¶
func KCFProxyAutoConfigurationHTTPResponseKey() uintptr
func KCFProxyAutoConfigurationJavaScriptKey ¶
func KCFProxyAutoConfigurationJavaScriptKey() uintptr
func KCFProxyAutoConfigurationURLKey ¶
func KCFProxyAutoConfigurationURLKey() uintptr
func KCFProxyHostNameKey ¶
func KCFProxyHostNameKey() uintptr
func KCFProxyPasswordKey ¶
func KCFProxyPasswordKey() uintptr
func KCFProxyPortNumberKey ¶
func KCFProxyPortNumberKey() uintptr
func KCFProxyTypeAutoConfigurationJavaScript ¶
func KCFProxyTypeAutoConfigurationJavaScript() uintptr
func KCFProxyTypeAutoConfigurationURL ¶
func KCFProxyTypeAutoConfigurationURL() uintptr
func KCFProxyTypeFTP ¶
func KCFProxyTypeFTP() uintptr
func KCFProxyTypeHTTP ¶
func KCFProxyTypeHTTP() uintptr
func KCFProxyTypeHTTPS ¶
func KCFProxyTypeHTTPS() uintptr
func KCFProxyTypeKey ¶
func KCFProxyTypeKey() uintptr
func KCFProxyTypeNone ¶
func KCFProxyTypeNone() uintptr
func KCFProxyTypeSOCKS ¶
func KCFProxyTypeSOCKS() uintptr
func KCFProxyUsernameKey ¶
func KCFProxyUsernameKey() uintptr
func KCFSOCKSNegotiationMethodKey ¶
func KCFSOCKSNegotiationMethodKey() uintptr
func KCFSOCKSStatusCodeKey ¶
func KCFSOCKSStatusCodeKey() uintptr
func KCFSOCKSVersionKey ¶
func KCFSOCKSVersionKey() uintptr
func KCFStreamErrorDomainFTP ¶
func KCFStreamErrorDomainFTP() int
func KCFStreamErrorDomainHTTP ¶
func KCFStreamErrorDomainHTTP() int
func KCFStreamErrorDomainMach ¶
func KCFStreamErrorDomainMach() int
func KCFStreamErrorDomainNetDB ¶
func KCFStreamErrorDomainNetDB() int
func KCFStreamErrorDomainNetServices ¶
func KCFStreamErrorDomainNetServices() int
func KCFStreamErrorDomainSystemConfiguration ¶
func KCFStreamErrorDomainSystemConfiguration() int
func KCFStreamErrorDomainWinSock ¶
func KCFStreamErrorDomainWinSock() int
func KCFStreamNetworkServiceType ¶
func KCFStreamNetworkServiceType() uintptr
func KCFStreamNetworkServiceTypeAVStreaming ¶
func KCFStreamNetworkServiceTypeAVStreaming() uintptr
func KCFStreamNetworkServiceTypeBackground ¶
func KCFStreamNetworkServiceTypeBackground() uintptr
func KCFStreamNetworkServiceTypeCallSignaling ¶
func KCFStreamNetworkServiceTypeCallSignaling() uintptr
func KCFStreamNetworkServiceTypeResponsiveAV ¶
func KCFStreamNetworkServiceTypeResponsiveAV() uintptr
func KCFStreamNetworkServiceTypeResponsiveData ¶
func KCFStreamNetworkServiceTypeResponsiveData() uintptr
func KCFStreamNetworkServiceTypeVideo ¶
func KCFStreamNetworkServiceTypeVideo() uintptr
func KCFStreamNetworkServiceTypeVoIP ¶
func KCFStreamNetworkServiceTypeVoIP() uintptr
func KCFStreamNetworkServiceTypeVoice ¶
func KCFStreamNetworkServiceTypeVoice() uintptr
func KCFStreamPropertyAllowConstrainedNetworkAccess ¶
func KCFStreamPropertyAllowConstrainedNetworkAccess() uintptr
func KCFStreamPropertyAllowExpensiveNetworkAccess ¶
func KCFStreamPropertyAllowExpensiveNetworkAccess() uintptr
func KCFStreamPropertyConnectionIsCellular ¶
func KCFStreamPropertyConnectionIsCellular() uintptr
func KCFStreamPropertyConnectionIsExpensive ¶
func KCFStreamPropertyConnectionIsExpensive() uintptr
func KCFStreamPropertyFTPAttemptPersistentConnection ¶
func KCFStreamPropertyFTPAttemptPersistentConnection() uintptr
func KCFStreamPropertyFTPFetchResourceInfo ¶
func KCFStreamPropertyFTPFetchResourceInfo() uintptr
func KCFStreamPropertyFTPFileTransferOffset ¶
func KCFStreamPropertyFTPFileTransferOffset() uintptr
func KCFStreamPropertyFTPPassword ¶
func KCFStreamPropertyFTPPassword() uintptr
func KCFStreamPropertyFTPProxy ¶
func KCFStreamPropertyFTPProxy() uintptr
func KCFStreamPropertyFTPProxyHost ¶
func KCFStreamPropertyFTPProxyHost() uintptr
func KCFStreamPropertyFTPProxyPassword ¶
func KCFStreamPropertyFTPProxyPassword() uintptr
func KCFStreamPropertyFTPProxyPort ¶
func KCFStreamPropertyFTPProxyPort() uintptr
func KCFStreamPropertyFTPProxyUser ¶
func KCFStreamPropertyFTPProxyUser() uintptr
func KCFStreamPropertyFTPResourceSize ¶
func KCFStreamPropertyFTPResourceSize() uintptr
func KCFStreamPropertyFTPUsePassiveMode ¶
func KCFStreamPropertyFTPUsePassiveMode() uintptr
func KCFStreamPropertyFTPUserName ¶
func KCFStreamPropertyFTPUserName() uintptr
func KCFStreamPropertyHTTPAttemptPersistentConnection ¶
func KCFStreamPropertyHTTPAttemptPersistentConnection() uintptr
func KCFStreamPropertyHTTPFinalRequest ¶
func KCFStreamPropertyHTTPFinalRequest() uintptr
func KCFStreamPropertyHTTPFinalURL ¶
func KCFStreamPropertyHTTPFinalURL() uintptr
func KCFStreamPropertyHTTPProxy ¶
func KCFStreamPropertyHTTPProxy() uintptr
func KCFStreamPropertyHTTPProxyHost ¶
func KCFStreamPropertyHTTPProxyHost() uintptr
func KCFStreamPropertyHTTPProxyPort ¶
func KCFStreamPropertyHTTPProxyPort() uintptr
func KCFStreamPropertyHTTPRequestBytesWrittenCount ¶
func KCFStreamPropertyHTTPRequestBytesWrittenCount() uintptr
func KCFStreamPropertyHTTPResponseHeader ¶
func KCFStreamPropertyHTTPResponseHeader() uintptr
func KCFStreamPropertyHTTPSProxyHost ¶
func KCFStreamPropertyHTTPSProxyHost() uintptr
func KCFStreamPropertyHTTPSProxyPort ¶
func KCFStreamPropertyHTTPSProxyPort() uintptr
func KCFStreamPropertyHTTPShouldAutoredirect ¶
func KCFStreamPropertyHTTPShouldAutoredirect() uintptr
func KCFStreamPropertyNoCellular ¶
func KCFStreamPropertyNoCellular() uintptr
func KCFStreamPropertyProxyLocalBypass ¶
func KCFStreamPropertyProxyLocalBypass() uintptr
func KCFStreamPropertySSLContext ¶
func KCFStreamPropertySSLContext() uintptr
func KCFStreamPropertySSLPeerCertificates ¶
func KCFStreamPropertySSLPeerCertificates() uintptr
func KCFStreamPropertySSLPeerTrust ¶
func KCFStreamPropertySSLPeerTrust() uintptr
func KCFStreamPropertySSLSettings ¶
func KCFStreamPropertySSLSettings() uintptr
func KCFStreamPropertySocketExtendedBackgroundIdleMode ¶
func KCFStreamPropertySocketExtendedBackgroundIdleMode() uintptr
func KCFStreamPropertySocketRemoteHost ¶
func KCFStreamPropertySocketRemoteHost() uintptr
func KCFStreamPropertySocketRemoteNetService ¶
func KCFStreamPropertySocketRemoteNetService() uintptr
func KCFStreamSSLAllowsAnyRoot ¶
func KCFStreamSSLAllowsAnyRoot() uintptr
func KCFStreamSSLAllowsExpiredCertificates ¶
func KCFStreamSSLAllowsExpiredCertificates() uintptr
func KCFStreamSSLAllowsExpiredRoots ¶
func KCFStreamSSLAllowsExpiredRoots() uintptr
func KCFStreamSSLCertificates ¶
func KCFStreamSSLCertificates() uintptr
func KCFStreamSSLIsServer ¶
func KCFStreamSSLIsServer() uintptr
func KCFStreamSSLLevel ¶
func KCFStreamSSLLevel() uintptr
func KCFStreamSSLPeerName ¶
func KCFStreamSSLPeerName() uintptr
func KCFStreamSSLValidatesCertificateChain ¶
func KCFStreamSSLValidatesCertificateChain() uintptr
func KCFURLErrorFailingURLErrorKey ¶
func KCFURLErrorFailingURLErrorKey() uintptr
func KCFURLErrorFailingURLStringErrorKey ¶
func KCFURLErrorFailingURLStringErrorKey() uintptr
func SymbolAvailable ¶
SymbolAvailable reports whether the named C symbol was bound when the library loaded. Calling a generated wrapper whose symbol is unavailable dereferences a nil function variable and panics.
Types ¶
type Acl_entry_id_t ¶
type Acl_entry_id_t int64
const ( ACL_FIRST_ENTRY Acl_entry_id_t = 0 ACL_NEXT_ENTRY Acl_entry_id_t = -1 ACL_LAST_ENTRY Acl_entry_id_t = -2 )
func (Acl_entry_id_t) String ¶
func (e Acl_entry_id_t) String() string
type Acl_flag_t ¶
type Acl_flag_t int64
const ( ACL_FLAG_DEFER_INHERIT Acl_flag_t = 1 ACL_FLAG_NO_INHERIT Acl_flag_t = 131072 ACL_ENTRY_INHERITED Acl_flag_t = 16 ACL_ENTRY_FILE_INHERIT Acl_flag_t = 32 ACL_ENTRY_DIRECTORY_INHERIT Acl_flag_t = 64 ACL_ENTRY_LIMIT_INHERIT Acl_flag_t = 128 ACL_ENTRY_ONLY_INHERIT Acl_flag_t = 256 )
func (Acl_flag_t) String ¶
func (e Acl_flag_t) String() string
type Acl_perm_t ¶
type Acl_perm_t int64
const ( ACL_READ_DATA Acl_perm_t = 2 ACL_LIST_DIRECTORY Acl_perm_t = 2 ACL_WRITE_DATA Acl_perm_t = 4 ACL_ADD_FILE Acl_perm_t = 4 ACL_EXECUTE Acl_perm_t = 8 ACL_SEARCH Acl_perm_t = 8 ACL_DELETE Acl_perm_t = 16 ACL_APPEND_DATA Acl_perm_t = 32 ACL_ADD_SUBDIRECTORY Acl_perm_t = 32 ACL_DELETE_CHILD Acl_perm_t = 64 ACL_READ_ATTRIBUTES Acl_perm_t = 128 ACL_WRITE_ATTRIBUTES Acl_perm_t = 256 ACL_READ_EXTATTRIBUTES Acl_perm_t = 512 ACL_WRITE_EXTATTRIBUTES Acl_perm_t = 1024 ACL_READ_SECURITY Acl_perm_t = 2048 ACL_WRITE_SECURITY Acl_perm_t = 4096 ACL_CHANGE_OWNER Acl_perm_t = 8192 ACL_SYNCHRONIZE Acl_perm_t = 1048576 )
func (Acl_perm_t) String ¶
func (e Acl_perm_t) String() string
type Acl_type_t ¶
type Acl_type_t int64
const ( ACL_TYPE_EXTENDED Acl_type_t = 256 ACL_TYPE_ACCESS Acl_type_t = 0 ACL_TYPE_DEFAULT Acl_type_t = 1 ACL_TYPE_AFS Acl_type_t = 2 ACL_TYPE_CODA Acl_type_t = 3 ACL_TYPE_NTFS Acl_type_t = 4 ACL_TYPE_NWFS Acl_type_t = 5 )
func (Acl_type_t) String ¶
func (e Acl_type_t) String() string
type CFHTTPAuthentication ¶
type CFHTTPAuthentication struct{}
C struct: _CFHTTPAuthentication CFHTTPAuthentication is an opaque type.
type CFHTTPMessage ¶
type CFHTTPMessage struct{}
C struct: __CFHTTPMessage CFHTTPMessage is an opaque type.
type CFHostClientContext ¶
type CFHostInfoType ¶
type CFHostInfoType int32
const ( KCFHostAddresses CFHostInfoType = 0 KCFHostNames CFHostInfoType = 1 KCFHostReachability CFHostInfoType = 2 )
func (CFHostInfoType) String ¶
func (e CFHostInfoType) String() string
type CFNetDiagnostic ¶
type CFNetDiagnostic struct{}
C struct: __CFNetDiagnostic CFNetDiagnostic is an opaque type.
type CFNetDiagnosticStatusValues ¶
type CFNetDiagnosticStatusValues int32
const ( KCFNetDiagnosticNoErr CFNetDiagnosticStatusValues = 0 KCFNetDiagnosticErr CFNetDiagnosticStatusValues = -66560 KCFNetDiagnosticConnectionUp CFNetDiagnosticStatusValues = -66559 KCFNetDiagnosticConnectionIndeterminate CFNetDiagnosticStatusValues = -66558 KCFNetDiagnosticConnectionDown CFNetDiagnosticStatusValues = -66557 )
func (CFNetDiagnosticStatusValues) String ¶
func (e CFNetDiagnosticStatusValues) String() string
type CFNetService ¶
type CFNetService struct{}
C struct: __CFNetService CFNetService is an opaque type.
type CFNetServiceBrowser ¶
type CFNetServiceBrowser struct{}
C struct: __CFNetServiceBrowser CFNetServiceBrowser is an opaque type.
type CFNetServiceBrowserFlags ¶
type CFNetServiceBrowserFlags int64
const ( KCFNetServiceFlagMoreComing CFNetServiceBrowserFlags = 1 KCFNetServiceFlagIsDomain CFNetServiceBrowserFlags = 2 KCFNetServiceFlagIsDefault CFNetServiceBrowserFlags = 4 KCFNetServiceFlagIsRegistrationDomain CFNetServiceBrowserFlags = 4 KCFNetServiceFlagRemove CFNetServiceBrowserFlags = 8 )
func (CFNetServiceBrowserFlags) String ¶
func (e CFNetServiceBrowserFlags) String() string
type CFNetServiceMonitor ¶
type CFNetServiceMonitor struct{}
C struct: __CFNetServiceMonitor CFNetServiceMonitor is an opaque type.
type CFNetServiceMonitorType ¶
type CFNetServiceMonitorType int32
const (
KCFNetServiceMonitorTXT CFNetServiceMonitorType = 1
)
func (CFNetServiceMonitorType) String ¶
func (e CFNetServiceMonitorType) String() string
type CFNetServiceRegisterFlags ¶
type CFNetServiceRegisterFlags int64
const (
KCFNetServiceFlagNoAutoRename CFNetServiceRegisterFlags = 1
)
func (CFNetServiceRegisterFlags) String ¶
func (e CFNetServiceRegisterFlags) String() string
type CFNetServicesError ¶
type CFNetServicesError int32
const ( KCFNetServicesErrorUnknown CFNetServicesError = -72000 KCFNetServicesErrorCollision CFNetServicesError = -72001 KCFNetServicesErrorNotFound CFNetServicesError = -72002 KCFNetServicesErrorInProgress CFNetServicesError = -72003 KCFNetServicesErrorBadArgument CFNetServicesError = -72004 KCFNetServicesErrorCancel CFNetServicesError = -72005 KCFNetServicesErrorInvalid CFNetServicesError = -72006 KCFNetServicesErrorTimeout CFNetServicesError = -72007 KCFNetServicesErrorMissingRequiredConfiguration CFNetServicesError = -72008 )
func (CFNetServicesError) String ¶
func (e CFNetServicesError) String() string
type CFNetworkErrors ¶
type CFNetworkErrors int32
const ( KCFHostErrorHostNotFound CFNetworkErrors = 1 KCFHostErrorUnknown CFNetworkErrors = 2 KCFSOCKSErrorUnknownClientVersion CFNetworkErrors = 100 KCFSOCKSErrorUnsupportedServerVersion CFNetworkErrors = 101 KCFSOCKS4ErrorRequestFailed CFNetworkErrors = 110 KCFSOCKS4ErrorIdentdFailed CFNetworkErrors = 111 KCFSOCKS4ErrorIdConflict CFNetworkErrors = 112 KCFSOCKS4ErrorUnknownStatusCode CFNetworkErrors = 113 KCFSOCKS5ErrorBadState CFNetworkErrors = 120 KCFSOCKS5ErrorBadResponseAddr CFNetworkErrors = 121 KCFSOCKS5ErrorBadCredentials CFNetworkErrors = 122 KCFSOCKS5ErrorUnsupportedNegotiationMethod CFNetworkErrors = 123 KCFSOCKS5ErrorNoAcceptableMethod CFNetworkErrors = 124 KCFFTPErrorUnexpectedStatusCode CFNetworkErrors = 200 KCFErrorHTTPAuthenticationTypeUnsupported CFNetworkErrors = 300 KCFErrorHTTPBadCredentials CFNetworkErrors = 301 KCFErrorHTTPConnectionLost CFNetworkErrors = 302 KCFErrorHTTPParseFailure CFNetworkErrors = 303 KCFErrorHTTPRedirectionLoopDetected CFNetworkErrors = 304 KCFErrorHTTPBadURL CFNetworkErrors = 305 KCFErrorHTTPProxyConnectionFailure CFNetworkErrors = 306 KCFErrorHTTPBadProxyCredentials CFNetworkErrors = 307 KCFErrorPACFileError CFNetworkErrors = 308 KCFErrorPACFileAuth CFNetworkErrors = 309 KCFErrorHTTPSProxyConnectionFailure CFNetworkErrors = 310 KCFStreamErrorHTTPSProxyFailureUnexpectedResponseToCONNECTMethod CFNetworkErrors = 311 KCFURLErrorBackgroundSessionInUseByAnotherProcess CFNetworkErrors = -996 KCFURLErrorBackgroundSessionWasDisconnected CFNetworkErrors = -997 KCFURLErrorUnknown CFNetworkErrors = -998 KCFURLErrorCancelled CFNetworkErrors = -999 KCFURLErrorBadURL CFNetworkErrors = -1000 KCFURLErrorTimedOut CFNetworkErrors = -1001 KCFURLErrorUnsupportedURL CFNetworkErrors = -1002 KCFURLErrorCannotFindHost CFNetworkErrors = -1003 KCFURLErrorCannotConnectToHost CFNetworkErrors = -1004 KCFURLErrorNetworkConnectionLost CFNetworkErrors = -1005 KCFURLErrorDNSLookupFailed CFNetworkErrors = -1006 KCFURLErrorHTTPTooManyRedirects CFNetworkErrors = -1007 KCFURLErrorNotConnectedToInternet CFNetworkErrors = -1009 KCFURLErrorRedirectToNonExistentLocation CFNetworkErrors = -1010 KCFURLErrorBadServerResponse CFNetworkErrors = -1011 KCFURLErrorUserCancelledAuthentication CFNetworkErrors = -1012 KCFURLErrorUserAuthenticationRequired CFNetworkErrors = -1013 KCFURLErrorZeroByteResource CFNetworkErrors = -1014 KCFURLErrorCannotDecodeRawData CFNetworkErrors = -1015 KCFURLErrorCannotDecodeContentData CFNetworkErrors = -1016 KCFURLErrorCannotParseResponse CFNetworkErrors = -1017 KCFURLErrorInternationalRoamingOff CFNetworkErrors = -1018 KCFURLErrorCallIsActive CFNetworkErrors = -1019 KCFURLErrorDataNotAllowed CFNetworkErrors = -1020 KCFURLErrorRequestBodyStreamExhausted CFNetworkErrors = -1021 KCFURLErrorAppTransportSecurityRequiresSecureConnection CFNetworkErrors = -1022 KCFURLErrorFileDoesNotExist CFNetworkErrors = -1100 KCFURLErrorFileIsDirectory CFNetworkErrors = -1101 KCFURLErrorNoPermissionsToReadFile CFNetworkErrors = -1102 KCFURLErrorDataLengthExceedsMaximum CFNetworkErrors = -1103 KCFURLErrorFileOutsideSafeArea CFNetworkErrors = -1104 KCFURLErrorSecureConnectionFailed CFNetworkErrors = -1200 KCFURLErrorServerCertificateHasBadDate CFNetworkErrors = -1201 KCFURLErrorServerCertificateUntrusted CFNetworkErrors = -1202 KCFURLErrorServerCertificateHasUnknownRoot CFNetworkErrors = -1203 KCFURLErrorServerCertificateNotYetValid CFNetworkErrors = -1204 KCFURLErrorClientCertificateRejected CFNetworkErrors = -1205 KCFURLErrorClientCertificateRequired CFNetworkErrors = -1206 KCFURLErrorCannotLoadFromNetwork CFNetworkErrors = -2000 KCFURLErrorCannotCreateFile CFNetworkErrors = -3000 KCFURLErrorCannotOpenFile CFNetworkErrors = -3001 KCFURLErrorCannotCloseFile CFNetworkErrors = -3002 KCFURLErrorCannotWriteToFile CFNetworkErrors = -3003 KCFURLErrorCannotRemoveFile CFNetworkErrors = -3004 KCFURLErrorCannotMoveFile CFNetworkErrors = -3005 KCFURLErrorDownloadDecodingFailedMidStream CFNetworkErrors = -3006 KCFURLErrorDownloadDecodingFailedToComplete CFNetworkErrors = -3007 KCFHTTPCookieCannotParseCookieFile CFNetworkErrors = -4000 KCFNetServiceErrorUnknown CFNetworkErrors = -72000 KCFNetServiceErrorCollision CFNetworkErrors = -72001 KCFNetServiceErrorNotFound CFNetworkErrors = -72002 KCFNetServiceErrorInProgress CFNetworkErrors = -72003 KCFNetServiceErrorBadArgument CFNetworkErrors = -72004 KCFNetServiceErrorCancel CFNetworkErrors = -72005 KCFNetServiceErrorInvalid CFNetworkErrors = -72006 KCFNetServiceErrorTimeout CFNetworkErrors = -72007 KCFNetServiceErrorDNSServiceFailure CFNetworkErrors = -73000 )
func (CFNetworkErrors) String ¶
func (e CFNetworkErrors) String() string
type CFStreamErrorHTTP ¶
type CFStreamErrorHTTP int32
const ( KCFStreamErrorHTTPParseFailure CFStreamErrorHTTP = -1 KCFStreamErrorHTTPRedirectionLoop CFStreamErrorHTTP = -2 KCFStreamErrorHTTPBadURL CFStreamErrorHTTP = -3 )
func (CFStreamErrorHTTP) String ¶
func (e CFStreamErrorHTTP) String() string
type CFStreamErrorHTTPAuthentication ¶
type CFStreamErrorHTTPAuthentication int32
const ( KCFStreamErrorHTTPAuthenticationTypeUnsupported CFStreamErrorHTTPAuthentication = -1000 KCFStreamErrorHTTPAuthenticationBadUserName CFStreamErrorHTTPAuthentication = -1001 KCFStreamErrorHTTPAuthenticationBadPassword CFStreamErrorHTTPAuthentication = -1002 )
func (CFStreamErrorHTTPAuthentication) String ¶
func (e CFStreamErrorHTTPAuthentication) String() string
type Dispatch_autorelease_frequency_t ¶
type Dispatch_autorelease_frequency_t uint64
const ( DISPATCH_AUTORELEASE_FREQUENCY_INHERIT Dispatch_autorelease_frequency_t = 0 DISPATCH_AUTORELEASE_FREQUENCY_WORK_ITEM Dispatch_autorelease_frequency_t = 1 DISPATCH_AUTORELEASE_FREQUENCY_NEVER Dispatch_autorelease_frequency_t = 2 )
func (Dispatch_autorelease_frequency_t) String ¶
func (e Dispatch_autorelease_frequency_t) String() string
type Dispatch_block_flags_t ¶
type Dispatch_block_flags_t uint64
const ( DISPATCH_BLOCK_BARRIER Dispatch_block_flags_t = 1 DISPATCH_BLOCK_DETACHED Dispatch_block_flags_t = 2 DISPATCH_BLOCK_ASSIGN_CURRENT Dispatch_block_flags_t = 4 DISPATCH_BLOCK_NO_QOS_CLASS Dispatch_block_flags_t = 8 DISPATCH_BLOCK_INHERIT_QOS_CLASS Dispatch_block_flags_t = 16 DISPATCH_BLOCK_ENFORCE_QOS_CLASS Dispatch_block_flags_t = 32 )
func (Dispatch_block_flags_t) String ¶
func (e Dispatch_block_flags_t) String() string
type Filesec_property_t ¶
type Filesec_property_t int64
const ( FILESEC_OWNER Filesec_property_t = 1 FILESEC_GROUP Filesec_property_t = 2 FILESEC_UUID Filesec_property_t = 3 FILESEC_MODE Filesec_property_t = 4 FILESEC_ACL Filesec_property_t = 5 FILESEC_GRPUUID Filesec_property_t = 6 FILESEC_ACL_RAW Filesec_property_t = 100 FILESEC_ACL_ALLOCSIZE Filesec_property_t = 101 )
func (Filesec_property_t) String ¶
func (e Filesec_property_t) String() string
type Mpo_flags_t ¶
type Mpo_flags_t int64
const ( MPO_PORT Mpo_flags_t = 0 MPO_SERVICE_PORT Mpo_flags_t = 1024 MPO_CONNECTION_PORT Mpo_flags_t = 2048 MPO_REPLY_PORT Mpo_flags_t = 4096 MPO_WEAK_REPLY_PORT Mpo_flags_t = 16384 MPO_NOTIFICATION_PORT Mpo_flags_t = 17408 MPO_EXCEPTION_PORT Mpo_flags_t = 32768 MPO_CONNECTION_PORT_WITH_PORT_ARRAY Mpo_flags_t = 65536 )
func (Mpo_flags_t) String ¶
func (e Mpo_flags_t) String() string
type Os_clockid_t ¶
type Os_clockid_t int64
const (
OS_CLOCK_MACH_ABSOLUTE_TIME Os_clockid_t = 32
)
func (Os_clockid_t) String ¶
func (e Os_clockid_t) String() string
type Ptrauth_key ¶
type Ptrauth_key int64
const ( Ptrauth_key_none Ptrauth_key = -1 Ptrauth_key_asia Ptrauth_key = 0 Ptrauth_key_asib Ptrauth_key = 1 Ptrauth_key_asda Ptrauth_key = 2 Ptrauth_key_asdb Ptrauth_key = 3 Ptrauth_key_process_independent_code Ptrauth_key = 0 Ptrauth_key_process_dependent_code Ptrauth_key = 1 Ptrauth_key_process_independent_data Ptrauth_key = 2 Ptrauth_key_process_dependent_data Ptrauth_key = 3 Ptrauth_key_return_address Ptrauth_key = 1 Ptrauth_key_frame_pointer Ptrauth_key = 3 Ptrauth_key_function_pointer Ptrauth_key = 0 Ptrauth_key_block_function Ptrauth_key = 0 Ptrauth_key_cxx_vtable_pointer Ptrauth_key = 2 Ptrauth_key_method_list_pointer Ptrauth_key = 2 Ptrauth_key_objc_isa_pointer Ptrauth_key = 2 Ptrauth_key_objc_super_pointer Ptrauth_key = 2 Ptrauth_key_objc_sel_pointer Ptrauth_key = 3 Ptrauth_key_objc_class_ro_pointer Ptrauth_key = 2 Ptrauth_key_block_descriptor_pointer Ptrauth_key = 2 Ptrauth_key_init_fini_pointer Ptrauth_key = 0 )
func (Ptrauth_key) String ¶
func (e Ptrauth_key) String() string
type Qos_class_t ¶
type Qos_class_t uint32
const ( QOS_CLASS_USER_INTERACTIVE Qos_class_t = 33 QOS_CLASS_USER_INITIATED Qos_class_t = 25 QOS_CLASS_DEFAULT Qos_class_t = 21 QOS_CLASS_UTILITY Qos_class_t = 17 QOS_CLASS_BACKGROUND Qos_class_t = 9 QOS_CLASS_UNSPECIFIED Qos_class_t = 0 )
func (Qos_class_t) String ¶
func (e Qos_class_t) String() string