CFNetwork Changes for Objective-C
CFNetwork
CFFTPStream.h
Modified CFFTPCreateParsedResourceListing()
| Declaration | Deprecation | |
|---|---|---|
| From | CFIndex CFFTPCreateParsedResourceListing (
CFAllocatorRef alloc,
const UInt8 *buffer,
CFIndex bufferLength,
CFDictionaryRef *parsed
);
| -- |
| To | CFIndex CFFTPCreateParsedResourceListing (
CFAllocatorRef _Nullable alloc,
const UInt8 * _Nonnull buffer,
CFIndex bufferLength,
CFDictionaryRef _Nullable * _Nullable parsed
);
| OS X 10.11 |
Modified CFReadStreamCreateWithFTPURL()
| Declaration | Deprecation | |
|---|---|---|
| From | CFReadStreamRef CFReadStreamCreateWithFTPURL (
CFAllocatorRef alloc,
CFURLRef ftpURL
);
| -- |
| To | CFReadStreamRef _Nonnull CFReadStreamCreateWithFTPURL (
CFAllocatorRef _Nullable alloc,
CFURLRef _Nonnull ftpURL
);
| OS X 10.11 |
Modified CFWriteStreamCreateWithFTPURL()
| Declaration | Deprecation | |
|---|---|---|
| From | CFWriteStreamRef CFWriteStreamCreateWithFTPURL (
CFAllocatorRef alloc,
CFURLRef ftpURL
);
| -- |
| To | CFWriteStreamRef _Nonnull CFWriteStreamCreateWithFTPURL (
CFAllocatorRef _Nullable alloc,
CFURLRef _Nonnull ftpURL
);
| OS X 10.11 |
Modified kCFFTPResourceGroup
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCFFTPResourceLink
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCFFTPResourceModDate
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCFFTPResourceMode
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCFFTPResourceName
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCFFTPResourceOwner
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCFFTPResourceSize
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCFFTPResourceType
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCFStreamPropertyFTPPassword
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCFStreamPropertyFTPProxy
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCFStreamPropertyFTPProxyHost
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCFStreamPropertyFTPProxyPassword
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCFStreamPropertyFTPProxyPort
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCFStreamPropertyFTPProxyUser
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCFStreamPropertyFTPResourceSize
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCFStreamPropertyFTPUsePassiveMode
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCFStreamPropertyFTPUserName
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
CFHost.h
Modified CFHostCancelInfoResolution()
| Declaration | |
|---|---|
| From | void CFHostCancelInfoResolution (
CFHostRef theHost,
CFHostInfoType info
);
|
| To | void CFHostCancelInfoResolution (
CFHostRef _Nonnull theHost,
CFHostInfoType info
);
|
Modified CFHostCreateCopy()
| Declaration | |
|---|---|
| From | CFHostRef CFHostCreateCopy (
CFAllocatorRef alloc,
CFHostRef host
);
|
| To | CFHostRef _Nonnull CFHostCreateCopy (
CFAllocatorRef _Nullable alloc,
CFHostRef _Nonnull host
);
|
Modified CFHostCreateWithAddress()
| Declaration | |
|---|---|
| From | CFHostRef CFHostCreateWithAddress (
CFAllocatorRef allocator,
CFDataRef addr
);
|
| To | CFHostRef _Nonnull CFHostCreateWithAddress (
CFAllocatorRef _Nullable allocator,
CFDataRef _Nonnull addr
);
|
Modified CFHostCreateWithName()
| Declaration | |
|---|---|
| From | CFHostRef CFHostCreateWithName (
CFAllocatorRef allocator,
CFStringRef hostname
);
|
| To | CFHostRef _Nonnull CFHostCreateWithName (
CFAllocatorRef _Nullable allocator,
CFStringRef _Nonnull hostname
);
|
Modified CFHostGetAddressing()
| Declaration | |
|---|---|
| From | CFArrayRef CFHostGetAddressing (
CFHostRef theHost,
Boolean *hasBeenResolved
);
|
| To | CFArrayRef _Nullable CFHostGetAddressing (
CFHostRef _Nonnull theHost,
Boolean * _Nullable hasBeenResolved
);
|
Modified CFHostGetNames()
| Declaration | |
|---|---|
| From | CFArrayRef CFHostGetNames (
CFHostRef theHost,
Boolean *hasBeenResolved
);
|
| To | CFArrayRef _Nullable CFHostGetNames (
CFHostRef _Nonnull theHost,
Boolean * _Nullable hasBeenResolved
);
|
Modified CFHostGetReachability()
| Declaration | |
|---|---|
| From | CFDataRef CFHostGetReachability (
CFHostRef theHost,
Boolean *hasBeenResolved
);
|
| To | CFDataRef _Nullable CFHostGetReachability (
CFHostRef _Nonnull theHost,
Boolean * _Nullable hasBeenResolved
);
|
Modified CFHostScheduleWithRunLoop()
| Declaration | |
|---|---|
| From | void CFHostScheduleWithRunLoop (
CFHostRef theHost,
CFRunLoopRef runLoop,
CFStringRef runLoopMode
);
|
| To | void CFHostScheduleWithRunLoop (
CFHostRef _Nonnull theHost,
CFRunLoopRef _Nonnull runLoop,
CFStringRef _Nonnull runLoopMode
);
|
Modified CFHostSetClient()
| Declaration | |
|---|---|
| From | Boolean CFHostSetClient (
CFHostRef theHost,
CFHostClientCallBack clientCB,
CFHostClientContext *clientContext
);
|
| To | Boolean CFHostSetClient (
CFHostRef _Nonnull theHost,
CFHostClientCallBack _Nullable clientCB,
CFHostClientContext * _Nullable clientContext
);
|
Modified CFHostStartInfoResolution()
| Declaration | |
|---|---|
| From | Boolean CFHostStartInfoResolution (
CFHostRef theHost,
CFHostInfoType info,
CFStreamError *error
);
|
| To | Boolean CFHostStartInfoResolution (
CFHostRef _Nonnull theHost,
CFHostInfoType info,
CFStreamError * _Nullable error
);
|
Modified CFHostUnscheduleFromRunLoop()
| Declaration | |
|---|---|
| From | void CFHostUnscheduleFromRunLoop (
CFHostRef theHost,
CFRunLoopRef runLoop,
CFStringRef runLoopMode
);
|
| To | void CFHostUnscheduleFromRunLoop (
CFHostRef _Nonnull theHost,
CFRunLoopRef _Nonnull runLoop,
CFStringRef _Nonnull runLoopMode
);
|
CFHTTPAuthentication.h
| Declaration | |
|---|---|
| From | Boolean CFHTTPAuthenticationAppliesToRequest (
CFHTTPAuthenticationRef auth,
CFHTTPMessageRef request
);
|
| To | Boolean CFHTTPAuthenticationAppliesToRequest (
CFHTTPAuthenticationRef _Nonnull auth,
CFHTTPMessageRef _Nonnull request
);
|
Modified CFHTTPAuthenticationCopyDomains()
| Declaration | |
|---|---|
| From | CFArrayRef CFHTTPAuthenticationCopyDomains (
CFHTTPAuthenticationRef auth
);
|
| To | CFArrayRef _Nonnull CFHTTPAuthenticationCopyDomains (
CFHTTPAuthenticationRef _Nonnull auth
);
|
Modified CFHTTPAuthenticationCopyMethod()
| Declaration | |
|---|---|
| From | CFStringRef CFHTTPAuthenticationCopyMethod (
CFHTTPAuthenticationRef auth
);
|
| To | CFStringRef _Nonnull CFHTTPAuthenticationCopyMethod (
CFHTTPAuthenticationRef _Nonnull auth
);
|
Modified CFHTTPAuthenticationCopyRealm()
| Declaration | |
|---|---|
| From | CFStringRef CFHTTPAuthenticationCopyRealm (
CFHTTPAuthenticationRef auth
);
|
| To | CFStringRef _Nonnull CFHTTPAuthenticationCopyRealm (
CFHTTPAuthenticationRef _Nonnull auth
);
|
| Declaration | |
|---|---|
| From | CFHTTPAuthenticationRef CFHTTPAuthenticationCreateFromResponse (
CFAllocatorRef alloc,
CFHTTPMessageRef response
);
|
| To | CFHTTPAuthenticationRef _Nonnull CFHTTPAuthenticationCreateFromResponse (
CFAllocatorRef _Nullable alloc,
CFHTTPMessageRef _Nonnull response
);
|
Modified CFHTTPAuthenticationIsValid()
| Declaration | |
|---|---|
| From | Boolean CFHTTPAuthenticationIsValid (
CFHTTPAuthenticationRef auth,
CFStreamError *error
);
|
| To | Boolean CFHTTPAuthenticationIsValid (
CFHTTPAuthenticationRef _Nonnull auth,
CFStreamError * _Nullable error
);
|
| Declaration | |
|---|---|
| From | Boolean CFHTTPAuthenticationRequiresAccountDomain (
CFHTTPAuthenticationRef auth
);
|
| To | Boolean CFHTTPAuthenticationRequiresAccountDomain (
CFHTTPAuthenticationRef _Nonnull auth
);
|
| Declaration | |
|---|---|
| From | Boolean CFHTTPAuthenticationRequiresOrderedRequests (
CFHTTPAuthenticationRef auth
);
|
| To | Boolean CFHTTPAuthenticationRequiresOrderedRequests (
CFHTTPAuthenticationRef _Nonnull auth
);
|
| Declaration | |
|---|---|
| From | Boolean CFHTTPAuthenticationRequiresUserNameAndPassword (
CFHTTPAuthenticationRef auth
);
|
| To | Boolean CFHTTPAuthenticationRequiresUserNameAndPassword (
CFHTTPAuthenticationRef _Nonnull auth
);
|
| Declaration | |
|---|---|
| From | Boolean CFHTTPMessageApplyCredentialDictionary (
CFHTTPMessageRef request,
CFHTTPAuthenticationRef auth,
CFDictionaryRef dict,
CFStreamError *error
);
|
| To | Boolean CFHTTPMessageApplyCredentialDictionary (
CFHTTPMessageRef _Nonnull request,
CFHTTPAuthenticationRef _Nonnull auth,
CFDictionaryRef _Nonnull dict,
CFStreamError * _Nullable error
);
|
Modified CFHTTPMessageApplyCredentials()
| Declaration | |
|---|---|
| From | Boolean CFHTTPMessageApplyCredentials (
CFHTTPMessageRef request,
CFHTTPAuthenticationRef auth,
CFStringRef username,
CFStringRef password,
CFStreamError *error
);
|
| To | Boolean CFHTTPMessageApplyCredentials (
CFHTTPMessageRef _Nonnull request,
CFHTTPAuthenticationRef _Nonnull auth,
CFStringRef _Nullable username,
CFStringRef _Nullable password,
CFStreamError * _Nullable error
);
|
CFHTTPMessage.h
Added kCFHTTPVersion2_0
Modified CFHTTPMessageAddAuthentication()
| Declaration | |
|---|---|
| From | Boolean CFHTTPMessageAddAuthentication (
CFHTTPMessageRef request,
CFHTTPMessageRef authenticationFailureResponse,
CFStringRef username,
CFStringRef password,
CFStringRef authenticationScheme,
Boolean forProxy
);
|
| To | Boolean CFHTTPMessageAddAuthentication (
CFHTTPMessageRef _Nonnull request,
CFHTTPMessageRef _Nullable authenticationFailureResponse,
CFStringRef _Nonnull username,
CFStringRef _Nonnull password,
CFStringRef _Nullable authenticationScheme,
Boolean forProxy
);
|
Modified CFHTTPMessageAppendBytes()
| Declaration | |
|---|---|
| From | Boolean CFHTTPMessageAppendBytes (
CFHTTPMessageRef message,
const UInt8 *newBytes,
CFIndex numBytes
);
|
| To | Boolean CFHTTPMessageAppendBytes (
CFHTTPMessageRef _Nonnull message,
const UInt8 * _Nonnull newBytes,
CFIndex numBytes
);
|
Modified CFHTTPMessageCopyAllHeaderFields()
| Declaration | |
|---|---|
| From | CFDictionaryRef CFHTTPMessageCopyAllHeaderFields (
CFHTTPMessageRef message
);
|
| To | CFDictionaryRef _Nullable CFHTTPMessageCopyAllHeaderFields (
CFHTTPMessageRef _Nonnull message
);
|
Modified CFHTTPMessageCopyBody()
| Declaration | |
|---|---|
| From | CFDataRef CFHTTPMessageCopyBody (
CFHTTPMessageRef message
);
|
| To | CFDataRef _Nullable CFHTTPMessageCopyBody (
CFHTTPMessageRef _Nonnull message
);
|
Modified CFHTTPMessageCopyHeaderFieldValue()
| Declaration | |
|---|---|
| From | CFStringRef CFHTTPMessageCopyHeaderFieldValue (
CFHTTPMessageRef message,
CFStringRef headerField
);
|
| To | CFStringRef _Nullable CFHTTPMessageCopyHeaderFieldValue (
CFHTTPMessageRef _Nonnull message,
CFStringRef _Nonnull headerField
);
|
Modified CFHTTPMessageCopyRequestMethod()
| Declaration | |
|---|---|
| From | CFStringRef CFHTTPMessageCopyRequestMethod (
CFHTTPMessageRef request
);
|
| To | CFStringRef _Nullable CFHTTPMessageCopyRequestMethod (
CFHTTPMessageRef _Nonnull request
);
|
Modified CFHTTPMessageCopyRequestURL()
| Declaration | |
|---|---|
| From | CFURLRef CFHTTPMessageCopyRequestURL (
CFHTTPMessageRef request
);
|
| To | CFURLRef _Nullable CFHTTPMessageCopyRequestURL (
CFHTTPMessageRef _Nonnull request
);
|
| Declaration | |
|---|---|
| From | CFStringRef CFHTTPMessageCopyResponseStatusLine (
CFHTTPMessageRef response
);
|
| To | CFStringRef _Nullable CFHTTPMessageCopyResponseStatusLine (
CFHTTPMessageRef _Nonnull response
);
|
Modified CFHTTPMessageCopySerializedMessage()
| Declaration | |
|---|---|
| From | CFDataRef CFHTTPMessageCopySerializedMessage (
CFHTTPMessageRef message
);
|
| To | CFDataRef _Nullable CFHTTPMessageCopySerializedMessage (
CFHTTPMessageRef _Nonnull message
);
|
Modified CFHTTPMessageCopyVersion()
| Declaration | |
|---|---|
| From | CFStringRef CFHTTPMessageCopyVersion (
CFHTTPMessageRef message
);
|
| To | CFStringRef _Nonnull CFHTTPMessageCopyVersion (
CFHTTPMessageRef _Nonnull message
);
|
Modified CFHTTPMessageCreateCopy()
| Declaration | |
|---|---|
| From | CFHTTPMessageRef CFHTTPMessageCreateCopy (
CFAllocatorRef alloc,
CFHTTPMessageRef message
);
|
| To | CFHTTPMessageRef _Nonnull CFHTTPMessageCreateCopy (
CFAllocatorRef _Nullable alloc,
CFHTTPMessageRef _Nonnull message
);
|
Modified CFHTTPMessageCreateEmpty()
| Declaration | |
|---|---|
| From | CFHTTPMessageRef CFHTTPMessageCreateEmpty (
CFAllocatorRef alloc,
Boolean isRequest
);
|
| To | CFHTTPMessageRef _Nonnull CFHTTPMessageCreateEmpty (
CFAllocatorRef _Nullable alloc,
Boolean isRequest
);
|
Modified CFHTTPMessageCreateRequest()
| Declaration | |
|---|---|
| From | CFHTTPMessageRef CFHTTPMessageCreateRequest (
CFAllocatorRef alloc,
CFStringRef requestMethod,
CFURLRef url,
CFStringRef httpVersion
);
|
| To | CFHTTPMessageRef _Nonnull CFHTTPMessageCreateRequest (
CFAllocatorRef _Nullable alloc,
CFStringRef _Nonnull requestMethod,
CFURLRef _Nonnull url,
CFStringRef _Nonnull httpVersion
);
|
Modified CFHTTPMessageCreateResponse()
| Declaration | |
|---|---|
| From | CFHTTPMessageRef CFHTTPMessageCreateResponse (
CFAllocatorRef alloc,
CFIndex statusCode,
CFStringRef statusDescription,
CFStringRef httpVersion
);
|
| To | CFHTTPMessageRef _Nonnull CFHTTPMessageCreateResponse (
CFAllocatorRef _Nullable alloc,
CFIndex statusCode,
CFStringRef _Nullable statusDescription,
CFStringRef _Nonnull httpVersion
);
|
Modified CFHTTPMessageGetResponseStatusCode()
| Declaration | |
|---|---|
| From | CFIndex CFHTTPMessageGetResponseStatusCode (
CFHTTPMessageRef response
);
|
| To | CFIndex CFHTTPMessageGetResponseStatusCode (
CFHTTPMessageRef _Nonnull response
);
|
Modified CFHTTPMessageIsHeaderComplete()
| Declaration | |
|---|---|
| From | Boolean CFHTTPMessageIsHeaderComplete (
CFHTTPMessageRef message
);
|
| To | Boolean CFHTTPMessageIsHeaderComplete (
CFHTTPMessageRef _Nonnull message
);
|
Modified CFHTTPMessageIsRequest()
| Declaration | |
|---|---|
| From | Boolean CFHTTPMessageIsRequest (
CFHTTPMessageRef message
);
|
| To | Boolean CFHTTPMessageIsRequest (
CFHTTPMessageRef _Nonnull message
);
|
Modified CFHTTPMessageSetBody()
| Declaration | |
|---|---|
| From | void CFHTTPMessageSetBody (
CFHTTPMessageRef message,
CFDataRef bodyData
);
|
| To | void CFHTTPMessageSetBody (
CFHTTPMessageRef _Nonnull message,
CFDataRef _Nonnull bodyData
);
|
Modified CFHTTPMessageSetHeaderFieldValue()
| Declaration | |
|---|---|
| From | void CFHTTPMessageSetHeaderFieldValue (
CFHTTPMessageRef message,
CFStringRef headerField,
CFStringRef value
);
|
| To | void CFHTTPMessageSetHeaderFieldValue (
CFHTTPMessageRef _Nonnull message,
CFStringRef _Nonnull headerField,
CFStringRef _Nullable value
);
|
CFHTTPStream.h
| Declaration | |
|---|---|
| From | void CFHTTPReadStreamSetRedirectsAutomatically (
CFReadStreamRef httpStream,
Boolean shouldAutoRedirect
);
|
| To | void CFHTTPReadStreamSetRedirectsAutomatically (
CFReadStreamRef _Nonnull httpStream,
Boolean shouldAutoRedirect
);
|
Modified CFReadStreamCreateForHTTPRequest()
| Declaration | Introduction | Deprecation | |
|---|---|---|---|
| From | CFReadStreamRef CFReadStreamCreateForHTTPRequest (
CFAllocatorRef alloc,
CFHTTPMessageRef request
);
| OS X 10.1 | -- |
| To | CFReadStreamRef _Nonnull CFReadStreamCreateForHTTPRequest (
CFAllocatorRef _Nullable alloc,
CFHTTPMessageRef _Nonnull request
);
| OS X 10.2 | OS X 10.11 |
| Declaration | Deprecation | |
|---|---|---|
| From | CFReadStreamRef CFReadStreamCreateForStreamedHTTPRequest (
CFAllocatorRef alloc,
CFHTTPMessageRef requestHeaders,
CFReadStreamRef requestBody
);
| -- |
| To | CFReadStreamRef _Nonnull CFReadStreamCreateForStreamedHTTPRequest (
CFAllocatorRef _Nullable alloc,
CFHTTPMessageRef _Nonnull requestHeaders,
CFReadStreamRef _Nonnull requestBody
);
| OS X 10.11 |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCFStreamPropertyHTTPFinalRequest
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCFStreamPropertyHTTPFinalURL
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCFStreamPropertyHTTPProxy
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCFStreamPropertyHTTPProxyHost
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCFStreamPropertyHTTPProxyPort
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCFStreamPropertyHTTPResponseHeader
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCFStreamPropertyHTTPSProxyHost
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
Modified kCFStreamPropertyHTTPSProxyPort
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |
CFNetDiagnostics.h
| Declaration | |
|---|---|
| From | CFNetDiagnosticStatus CFNetDiagnosticCopyNetworkStatusPassively (
CFNetDiagnosticRef details,
CFStringRef *description
);
|
| To | CFNetDiagnosticStatus CFNetDiagnosticCopyNetworkStatusPassively (
CFNetDiagnosticRef _Nonnull details,
CFStringRef _Nullable * _Nullable description
);
|
Modified CFNetDiagnosticCreateWithStreams()
| Declaration | |
|---|---|
| From | CFNetDiagnosticRef CFNetDiagnosticCreateWithStreams (
CFAllocatorRef alloc,
CFReadStreamRef readStream,
CFWriteStreamRef writeStream
);
|
| To | CFNetDiagnosticRef _Nonnull CFNetDiagnosticCreateWithStreams (
CFAllocatorRef _Nullable alloc,
CFReadStreamRef _Nullable readStream,
CFWriteStreamRef _Nullable writeStream
);
|
Modified CFNetDiagnosticCreateWithURL()
| Declaration | |
|---|---|
| From | CFNetDiagnosticRef CFNetDiagnosticCreateWithURL (
CFAllocatorRef alloc,
CFURLRef url
);
|
| To | CFNetDiagnosticRef _Nonnull CFNetDiagnosticCreateWithURL (
CFAllocatorRef _Nonnull alloc,
CFURLRef _Nonnull url
);
|
| Declaration | |
|---|---|
| From | CFNetDiagnosticStatus CFNetDiagnosticDiagnoseProblemInteractively (
CFNetDiagnosticRef details
);
|
| To | CFNetDiagnosticStatus CFNetDiagnosticDiagnoseProblemInteractively (
CFNetDiagnosticRef _Nonnull details
);
|
Modified CFNetDiagnosticSetName()
| Declaration | |
|---|---|
| From | void CFNetDiagnosticSetName (
CFNetDiagnosticRef details,
CFStringRef name
);
|
| To | void CFNetDiagnosticSetName (
CFNetDiagnosticRef _Nonnull details,
CFStringRef _Nonnull name
);
|
CFNetServices.h
Modified CFNetServiceBrowserCreate()
| Declaration | |
|---|---|
| From | CFNetServiceBrowserRef CFNetServiceBrowserCreate (
CFAllocatorRef alloc,
CFNetServiceBrowserClientCallBack clientCB,
CFNetServiceClientContext *clientContext
);
|
| To | CFNetServiceBrowserRef _Nonnull CFNetServiceBrowserCreate (
CFAllocatorRef _Nullable alloc,
CFNetServiceBrowserClientCallBack _Nonnull clientCB,
CFNetServiceClientContext * _Nonnull clientContext
);
|
Modified CFNetServiceBrowserInvalidate()
| Declaration | |
|---|---|
| From | void CFNetServiceBrowserInvalidate (
CFNetServiceBrowserRef browser
);
|
| To | void CFNetServiceBrowserInvalidate (
CFNetServiceBrowserRef _Nonnull browser
);
|
| Declaration | |
|---|---|
| From | void CFNetServiceBrowserScheduleWithRunLoop (
CFNetServiceBrowserRef browser,
CFRunLoopRef runLoop,
CFStringRef runLoopMode
);
|
| To | void CFNetServiceBrowserScheduleWithRunLoop (
CFNetServiceBrowserRef _Nonnull browser,
CFRunLoopRef _Nonnull runLoop,
CFStringRef _Nonnull runLoopMode
);
|
| Declaration | |
|---|---|
| From | Boolean CFNetServiceBrowserSearchForDomains (
CFNetServiceBrowserRef browser,
Boolean registrationDomains,
CFStreamError *error
);
|
| To | Boolean CFNetServiceBrowserSearchForDomains (
CFNetServiceBrowserRef _Nonnull browser,
Boolean registrationDomains,
CFStreamError * _Nullable error
);
|
| Declaration | |
|---|---|
| From | Boolean CFNetServiceBrowserSearchForServices (
CFNetServiceBrowserRef browser,
CFStringRef domain,
CFStringRef serviceType,
CFStreamError *error
);
|
| To | Boolean CFNetServiceBrowserSearchForServices (
CFNetServiceBrowserRef _Nonnull browser,
CFStringRef _Nonnull domain,
CFStringRef _Nonnull serviceType,
CFStreamError * _Nullable error
);
|
Modified CFNetServiceBrowserStopSearch()
| Declaration | |
|---|---|
| From | void CFNetServiceBrowserStopSearch (
CFNetServiceBrowserRef browser,
CFStreamError *error
);
|
| To | void CFNetServiceBrowserStopSearch (
CFNetServiceBrowserRef _Nonnull browser,
CFStreamError * _Nullable error
);
|
| Declaration | |
|---|---|
| From | void CFNetServiceBrowserUnscheduleFromRunLoop (
CFNetServiceBrowserRef browser,
CFRunLoopRef runLoop,
CFStringRef runLoopMode
);
|
| To | void CFNetServiceBrowserUnscheduleFromRunLoop (
CFNetServiceBrowserRef _Nonnull browser,
CFRunLoopRef _Nonnull runLoop,
CFStringRef _Nonnull runLoopMode
);
|
Modified CFNetServiceCancel()
| Declaration | |
|---|---|
| From | void CFNetServiceCancel (
CFNetServiceRef theService
);
|
| To | void CFNetServiceCancel (
CFNetServiceRef _Nonnull theService
);
|
Modified CFNetServiceCreate()
| Declaration | |
|---|---|
| From | CFNetServiceRef CFNetServiceCreate (
CFAllocatorRef alloc,
CFStringRef domain,
CFStringRef serviceType,
CFStringRef name,
SInt32 port
);
|
| To | CFNetServiceRef _Nonnull CFNetServiceCreate (
CFAllocatorRef _Nullable alloc,
CFStringRef _Nonnull domain,
CFStringRef _Nonnull serviceType,
CFStringRef _Nonnull name,
SInt32 port
);
|
Modified CFNetServiceCreateCopy()
| Declaration | |
|---|---|
| From | CFNetServiceRef CFNetServiceCreateCopy (
CFAllocatorRef alloc,
CFNetServiceRef service
);
|
| To | CFNetServiceRef _Nonnull CFNetServiceCreateCopy (
CFAllocatorRef _Nullable alloc,
CFNetServiceRef _Nonnull service
);
|
| Declaration | |
|---|---|
| From | CFDictionaryRef CFNetServiceCreateDictionaryWithTXTData (
CFAllocatorRef alloc,
CFDataRef txtRecord
);
|
| To | CFDictionaryRef _Nullable CFNetServiceCreateDictionaryWithTXTData (
CFAllocatorRef _Nullable alloc,
CFDataRef _Nonnull txtRecord
);
|
| Declaration | |
|---|---|
| From | CFDataRef CFNetServiceCreateTXTDataWithDictionary (
CFAllocatorRef alloc,
CFDictionaryRef keyValuePairs
);
|
| To | CFDataRef _Nullable CFNetServiceCreateTXTDataWithDictionary (
CFAllocatorRef _Nullable alloc,
CFDictionaryRef _Nonnull keyValuePairs
);
|
Modified CFNetServiceGetAddressing()
| Declaration | |
|---|---|
| From | CFArrayRef CFNetServiceGetAddressing (
CFNetServiceRef theService
);
|
| To | CFArrayRef _Nullable CFNetServiceGetAddressing (
CFNetServiceRef _Nonnull theService
);
|
Modified CFNetServiceGetDomain()
| Declaration | |
|---|---|
| From | CFStringRef CFNetServiceGetDomain (
CFNetServiceRef theService
);
|
| To | CFStringRef _Nonnull CFNetServiceGetDomain (
CFNetServiceRef _Nonnull theService
);
|
Modified CFNetServiceGetName()
| Declaration | |
|---|---|
| From | CFStringRef CFNetServiceGetName (
CFNetServiceRef theService
);
|
| To | CFStringRef _Nonnull CFNetServiceGetName (
CFNetServiceRef _Nonnull theService
);
|
Modified CFNetServiceGetPortNumber()
| Declaration | |
|---|---|
| From | SInt32 CFNetServiceGetPortNumber (
CFNetServiceRef theService
);
|
| To | SInt32 CFNetServiceGetPortNumber (
CFNetServiceRef _Nonnull theService
);
|
| Declaration | |
|---|---|
| From | CFStringRef CFNetServiceGetProtocolSpecificInformation (
CFNetServiceRef theService
);
|
| To | CFStringRef _Nullable CFNetServiceGetProtocolSpecificInformation (
CFNetServiceRef _Nonnull theService
);
|
Modified CFNetServiceGetTargetHost()
| Declaration | |
|---|---|
| From | CFStringRef CFNetServiceGetTargetHost (
CFNetServiceRef theService
);
|
| To | CFStringRef _Nullable CFNetServiceGetTargetHost (
CFNetServiceRef _Nonnull theService
);
|
Modified CFNetServiceGetTXTData()
| Declaration | |
|---|---|
| From | CFDataRef CFNetServiceGetTXTData (
CFNetServiceRef theService
);
|
| To | CFDataRef _Nullable CFNetServiceGetTXTData (
CFNetServiceRef _Nonnull theService
);
|
Modified CFNetServiceGetType()
| Declaration | |
|---|---|
| From | CFStringRef CFNetServiceGetType (
CFNetServiceRef theService
);
|
| To | CFStringRef _Nonnull CFNetServiceGetType (
CFNetServiceRef _Nonnull theService
);
|
Modified CFNetServiceMonitorCreate()
| Declaration | |
|---|---|
| From | CFNetServiceMonitorRef CFNetServiceMonitorCreate (
CFAllocatorRef alloc,
CFNetServiceRef theService,
CFNetServiceMonitorClientCallBack clientCB,
CFNetServiceClientContext *clientContext
);
|
| To | CFNetServiceMonitorRef _Nonnull CFNetServiceMonitorCreate (
CFAllocatorRef _Nullable alloc,
CFNetServiceRef _Nonnull theService,
CFNetServiceMonitorClientCallBack _Nonnull clientCB,
CFNetServiceClientContext * _Nonnull clientContext
);
|
Modified CFNetServiceMonitorInvalidate()
| Declaration | |
|---|---|
| From | void CFNetServiceMonitorInvalidate (
CFNetServiceMonitorRef monitor
);
|
| To | void CFNetServiceMonitorInvalidate (
CFNetServiceMonitorRef _Nonnull monitor
);
|
| Declaration | |
|---|---|
| From | void CFNetServiceMonitorScheduleWithRunLoop (
CFNetServiceMonitorRef monitor,
CFRunLoopRef runLoop,
CFStringRef runLoopMode
);
|
| To | void CFNetServiceMonitorScheduleWithRunLoop (
CFNetServiceMonitorRef _Nonnull monitor,
CFRunLoopRef _Nonnull runLoop,
CFStringRef _Nonnull runLoopMode
);
|
Modified CFNetServiceMonitorStart()
| Declaration | |
|---|---|
| From | Boolean CFNetServiceMonitorStart (
CFNetServiceMonitorRef monitor,
CFNetServiceMonitorType recordType,
CFStreamError *error
);
|
| To | Boolean CFNetServiceMonitorStart (
CFNetServiceMonitorRef _Nonnull monitor,
CFNetServiceMonitorType recordType,
CFStreamError * _Nullable error
);
|
Modified CFNetServiceMonitorStop()
| Declaration | |
|---|---|
| From | void CFNetServiceMonitorStop (
CFNetServiceMonitorRef monitor,
CFStreamError *error
);
|
| To | void CFNetServiceMonitorStop (
CFNetServiceMonitorRef _Nonnull monitor,
CFStreamError * _Nullable error
);
|
| Declaration | |
|---|---|
| From | void CFNetServiceMonitorUnscheduleFromRunLoop (
CFNetServiceMonitorRef monitor,
CFRunLoopRef runLoop,
CFStringRef runLoopMode
);
|
| To | void CFNetServiceMonitorUnscheduleFromRunLoop (
CFNetServiceMonitorRef _Nonnull monitor,
CFRunLoopRef _Nonnull runLoop,
CFStringRef _Nonnull runLoopMode
);
|
Modified CFNetServiceRegister()
| Declaration | |
|---|---|
| From | Boolean CFNetServiceRegister (
CFNetServiceRef theService,
CFStreamError *error
);
|
| To | Boolean CFNetServiceRegister (
CFNetServiceRef _Nonnull theService,
CFStreamError * _Nullable error
);
|
Modified CFNetServiceRegisterWithOptions()
| Declaration | |
|---|---|
| From | Boolean CFNetServiceRegisterWithOptions (
CFNetServiceRef theService,
CFOptionFlags options,
CFStreamError *error
);
|
| To | Boolean CFNetServiceRegisterWithOptions (
CFNetServiceRef _Nonnull theService,
CFOptionFlags options,
CFStreamError * _Nullable error
);
|
Modified CFNetServiceResolve()
| Declaration | |
|---|---|
| From | Boolean CFNetServiceResolve (
CFNetServiceRef theService,
CFStreamError *error
);
|
| To | Boolean CFNetServiceResolve (
CFNetServiceRef _Nonnull theService,
CFStreamError * _Nullable error
);
|
Modified CFNetServiceResolveWithTimeout()
| Declaration | |
|---|---|
| From | Boolean CFNetServiceResolveWithTimeout (
CFNetServiceRef theService,
CFTimeInterval timeout,
CFStreamError *error
);
|
| To | Boolean CFNetServiceResolveWithTimeout (
CFNetServiceRef _Nonnull theService,
CFTimeInterval timeout,
CFStreamError * _Nullable error
);
|
Modified CFNetServiceScheduleWithRunLoop()
| Declaration | |
|---|---|
| From | void CFNetServiceScheduleWithRunLoop (
CFNetServiceRef theService,
CFRunLoopRef runLoop,
CFStringRef runLoopMode
);
|
| To | void CFNetServiceScheduleWithRunLoop (
CFNetServiceRef _Nonnull theService,
CFRunLoopRef _Nonnull runLoop,
CFStringRef _Nonnull runLoopMode
);
|
Modified CFNetServiceSetClient()
| Declaration | |
|---|---|
| From | Boolean CFNetServiceSetClient (
CFNetServiceRef theService,
CFNetServiceClientCallBack clientCB,
CFNetServiceClientContext *clientContext
);
|
| To | Boolean CFNetServiceSetClient (
CFNetServiceRef _Nonnull theService,
CFNetServiceClientCallBack _Nullable clientCB,
CFNetServiceClientContext * _Nullable clientContext
);
|
| Declaration | |
|---|---|
| From | void CFNetServiceSetProtocolSpecificInformation (
CFNetServiceRef theService,
CFStringRef theInfo
);
|
| To | void CFNetServiceSetProtocolSpecificInformation (
CFNetServiceRef _Nonnull theService,
CFStringRef _Nullable theInfo
);
|
Modified CFNetServiceSetTXTData()
| Declaration | |
|---|---|
| From | Boolean CFNetServiceSetTXTData (
CFNetServiceRef theService,
CFDataRef txtRecord
);
|
| To | Boolean CFNetServiceSetTXTData (
CFNetServiceRef _Nonnull theService,
CFDataRef _Nonnull txtRecord
);
|
Modified CFNetServiceUnscheduleFromRunLoop()
| Declaration | |
|---|---|
| From | void CFNetServiceUnscheduleFromRunLoop (
CFNetServiceRef theService,
CFRunLoopRef runLoop,
CFStringRef runLoopMode
);
|
| To | void CFNetServiceUnscheduleFromRunLoop (
CFNetServiceRef _Nonnull theService,
CFRunLoopRef _Nonnull runLoop,
CFStringRef _Nonnull runLoopMode
);
|
CFNetworkErrors.h
CFProxySupport.h
| Declaration | |
|---|---|
| From | CFArrayRef CFNetworkCopyProxiesForAutoConfigurationScript (
CFStringRef proxyAutoConfigurationScript,
CFURLRef targetURL,
CFErrorRef *error
);
|
| To | CFArrayRef _Nullable CFNetworkCopyProxiesForAutoConfigurationScript (
CFStringRef _Nonnull proxyAutoConfigurationScript,
CFURLRef _Nonnull targetURL,
CFErrorRef _Nullable * _Nullable error
);
|
Modified CFNetworkCopyProxiesForURL()
| Declaration | |
|---|---|
| From | CFArrayRef CFNetworkCopyProxiesForURL (
CFURLRef url,
CFDictionaryRef proxySettings
);
|
| To | CFArrayRef _Nonnull CFNetworkCopyProxiesForURL (
CFURLRef _Nonnull url,
CFDictionaryRef _Nonnull proxySettings
);
|
Modified CFNetworkCopySystemProxySettings()
| Declaration | |
|---|---|
| From | CFDictionaryRef CFNetworkCopySystemProxySettings (
void
);
|
| To | CFDictionaryRef _Nullable CFNetworkCopySystemProxySettings (
void
);
|
| Declaration | |
|---|---|
| From | CFRunLoopSourceRef CFNetworkExecuteProxyAutoConfigurationScript (
CFStringRef proxyAutoConfigurationScript,
CFURLRef targetURL,
CFProxyAutoConfigurationResultCallback cb,
CFStreamClientContext *clientContext
);
|
| To | CFRunLoopSourceRef _Nonnull CFNetworkExecuteProxyAutoConfigurationScript (
CFStringRef _Nonnull proxyAutoConfigurationScript,
CFURLRef _Nonnull targetURL,
CFProxyAutoConfigurationResultCallback _Nonnull cb,
CFStreamClientContext * _Nonnull clientContext
);
|
| Declaration | |
|---|---|
| From | CFRunLoopSourceRef CFNetworkExecuteProxyAutoConfigurationURL (
CFURLRef proxyAutoConfigURL,
CFURLRef targetURL,
CFProxyAutoConfigurationResultCallback cb,
CFStreamClientContext *clientContext
);
|
| To | CFRunLoopSourceRef _Nonnull CFNetworkExecuteProxyAutoConfigurationURL (
CFURLRef _Nonnull proxyAutoConfigURL,
CFURLRef _Nonnull targetURL,
CFProxyAutoConfigurationResultCallback _Nonnull cb,
CFStreamClientContext * _Nonnull clientContext
);
|
CFSocketStream.h
Modified CFSocketStreamSOCKSGetError()
| Declaration | |
|---|---|
| From | SInt32 CFSocketStreamSOCKSGetError (
const CFStreamError *error
);
|
| To | SInt32 CFSocketStreamSOCKSGetError (
const CFStreamError * _Nonnull error
);
|
| Declaration | |
|---|---|
| From | SInt32 CFSocketStreamSOCKSGetErrorSubdomain (
const CFStreamError *error
);
|
| To | SInt32 CFSocketStreamSOCKSGetErrorSubdomain (
const CFStreamError * _Nonnull error
);
|
| Declaration | |
|---|---|
| From | void CFStreamCreatePairWithSocketToCFHost (
CFAllocatorRef alloc,
CFHostRef host,
SInt32 port,
CFReadStreamRef *readStream,
CFWriteStreamRef *writeStream
);
|
| To | void CFStreamCreatePairWithSocketToCFHost (
CFAllocatorRef _Nullable alloc,
CFHostRef _Nonnull host,
SInt32 port,
CFReadStreamRef _Nullable * _Nullable readStream,
CFWriteStreamRef _Nullable * _Nullable writeStream
);
|
| Declaration | |
|---|---|
| From | void CFStreamCreatePairWithSocketToNetService (
CFAllocatorRef alloc,
CFNetServiceRef service,
CFReadStreamRef *readStream,
CFWriteStreamRef *writeStream
);
|
| To | void CFStreamCreatePairWithSocketToNetService (
CFAllocatorRef _Nullable alloc,
CFNetServiceRef _Nonnull service,
CFReadStreamRef _Nullable * _Nullable readStream,
CFWriteStreamRef _Nullable * _Nullable writeStream
);
|
Modified kCFStreamNetworkServiceTypeVoIP
| Deprecation | |
|---|---|
| From | -- |
| To | OS X 10.11 |