Ronald Oussoren avatar Ronald Oussoren committed f4b7bae

Port to new metadata system

Comments (0)

Files changed (5)

pyobjc-framework-CFNetwork/BridgeSupport/CFNetwork.bridgesupport

+<?xml version='1.0'?>
+<!DOCTYPE signatures SYSTEM "file://localhost/System/Library/DTDs/BridgeSupport.dtd">
+<signatures version='1.0'>
+  <depends_on path='/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation' />
+  <cftype name='CFHTTPAuthenticationRef' type='^{_CFHTTPAuthentication=}' type64='^{_CFHTTPAuthentication=}' gettypeid_func='CFHTTPAuthenticationGetTypeID' />
+  <cftype name='CFHTTPMessageRef' type='^{__CFHTTPMessage=}' type64='^{__CFHTTPMessage=}' gettypeid_func='CFHTTPMessageGetTypeID' />
+  <cftype name='CFHostRef' type='^{__CFHost=}' type64='^{__CFHost=}' gettypeid_func='CFHostGetTypeID'/>
+  <cftype name='CFNetDiagnosticRef' type='^{__CFNetDiagnostic=}' type64='^{__CFNetDiagnostic=}' gettypeid_func='CFNetDiagnosticGetTypeID'/>
+  <cftype name='CFNetServiceBrowserRef' type='^{__CFNetServiceBrowser=}' type64='^{__CFNetServiceBrowser=}' gettypeid_func='CFNetServiceBrowserGetTypeID'/>
+  <cftype name='CFNetServiceMonitorRef' type='^{__CFNetServiceMonitor=}' type64='^{__CFNetServiceMonitor=}' gettypeid_func='CFNetServiceMonitorGetTypeID'/>
+  <cftype name='CFNetServiceRef' type='^{__CFNetService=}' type64='^{__CFNetService=}' gettypeid_func='CFNetServiceGetTypeID'/>
+  <constant name='kCFStreamPropertySSLPeerCertificates' type='@' />
+  <constant name='kCFStreamPropertySSLPeerTrust' type='@' />
+  <constant name='kCFNetworkProxiesSOCKSEnable' type='@' />
+  <constant name='kCFNetworkProxiesSOCKSPort' type='@' />
+  <constant name='kCFNetworkProxiesSOCKSProxy' type='@' />
+  <constant name='kCFNetworkProxiesHTTPSEnable' type='@' />
+  <constant name='kCFNetworkProxiesHTTPSPort' type='@' />
+  <constant name='kCFNetworkProxiesHTTPSProxy' type='@' />
+  <constant name='kCFNetworkProxiesRTSPEnable' type='@' />
+  <constant name='kCFNetworkProxiesRTSPPort' type='@' />
+  <constant name='kCFNetworkProxiesRTSPProxy' type='@' />
+  <constant name='kCFNetworkProxiesFTPProxy' type='@' />
+  <constant name='kCFNetworkProxiesFTPPort' type='@' />
+  <constant name='kCFNetworkProxiesFTPPassive' type='@' />
+  <constant name='kCFNetworkProxiesFTPEnable' type='@' />
+  <constant name='kCFNetworkProxiesExcludeSimpleHostnames' type='@' />
+  <constant name='kCFNetworkProxiesExceptionsList' type='@' />
+  <constant name='kCFNetworkProxiesGopherEnable' type='@' />
+  <constant name='kCFNetworkProxiesGopherPort' type='@' />
+  <constant name='kCFNetworkProxiesGopherProxy' type='@' />
+  <constant name='kCFProxyAutoConfigurationHTTPResponseKey' type='@' />
+  <constant name='kCFURLErrorFailingURLErrorKey' type='@' />
+  <constant name='kCFURLErrorFailingURLStringErrorKey' type='@' />
+  <constant name='kCFStreamErrorDomainMach' type='i' />
+  <constant name='kCFStreamErrorDomainFTP' type='i' />
+  <constant name='kCFStreamErrorDomainSOCKS' type='i' />
+  <constant name='kCFStreamErrorDomainSSL' type='i' />
+  <constant name='kCFStreamErrorDomainHTTP' type='i' />
+  <constant name='kCFStreamErrorDomainNetDB' type='i' />
+  <constant name='kCFStreamErrorDomainSystemConfiguration' type='i' />
+  <constant name='kCFStreamErrorDomainNetServices' type='i' />
+  <constant name='kCFProxyTypeKey' type='^{__CFString=}' />
+  <constant name='kCFProxyHostNameKey' type='^{__CFString=}' />
+  <constant name='kCFProxyPortNumberKey' type='^{__CFString=}' />
+  <constant name='kCFProxyAutoConfigurationURLKey' type='^{__CFString=}' />
+  <constant name='kCFProxyUsernameKey' type='^{__CFString=}' />
+  <constant name='kCFProxyPasswordKey' type='^{__CFString=}' />
+  <constant name='kCFProxyTypeNone' type='^{__CFString=}' />
+  <constant name='kCFProxyTypeHTTP' type='^{__CFString=}' />
+  <constant name='kCFProxyTypeHTTPS' type='^{__CFString=}' />
+  <constant name='kCFProxyTypeSOCKS' type='^{__CFString=}' />
+  <constant name='kCFProxyTypeFTP' type='^{__CFString=}' />
+  <constant name='kCFProxyTypeAutoConfigurationURL' type='^{__CFString=}' />
+  <constant name='kCFNetworkProxiesHTTPEnable' type='^{__CFString=}' />
+  <constant name='kCFNetworkProxiesHTTPPort' type='^{__CFString=}' />
+  <constant name='kCFNetworkProxiesHTTPProxy' type='^{__CFString=}' />
+  <constant name='kCFNetworkProxiesProxyAutoConfigEnable' type='^{__CFString=}' />
+  <constant name='kCFNetworkProxiesProxyAutoConfigURLString' type='^{__CFString=}' />
+  <constant name='kCFErrorDomainCFNetwork' type='^{__CFString=}' />
+  <constant name='kCFErrorDomainWinSock' type='^{__CFString=}' />
+  <constant name='kCFGetAddrInfoFailureKey' type='^{__CFString=}' />
+  <constant name='kCFSOCKSStatusCodeKey' type='^{__CFString=}' />
+  <constant name='kCFSOCKSVersionKey' type='^{__CFString=}' />
+  <constant name='kCFSOCKSNegotiationMethodKey' type='^{__CFString=}' />
+  <constant name='kCFDNSServiceFailureKey' type='^{__CFString=}' />
+  <constant name='kCFFTPStatusCodeKey' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertyHTTPResponseHeader' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertyHTTPFinalURL' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertyHTTPFinalRequest' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertyHTTPProxy' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertyHTTPProxyHost' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertyHTTPProxyPort' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertyHTTPSProxyHost' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertyHTTPSProxyPort' type='^{__CFString=}' />
+  <constant name='kCFHTTPAuthenticationUsername' type='^{__CFString=}' />
+  <constant name='kCFHTTPAuthenticationPassword' type='^{__CFString=}' />
+  <constant name='kCFHTTPAuthenticationAccountDomain' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertyHTTPShouldAutoredirect' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertyHTTPAttemptPersistentConnection' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertyHTTPRequestBytesWrittenCount' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertyFTPUserName' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertyFTPPassword' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertyFTPUsePassiveMode' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertyFTPResourceSize' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertyFTPFetchResourceInfo' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertyFTPFileTransferOffset' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertyFTPAttemptPersistentConnection' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertyFTPProxy' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertyFTPProxyHost' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertyFTPProxyPort' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertyFTPProxyUser' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertyFTPProxyPassword' type='^{__CFString=}' />
+  <constant name='kCFHTTPVersion1_0' type='^{__CFString=}' />
+  <constant name='kCFHTTPVersion1_1' type='^{__CFString=}' />
+  <constant name='kCFHTTPAuthenticationSchemeBasic' type='^{__CFString=}' />
+  <constant name='kCFHTTPAuthenticationSchemeDigest' type='^{__CFString=}' />
+  <constant name='kCFHTTPAuthenticationSchemeNTLM' type='^{__CFString=}' />
+  <constant name='kCFHTTPAuthenticationSchemeNegotiate' type='^{__CFString=}' />
+  <constant name='kCFFTPResourceMode' type='^{__CFString=}' />
+  <constant name='kCFFTPResourceName' type='^{__CFString=}' />
+  <constant name='kCFFTPResourceOwner' type='^{__CFString=}' />
+  <constant name='kCFFTPResourceGroup' type='^{__CFString=}' />
+  <constant name='kCFFTPResourceLink' type='^{__CFString=}' />
+  <constant name='kCFFTPResourceSize' type='^{__CFString=}' />
+  <constant name='kCFFTPResourceType' type='^{__CFString=}' />
+  <constant name='kCFFTPResourceModDate' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertySOCKSPassword' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertySOCKSProxy' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertySOCKSProxyHost' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertySOCKSProxyPort' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertySOCKSUser' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertySOCKSVersion' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertyShouldCloseNativeSocket' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertySocketSecurityLevel' type='^{__CFString=}' />
+  <constant name='kCFStreamSocketSOCKSVersion4' type='^{__CFString=}' />
+  <constant name='kCFStreamSocketSOCKSVersion5' type='^{__CFString=}' />
+  <constant name='kCFStreamSocketSecurityLevelNegotiatedSSL' type='^{__CFString=}' />
+  <constant name='kCFStreamSocketSecurityLevelNone' type='^{__CFString=}' />
+  <constant name='kCFStreamSocketSecurityLevelSSLv2' type='^{__CFString=}' />
+  <constant name='kCFStreamSocketSecurityLevelSSLv3' type='^{__CFString=}' />
+  <constant name='kCFStreamSocketSecurityLevelTLSv1' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertySOCKSProxyHost' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertySOCKSProxyPort' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertySOCKSVersion' type='^{__CFString=}' />
+  <constant name='kCFStreamSocketSOCKSVersion4' type='^{__CFString=}' />
+  <constant name='kCFStreamSocketSOCKSVersion5' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertySOCKSUser' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertySOCKSPassword' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertySocketSecurityLevel' type='^{__CFString=}' />
+  <constant name='kCFStreamSocketSecurityLevelNone' type='^{__CFString=}' />
+  <constant name='kCFStreamSocketSecurityLevelSSLv2' type='^{__CFString=}' />
+  <constant name='kCFStreamSocketSecurityLevelSSLv3' type='^{__CFString=}' />
+  <constant name='kCFStreamSocketSecurityLevelTLSv1' type='^{__CFString=}' />
+  <constant name='kCFStreamSocketSecurityLevelNegotiatedSSL' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertyShouldCloseNativeSocket' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertySocketRemoteHost' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertySocketRemoteNetService' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertySSLPeerCertificates' type='^{__CFString=}' />
+  <constant name='kCFStreamPropertySSLSettings' type='^{__CFString=}' />
+  <constant name='kCFStreamSSLLevel' type='^{__CFString=}' />
+  <constant name='kCFStreamSSLAllowsExpiredCertificates' type='^{__CFString=}' />
+  <constant name='kCFStreamSSLAllowsExpiredRoots' type='^{__CFString=}' />
+  <constant name='kCFStreamSSLAllowsAnyRoot' type='^{__CFString=}' />
+  <constant name='kCFStreamSSLValidatesCertificateChain' type='^{__CFString=}' />
+  <constant name='kCFStreamSSLPeerName' type='^{__CFString=}' />
+  <constant name='kCFStreamSSLCertificates' type='^{__CFString=}' />
+  <constant name='kCFStreamSSLIsServer' type='^{__CFString=}' />
+  <constant name='kCFStreamErrorDomainWinSock' type='i' />
+  <constant name='kCFStreamPropertyProxyLocalBypass' type='^{__CFString=}' />
+  <enum name='kCFErrorHTTPAuthenticationTypeUnsupported' value='300' />
+  <enum name='kCFErrorHTTPBadCredentials' value='301' />
+  <enum name='kCFErrorHTTPBadProxyCredentials' value='307' />
+  <enum name='kCFErrorHTTPBadURL' value='305' />
+  <enum name='kCFErrorHTTPConnectionLost' value='302' />
+  <enum name='kCFErrorHTTPParseFailure' value='303' />
+  <enum name='kCFErrorHTTPProxyConnectionFailure' value='306' />
+  <enum name='kCFErrorHTTPRedirectionLoopDetected' value='304' />
+  <enum name='kCFErrorPACFileError' value='308' />
+  <enum name='kCFErrorPACFileAuth' value='309' />
+  <enum name='kCFErrorHTTPSProxyConnectionFailure' value='310' />
+  <enum name='kCFURLErrorUnknown' value='-998' />
+  <enum name='kCFURLErrorCancelled' value='-999' />
+  <enum name='kCFURLErrorBadURL' value='-1000' />
+  <enum name='kCFURLErrorTimedOut' value='-1001' />
+  <enum name='kCFURLErrorUnsupportedURL' value='-1002' />
+  <enum name='kCFURLErrorCannotFindHost' value='-1003' />
+  <enum name='kCFURLErrorCannotConnectToHost' value='-1004' />
+  <enum name='kCFURLErrorNetworkConnectionLost' value='-1005' />
+  <enum name='kCFURLErrorDNSLookupFailed' value='-1006' />
+  <enum name='kCFURLErrorHTTPTooManyRedirects' value='-1007' />
+  <enum name='kCFURLErrorResourceUnavailable' value='-1008' />
+  <enum name='kCFURLErrorNotConnectedToInternet' value='-1009' />
+  <enum name='kCFURLErrorRedirectToNonExistentLocation' value='-1010' />
+  <enum name='kCFURLErrorBadServerResponse' value='-1011' />
+  <enum name='kCFURLErrorUserCancelledAuthentication' value='-1012' />
+  <enum name='kCFURLErrorUserAuthenticationRequired' value='-1013' />
+  <enum name='kCFURLErrorZeroByteResource' value='-1014' />
+  <enum name='kCFURLErrorCannotDecodeRawData' value='-1015' />
+  <enum name='kCFURLErrorCannotDecodeContentData' value='-1016' />
+  <enum name='kCFURLErrorCannotParseResponse' value='-1017' />
+  <enum name='kCFURLErrorInternationalRoamingOff' value='-1018' />
+  <enum name='kCFURLErrorCallIsActive' value='-1019' />
+  <enum name='kCFURLErrorDataNotAllowed' value='-1020' />
+  <enum name='kCFURLErrorRequestBodyStreamExhausted' value='-1021' />
+  <enum name='kCFURLErrorFileDoesNotExist' value='-1100' />
+  <enum name='kCFURLErrorFileIsDirectory' value='-1101' />
+  <enum name='kCFURLErrorNoPermissionsToReadFile' value='-1102' />
+  <enum name='kCFURLErrorDataLengthExceedsMaximum' value='-1103' />
+  <enum name='kCFURLErrorSecureConnectionFailed' value='-1200' />
+  <enum name='kCFURLErrorServerCertificateHasBadDate' value='-1201' />
+  <enum name='kCFURLErrorServerCertificateUntrusted' value='-1202' />
+  <enum name='kCFURLErrorServerCertificateHasUnknownRoot' value='-1203' />
+  <enum name='kCFURLErrorServerCertificateNotYetValid' value='-1204' />
+  <enum name='kCFURLErrorClientCertificateRejected' value='-1205' />
+  <enum name='kCFURLErrorClientCertificateRequired' value='-1206' />
+  <enum name='kCFURLErrorCannotLoadFromNetwork' value='-2000' />
+  <enum name='kCFURLErrorCannotCreateFile' value='-3000' />
+  <enum name='kCFURLErrorCannotOpenFile' value='-3001' />
+  <enum name='kCFURLErrorCannotCloseFile' value='-3002' />
+  <enum name='kCFURLErrorCannotWriteToFile' value='-3003' />
+  <enum name='kCFURLErrorCannotRemoveFile' value='-3004' />
+  <enum name='kCFURLErrorCannotMoveFile' value='-3005' />
+  <enum name='kCFURLErrorDownloadDecodingFailedMidStream' value='-3006' />
+  <enum name='kCFURLErrorDownloadDecodingFailedToComplete' value='-3007' />
+  <enum name='kCFHTTPCookieCannotParseCookieFile' value='-4000' />
+  <enum name='kCFFTPErrorUnexpectedStatusCode' value='200' />
+  <enum name='kCFHostAddresses' value='0' />
+  <enum name='kCFHostErrorHostNotFound' value='1' />
+  <enum name='kCFHostErrorUnknown' value='2' />
+  <enum name='kCFHostNames' value='1' />
+  <enum name='kCFHostReachability' value='2' />
+  <enum name='kCFNetDiagnosticConnectionDown' value='-66557' />
+  <enum name='kCFNetDiagnosticConnectionIndeterminate' value='-66558' />
+  <enum name='kCFNetDiagnosticConnectionUp' value='-66559' />
+  <enum name='kCFNetDiagnosticErr' value='-66560' />
+  <enum name='kCFNetDiagnosticNoErr' value='0' />
+  <enum name='kCFNetServiceErrorBadArgument' value='-72004' />
+  <enum name='kCFNetServiceErrorCancel' value='-72005' />
+  <enum name='kCFNetServiceErrorCollision' value='-72001' />
+  <enum name='kCFNetServiceErrorDNSServiceFailure' value='-73000' />
+  <enum name='kCFNetServiceErrorInProgress' value='-72003' />
+  <enum name='kCFNetServiceErrorInvalid' value='-72006' />
+  <enum name='kCFNetServiceErrorNotFound' value='-72002' />
+  <enum name='kCFNetServiceErrorTimeout' value='-72007' />
+  <enum name='kCFNetServiceErrorUnknown' value='-72000' />
+  <enum name='kCFNetServiceFlagIsDefault' value='4' />
+  <enum name='kCFNetServiceFlagIsDomain' value='2' />
+  <enum name='kCFNetServiceFlagIsRegistrationDomain' value='4' />
+  <enum name='kCFNetServiceFlagMoreComing' value='1' />
+  <enum name='kCFNetServiceFlagNoAutoRename' value='1' />
+  <enum name='kCFNetServiceFlagRemove' value='8' />
+  <enum name='kCFNetServiceMonitorTXT' value='1' />
+  <enum name='kCFNetServicesErrorBadArgument' value='-72004' />
+  <enum name='kCFNetServicesErrorCancel' value='-72005' />
+  <enum name='kCFNetServicesErrorCollision' value='-72001' />
+  <enum name='kCFNetServicesErrorInProgress' value='-72003' />
+  <enum name='kCFNetServicesErrorInvalid' value='-72006' />
+  <enum name='kCFNetServicesErrorNotFound' value='-72002' />
+  <enum name='kCFNetServicesErrorTimeout' value='-72007' />
+  <enum name='kCFNetServicesErrorUnknown' value='-72000' />
+  <enum name='kCFSOCKS4ErrorIdConflict' value='112' />
+  <enum name='kCFSOCKS4ErrorIdentdFailed' value='111' />
+  <enum name='kCFSOCKS4ErrorRequestFailed' value='110' />
+  <enum name='kCFSOCKS4ErrorUnknownStatusCode' value='113' />
+  <enum name='kCFSOCKS5ErrorBadCredentials' value='122' />
+  <enum name='kCFSOCKS5ErrorBadResponseAddr' value='121' />
+  <enum name='kCFSOCKS5ErrorBadState' value='120' />
+  <enum name='kCFSOCKS5ErrorNoAcceptableMethod' value='124' />
+  <enum name='kCFSOCKS5ErrorUnsupportedNegotiationMethod' value='123' />
+  <enum name='kCFSOCKSErrorUnknownClientVersion' value='100' />
+  <enum name='kCFSOCKSErrorUnsupportedServerVersion' value='101' />
+  <enum name='kCFStreamErrorHTTPAuthenticationBadPassword' value='-1002' />
+  <enum name='kCFStreamErrorHTTPAuthenticationBadUserName' value='-1001' />
+  <enum name='kCFStreamErrorHTTPAuthenticationTypeUnsupported' value='-1000' />
+  <enum name='kCFStreamErrorHTTPBadURL' value='-3' />
+  <enum name='kCFStreamErrorHTTPParseFailure' value='-1' />
+  <enum name='kCFStreamErrorHTTPRedirectionLoop' value='-2' />
+  <enum name='kCFStreamErrorSOCKS4IdConflict' value='93' />
+  <enum name='kCFStreamErrorSOCKS4IdentdFailed' value='92' />
+  <enum name='kCFStreamErrorSOCKS4RequestFailed' value='91' />
+  <enum name='kCFStreamErrorSOCKS4SubDomainResponse' value='2' />
+  <enum name='kCFStreamErrorSOCKS5BadResponseAddr' value='1' />
+  <enum name='kCFStreamErrorSOCKS5BadState' value='2' />
+  <enum name='kCFStreamErrorSOCKS5SubDomainMethod' value='4' />
+  <enum name='kCFStreamErrorSOCKS5SubDomainResponse' value='5' />
+  <enum name='kCFStreamErrorSOCKS5SubDomainUserPass' value='3' />
+  <enum name='kCFStreamErrorSOCKSSubDomainNone' value='0' />
+  <enum name='kCFStreamErrorSOCKSSubDomainVersionCode' value='1' />
+  <enum name='kCFStreamErrorSOCKSUnknownClientVersion' value='3' />
+  <enum name='kCFStreamSocketSecurityNone' value='0' />
+  <enum name='kCFStreamSocketSecuritySSLv2' value='1' />
+  <enum name='kCFStreamSocketSecuritySSLv23' value='3' />
+  <enum name='kCFStreamSocketSecuritySSLv3' value='2' />
+  <enum name='kCFStreamSocketSecurityTLSv1' value='4' />
+  <enum name='kSOCKS5NoAcceptableMethod' value='255' />
+  <function name='CFNetworkCopySystemProxySettings'> 
+	  <retval type='^{__CFDictionary}' already_cfretained='true' />
+  </function>
+  <function name='CFFTPCreateParsedResourceListing'>
+    <retval type='l' type64='q' />
+    <arg type='^{__CFAllocator=}' />
+    <arg type='^v' c_array_length_in_arg='2' type_modifier='n' />
+    <arg type='l' type64='l' />
+    <arg type='^^{__CFDictionary}' type_modifier='o' />
+  </function>
+  <function name='CFHTTPAuthenticationAppliesToRequest'>
+    <retval type='B' />
+    <arg type='^{_CFHTTPAuthentication=}' />
+    <arg type='^{__CFHTTPMessage=}' />
+  </function>
+  <function name='CFHTTPAuthenticationCopyDomains'>
+    <retval type='^{__CFArray=}' already_cfretained='true' />
+    <arg type='^{_CFHTTPAuthentication=}' />
+  </function>
+  <function name='CFHTTPAuthenticationCopyMethod'>
+    <retval type='^{__CFString=}' already_cfretained='true' />
+    <arg type='^{_CFHTTPAuthentication=}' />
+  </function>
+  <function name='CFHTTPAuthenticationCopyRealm'>
+    <retval type='^{__CFString=}' already_cfretained='true' />
+    <arg type='^{_CFHTTPAuthentication=}' />
+  </function>
+  <function name='CFHTTPAuthenticationCreateFromResponse'>
+    <retval type='^{_CFHTTPAuthentication=}' already_cfretained='true' />
+    <arg type='^{__CFAllocator=}' />
+    <arg type='^{__CFHTTPMessage=}' />
+  </function>
+  <function name='CFHTTPAuthenticationGetTypeID'>
+    <retval type='L' type64='Q' />
+  </function>
+  <function name='CFHTTPAuthenticationIsValid'>
+    <retval type='B' />
+    <arg type='^{_CFHTTPAuthentication=}' />
+    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
+  </function>
+  <function name='CFHTTPAuthenticationRequiresAccountDomain'>
+    <retval type='B' />
+    <arg type='^{_CFHTTPAuthentication=}' />
+  </function>
+  <function name='CFHTTPAuthenticationRequiresOrderedRequests'>
+    <retval type='B' />
+    <arg type='^{_CFHTTPAuthentication=}' />
+  </function>
+  <function name='CFHTTPAuthenticationRequiresUserNameAndPassword'>
+    <retval type='B' />
+    <arg type='^{_CFHTTPAuthentication=}' />
+  </function>
+  <function name='CFHTTPMessageAddAuthentication'>
+    <retval type='B' />
+    <arg type='^{__CFHTTPMessage=}' />
+    <arg type='^{__CFHTTPMessage=}' />
+    <arg type='^{__CFString=}' />
+    <arg type='^{__CFString=}' />
+    <arg type='^{__CFString=}' />
+    <arg type='B' />
+  </function>
+  <function name='CFHTTPMessageAppendBytes'>
+    <retval type='B' />
+    <arg type='^{__CFHTTPMessage=}' />
+    <arg type='^v' c_array_length_in_arg='2' type_modifier='n' />
+    <arg type='l' type64='l' />
+  </function>
+  <function name='CFHTTPMessageApplyCredentialDictionary'>
+    <retval type='B' />
+    <arg type='^{__CFHTTPMessage=}' />
+    <arg type='^{_CFHTTPAuthentication=}' />
+    <arg type='^{__CFDictionary=}' />
+    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
+  </function>
+  <function name='CFHTTPMessageApplyCredentials'>
+    <retval type='B' />
+    <arg type='^{__CFHTTPMessage=}' />
+    <arg type='^{_CFHTTPAuthentication=}' />
+    <arg type='^{__CFString=}' />
+    <arg type='^{__CFString=}' />
+    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
+  </function>
+  <function name='CFHTTPMessageCopyAllHeaderFields'>
+    <retval type='^{__CFDictionary=}' already_cfretained='true' />
+    <arg type='^{__CFHTTPMessage=}' />
+  </function>
+  <function name='CFHTTPMessageCopyBody'>
+    <retval type='^{__CFData=}' already_cfretained='true' />
+    <arg type='^{__CFHTTPMessage=}' />
+  </function>
+  <function name='CFHTTPMessageCopyHeaderFieldValue'>
+    <retval type='^{__CFString=}' already_cfretained='true' />
+    <arg type='^{__CFHTTPMessage=}' />
+    <arg type='^{__CFString=}' />
+  </function>
+  <function name='CFHTTPMessageCopyRequestMethod'>
+    <retval type='^{__CFString=}' already_cfretained='true' />
+    <arg type='^{__CFHTTPMessage=}' />
+  </function>
+  <function name='CFHTTPMessageCopyRequestURL'>
+    <retval type='^{__CFURL=}' already_cfretained='true' />
+    <arg type='^{__CFHTTPMessage=}' />
+  </function>
+  <function name='CFHTTPMessageCopyResponseStatusLine'>
+    <retval type='^{__CFString=}' already_cfretained='true' />
+    <arg type='^{__CFHTTPMessage=}' />
+  </function>
+  <function name='CFHTTPMessageCopySerializedMessage'>
+    <retval type='^{__CFData=}' already_cfretained='true' />
+    <arg type='^{__CFHTTPMessage=}' />
+  </function>
+  <function name='CFHTTPMessageCopyVersion'>
+    <retval type='^{__CFString=}' already_cfretained='true' />
+    <arg type='^{__CFHTTPMessage=}' />
+  </function>
+  <function name='CFHTTPMessageCreateCopy'>
+    <retval type='^{__CFHTTPMessage=}' already_cfretained='true' />
+    <arg type='^{__CFAllocator=}' />
+    <arg type='^{__CFHTTPMessage=}' />
+  </function>
+  <function name='CFHTTPMessageCreateEmpty'>
+    <retval type='^{__CFHTTPMessage=}' already_cfretained='true' />
+    <arg type='^{__CFAllocator=}' />
+    <arg type='B' />
+  </function>
+  <function name='CFHTTPMessageCreateRequest'>
+    <retval type='^{__CFHTTPMessage=}' already_cfretained='true' />
+    <arg type='^{__CFAllocator=}' />
+    <arg type='^{__CFString=}' />
+    <arg type='^{__CFURL=}' />
+    <arg type='^{__CFString=}' />
+  </function>
+  <function name='CFHTTPMessageCreateResponse'>
+    <retval type='^{__CFHTTPMessage=}' already_cfretained='true' />
+    <arg type='^{__CFAllocator=}' />
+    <arg type='l' type64='l' />
+    <arg type='^{__CFString=}' />
+    <arg type='^{__CFString=}' />
+  </function>
+  <function name='CFHTTPMessageGetResponseStatusCode'>
+    <retval type='l' type64='q' />
+    <arg type='^{__CFHTTPMessage=}' />
+  </function>
+  <function name='CFHTTPMessageGetTypeID'>
+    <retval type='L' type64='Q' />
+  </function>
+  <function name='CFHTTPMessageIsHeaderComplete'>
+    <retval type='B' />
+    <arg type='^{__CFHTTPMessage=}' />
+  </function>
+  <function name='CFHTTPMessageIsRequest'>
+    <retval type='B' />
+    <arg type='^{__CFHTTPMessage=}' />
+  </function>
+  <function name='CFHTTPMessageSetBody'>
+    <arg type='^{__CFHTTPMessage=}' />
+    <arg type='^{__CFData=}' />
+  </function>
+  <function name='CFHTTPMessageSetHeaderFieldValue'>
+    <arg type='^{__CFHTTPMessage=}' />
+    <arg type='^{__CFString=}' />
+    <arg type='^{__CFString=}' />
+  </function>
+  <function name='CFHTTPReadStreamSetProxy'>
+    <arg type='^{__CFReadStream=}' />
+    <arg type='^{__CFString=}' />
+    <arg type='l' type64='l' />
+  </function>
+  <function name='CFHTTPReadStreamSetRedirectsAutomatically'>
+    <arg type='^{__CFReadStream=}' />
+    <arg type='B' />
+  </function>
+  <function name='CFHostCancelInfoResolution'>
+    <arg type='^{__CFHost=}' />
+    <arg type='i' />
+  </function>
+  <function name='CFHostCreateCopy'>
+    <retval type='^{__CFHost=}' already_cfretained='true' />
+    <arg type='^{__CFAllocator=}' />
+    <arg type='^{__CFHost=}' />
+  </function>
+  <function name='CFHostCreateWithAddress'>
+    <retval type='^{__CFHost=}' already_cfretained='true' />
+    <arg type='^{__CFAllocator=}' />
+    <arg type='^{__CFData=}' />
+  </function>
+  <function name='CFHostCreateWithName'>
+    <retval type='^{__CFHost=}' already_cfretained='true' />
+    <arg type='^{__CFAllocator=}' />
+    <arg type='^{__CFString=}' />
+  </function>
+  <function name='CFHostGetAddressing'>
+    <retval type='^{__CFArray=}' />
+    <arg type='^{__CFHost=}' />
+    <arg type='o^B' />
+  </function>
+  <function name='CFHostGetNames'>
+    <retval type='^{__CFArray=}' />
+    <arg type='^{__CFHost=}' />
+    <arg type='o^B' />
+  </function>
+  <function name='CFHostGetReachability'>
+    <retval type='^{__CFData=}' />
+    <arg type='^{__CFHost=}' />
+    <arg type='o^B' />
+  </function>
+  <function name='CFHostGetTypeID'>
+    <retval type='L' type64='Q' />
+  </function>
+  <function name='CFHostScheduleWithRunLoop'>
+    <arg type='^{__CFHost=}' />
+    <arg type='^{__CFRunLoop=}' />
+    <arg type='^{__CFString=}' />
+  </function>
+  <function name='CFHostSetClient'>
+    <retval type='B' />
+    <arg type='^{__CFHost=}' />
+    <arg type='^?' />
+    <arg type='^{CFHostClientContext=l^v^?^?^?}' type64='^{CFHostClientContext=l^v^?^?^?}' />
+  </function>
+  <function name='CFHostStartInfoResolution'>
+    <retval type='B' />
+    <arg type='^{__CFHost=}' />
+    <arg type='i' />
+    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
+  </function>
+  <function name='CFHostUnscheduleFromRunLoop'>
+    <arg type='^{__CFHost=}' />
+    <arg type='^{__CFRunLoop=}' />
+    <arg type='^{__CFString=}' />
+  </function>
+  <function name='CFNetDiagnosticCopyNetworkStatusPassively'>
+    <retval type='l' />
+    <arg type='^{__CFNetDiagnostic=}' />
+    <arg type='^^{__CFString}' type_modifier='o' />
+  </function>
+  <function name='CFNetDiagnosticCreateWithStreams'>
+    <retval type='^{__CFNetDiagnostic=}' already_cfretained='true' />
+    <arg type='^{__CFAllocator=}' />
+    <arg type='^{__CFReadStream=}' />
+    <arg type='^{__CFWriteStream=}' />
+  </function>
+  <function name='CFNetDiagnosticCreateWithURL'>
+    <retval type='^{__CFNetDiagnostic=}' already_cfretained='true' />
+    <arg type='^{__CFAllocator=}' />
+    <arg type='^{__CFURL=}' />
+  </function>
+  <function name='CFNetDiagnosticDiagnoseProblemInteractively'>
+    <retval type='l' />
+    <arg type='^{__CFNetDiagnostic=}' />
+  </function>
+  <function name='CFNetDiagnosticSetName'>
+    <arg type='^{__CFNetDiagnostic=}' />
+    <arg type='^{__CFString=}' />
+  </function>
+  <function name='CFNetServiceBrowserCreate'>
+    <retval type='^{__CFNetServiceBrowser=}' already_cfretained='true' />
+    <arg type='^{__CFAllocator=}' />
+    <arg type='^?' />
+    <arg type='^{CFNetServiceClientContext=l^v^?^?^?}' type64='^{CFNetServiceClientContext=l^v^?^?^?}' />
+  </function>
+  <function name='CFNetServiceBrowserGetTypeID'>
+    <retval type='L' type64='Q' />
+  </function>
+  <function name='CFNetServiceBrowserInvalidate'>
+    <arg type='^{__CFNetServiceBrowser=}' />
+  </function>
+  <function name='CFNetServiceBrowserScheduleWithRunLoop'>
+    <arg type='^{__CFNetServiceBrowser=}' />
+    <arg type='^{__CFRunLoop=}' />
+    <arg type='^{__CFString=}' />
+  </function>
+  <function name='CFNetServiceBrowserSearchForDomains'>
+    <retval type='B' />
+    <arg type='^{__CFNetServiceBrowser=}' />
+    <arg type='B' />
+    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
+  </function>
+  <function name='CFNetServiceBrowserSearchForServices'>
+    <retval type='B' />
+    <arg type='^{__CFNetServiceBrowser=}' />
+    <arg type='^{__CFString=}' />
+    <arg type='^{__CFString=}' />
+    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
+  </function>
+  <function name='CFNetServiceBrowserStopSearch'>
+    <arg type='^{__CFNetServiceBrowser=}' />
+    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
+  </function>
+  <function name='CFNetServiceBrowserUnscheduleFromRunLoop'>
+    <arg type='^{__CFNetServiceBrowser=}' />
+    <arg type='^{__CFRunLoop=}' />
+    <arg type='^{__CFString=}' />
+  </function>
+  <function name='CFNetServiceCancel'>
+    <arg type='^{__CFNetService=}' />
+  </function>
+  <function name='CFNetServiceCreate'>
+    <retval type='^{__CFNetService=}' already_cfretained='true' />
+    <arg type='^{__CFAllocator=}' />
+    <arg type='^{__CFString=}' />
+    <arg type='^{__CFString=}' />
+    <arg type='^{__CFString=}' />
+    <arg type='l' type64='l' />
+  </function>
+  <function name='CFNetServiceCreateCopy'>
+    <retval type='^{__CFNetService=}' already_cfretained='true' />
+    <arg type='^{__CFAllocator=}' />
+    <arg type='^{__CFNetService=}' />
+  </function>
+  <function name='CFNetServiceCreateDictionaryWithTXTData'>
+    <retval type='^{__CFDictionary=}' already_cfretained='true' />
+    <arg type='^{__CFAllocator=}' />
+    <arg type='^{__CFData=}' />
+  </function>
+  <function name='CFNetServiceCreateTXTDataWithDictionary'>
+    <retval type='^{__CFData=}' already_cfretained='true' />
+    <arg type='^{__CFAllocator=}' />
+    <arg type='^{__CFDictionary=}' />
+  </function>
+  <function name='CFNetServiceGetAddressing'>
+    <retval type='^{__CFArray=}' />
+    <arg type='^{__CFNetService=}' />
+  </function>
+  <function name='CFNetServiceGetDomain'>
+    <retval type='^{__CFString=}' />
+    <arg type='^{__CFNetService=}' />
+  </function>
+  <function name='CFNetServiceGetName'>
+    <retval type='^{__CFString=}' />
+    <arg type='^{__CFNetService=}' />
+  </function>
+  <function name='CFNetServiceGetPortNumber'>
+    <retval type='l' type64='i' />
+    <arg type='^{__CFNetService=}' />
+  </function>
+  <function name='CFNetServiceGetProtocolSpecificInformation'>
+    <retval type='^{__CFString=}' />
+    <arg type='^{__CFNetService=}' />
+  </function>
+  <function name='CFNetServiceGetTXTData'>
+    <retval type='^{__CFData=}' />
+    <arg type='^{__CFNetService=}' />
+  </function>
+  <function name='CFNetServiceGetTargetHost'>
+    <retval type='^{__CFString=}' />
+    <arg type='^{__CFNetService=}' />
+  </function>
+  <function name='CFNetServiceGetType'>
+    <retval type='^{__CFString=}' />
+    <arg type='^{__CFNetService=}' />
+  </function>
+  <function name='CFNetServiceGetTypeID'>
+    <retval type='L' type64='Q' />
+  </function>
+  <function name='CFNetServiceMonitorCreate'>
+    <retval type='^{__CFNetServiceMonitor=}' already_cfretained='true' />
+    <arg type='^{__CFAllocator=}' />
+    <arg type='^{__CFNetService=}' />
+    <arg type='^?' />
+    <arg type='^{CFNetServiceClientContext=l^v^?^?^?}' type64='^{CFNetServiceClientContext=l^v^?^?^?}' />
+  </function>
+  <function name='CFNetServiceMonitorGetTypeID'>
+    <retval type='L' type64='Q' />
+  </function>
+  <function name='CFNetServiceMonitorInvalidate'>
+    <arg type='^{__CFNetServiceMonitor=}' />
+  </function>
+  <function name='CFNetServiceMonitorScheduleWithRunLoop'>
+    <arg type='^{__CFNetServiceMonitor=}' />
+    <arg type='^{__CFRunLoop=}' />
+    <arg type='^{__CFString=}' />
+  </function>
+  <function name='CFNetServiceMonitorStart'>
+    <retval type='B' />
+    <arg type='^{__CFNetServiceMonitor=}' />
+    <arg type='i' />
+    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
+  </function>
+  <function name='CFNetServiceMonitorStop'>
+    <arg type='^{__CFNetServiceMonitor=}' />
+    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
+  </function>
+  <function name='CFNetServiceMonitorUnscheduleFromRunLoop'>
+    <arg type='^{__CFNetServiceMonitor=}' />
+    <arg type='^{__CFRunLoop=}' />
+    <arg type='^{__CFString=}' />
+  </function>
+  <function name='CFNetServiceRegister'>
+    <retval type='B' />
+    <arg type='^{__CFNetService=}' />
+    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
+  </function>
+  <function name='CFNetServiceRegisterWithOptions'>
+    <retval type='B' />
+    <arg type='^{__CFNetService=}' />
+    <arg type='L' type64='L' />
+    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
+  </function>
+  <function name='CFNetServiceResolve'>
+    <retval type='B' />
+    <arg type='^{__CFNetService=}' />
+    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
+  </function>
+  <function name='CFNetServiceResolveWithTimeout'>
+    <retval type='B' />
+    <arg type='^{__CFNetService=}' />
+    <arg type='d' />
+    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
+  </function>
+  <function name='CFNetServiceScheduleWithRunLoop'>
+    <arg type='^{__CFNetService=}' />
+    <arg type='^{__CFRunLoop=}' />
+    <arg type='^{__CFString=}' />
+  </function>
+  <function name='CFNetServiceSetClient'>
+    <retval type='B' />
+    <arg type='^{__CFNetService=}' />
+    <arg type='^?' />
+    <arg type='^{CFNetServiceClientContext=l^v^?^?^?}' type64='^{CFNetServiceClientContext=l^v^?^?^?}' />
+  </function>
+  <function name='CFNetServiceSetProtocolSpecificInformation'>
+    <arg type='^{__CFNetService=}' />
+    <arg type='^{__CFString=}' />
+  </function>
+  <function name='CFNetServiceSetTXTData'>
+    <retval type='B' />
+    <arg type='^{__CFNetService=}' />
+    <arg type='^{__CFData=}' />
+  </function>
+  <function name='CFNetServiceUnscheduleFromRunLoop'>
+    <arg type='^{__CFNetService=}' />
+    <arg type='^{__CFRunLoop=}' />
+    <arg type='^{__CFString=}' />
+  </function>
+  <function name='CFNetworkCopyProxiesForAutoConfigurationScript'>
+    <retval type='^{__CFArray=}' already_cfretained='true' />
+    <arg type='^{__CFString=}' />
+    <arg type='^{__CFURL=}' />
+    <arg type='^^{__CFError}' type_modifier='o' />
+  </function>
+  <function name='CFNetworkCopyProxiesForURL'>
+    <retval type='^{__CFArray=}' already_cfretained='true' />
+    <arg type='^{__CFURL=}' />
+    <arg type='^{__CFDictionary=}' />
+  </function>
+  <function name='CFNetworkCopySystemProxySettings'>
+    <retval type='^{__CFDictionary=}' already_cfretained='true' />
+  </function>
+  <function name='CFReadStreamCreateForHTTPRequest'>
+    <retval type='^{__CFReadStream=}' already_cfretained='true' />
+    <arg type='^{__CFAllocator=}' />
+    <arg type='^{__CFHTTPMessage=}' />
+  </function>
+  <function name='CFReadStreamCreateForStreamedHTTPRequest'>
+    <retval type='^{__CFReadStream=}' already_cfretained='true' />
+    <arg type='^{__CFAllocator=}' />
+    <arg type='^{__CFHTTPMessage=}' />
+    <arg type='^{__CFReadStream=}' />
+  </function>
+  <function name='CFReadStreamCreateWithFTPURL'>
+    <retval type='^{__CFReadStream=}' already_cfretained='true' />
+    <arg type='^{__CFAllocator=}' />
+    <arg type='^{__CFURL=}' />
+  </function>
+  <function name='CFSocketStreamPairSetSecurityProtocol'>
+    <retval type='B' />
+    <arg type='^{__CFReadStream=}' />
+    <arg type='^{__CFWriteStream=}' />
+    <arg type='i' />
+  </function>
+  <function name='CFStreamCreatePairWithSocketToCFHost'>
+    <arg type='^{__CFAllocator=}' />
+    <arg type='^{__CFHost=}' />
+    <arg type='l' type64='l' />
+    <arg type='^^{__CFReadStream}' already_cfretained='true' type_modifier='o' />
+    <arg type='^^{__CFWriteStream}' already_cfretained='true' type_modifier='o' />
+  </function>
+  <function name='CFStreamCreatePairWithSocketToNetService'>
+    <arg type='^{__CFAllocator=}' />
+    <arg type='^{__CFNetService=}' />
+    <arg type='^^{__CFReadStream}' already_cfretained='true' type_modifier='o' />
+    <arg type='^^{__CFWriteStream}' already_cfretained='true' type_modifier='o' />
+  </function>
+  <function name='CFWriteStreamCreateWithFTPURL'>
+    <retval type='^{__CFWriteStream=}' already_cfretained='true' />
+    <arg type='^{__CFAllocator=}' />
+    <arg type='^{__CFURL=}' />
+  </function>
+  <function inline='true' name='CFSocketStreamSOCKSGetError'>
+    <retval type='l' type64='i' />
+    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
+  </function>
+  <function inline='true' name='CFSocketStreamSOCKSGetErrorSubdomain'>
+    <retval type='l' type64='i' />
+    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
+  </function>
+</signatures>

pyobjc-framework-CFNetwork/Lib/CFNetwork/PyObjC.bridgesupport

-<?xml version='1.0'?>
-<!DOCTYPE signatures SYSTEM "file://localhost/System/Library/DTDs/BridgeSupport.dtd">
-<signatures version='1.0'>
-  <depends_on path='/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation' />
-  <cftype name='CFHTTPAuthenticationRef' type='^{_CFHTTPAuthentication=}' type64='^{_CFHTTPAuthentication=}' gettypeid_func='CFHTTPAuthenticationGetTypeID' />
-  <cftype name='CFHTTPMessageRef' type='^{__CFHTTPMessage=}' type64='^{__CFHTTPMessage=}' gettypeid_func='CFHTTPMessageGetTypeID' />
-  <cftype name='CFHostRef' type='^{__CFHost=}' type64='^{__CFHost=}' gettypeid_func='CFHostGetTypeID'/>
-  <cftype name='CFNetDiagnosticRef' type='^{__CFNetDiagnostic=}' type64='^{__CFNetDiagnostic=}' gettypeid_func='CFNetDiagnosticGetTypeID'/>
-  <cftype name='CFNetServiceBrowserRef' type='^{__CFNetServiceBrowser=}' type64='^{__CFNetServiceBrowser=}' gettypeid_func='CFNetServiceBrowserGetTypeID'/>
-  <cftype name='CFNetServiceMonitorRef' type='^{__CFNetServiceMonitor=}' type64='^{__CFNetServiceMonitor=}' gettypeid_func='CFNetServiceMonitorGetTypeID'/>
-  <cftype name='CFNetServiceRef' type='^{__CFNetService=}' type64='^{__CFNetService=}' gettypeid_func='CFNetServiceGetTypeID'/>
-  <constant name='kCFStreamPropertySSLPeerCertificates' type='@' />
-  <constant name='kCFStreamPropertySSLPeerTrust' type='@' />
-  <constant name='kCFNetworkProxiesSOCKSEnable' type='@' />
-  <constant name='kCFNetworkProxiesSOCKSPort' type='@' />
-  <constant name='kCFNetworkProxiesSOCKSProxy' type='@' />
-  <constant name='kCFNetworkProxiesHTTPSEnable' type='@' />
-  <constant name='kCFNetworkProxiesHTTPSPort' type='@' />
-  <constant name='kCFNetworkProxiesHTTPSProxy' type='@' />
-  <constant name='kCFNetworkProxiesRTSPEnable' type='@' />
-  <constant name='kCFNetworkProxiesRTSPPort' type='@' />
-  <constant name='kCFNetworkProxiesRTSPProxy' type='@' />
-  <constant name='kCFNetworkProxiesFTPProxy' type='@' />
-  <constant name='kCFNetworkProxiesFTPPort' type='@' />
-  <constant name='kCFNetworkProxiesFTPPassive' type='@' />
-  <constant name='kCFNetworkProxiesFTPEnable' type='@' />
-  <constant name='kCFNetworkProxiesExcludeSimpleHostnames' type='@' />
-  <constant name='kCFNetworkProxiesExceptionsList' type='@' />
-  <constant name='kCFNetworkProxiesGopherEnable' type='@' />
-  <constant name='kCFNetworkProxiesGopherPort' type='@' />
-  <constant name='kCFNetworkProxiesGopherProxy' type='@' />
-  <constant name='kCFProxyAutoConfigurationHTTPResponseKey' type='@' />
-  <constant name='kCFURLErrorFailingURLErrorKey' type='@' />
-  <constant name='kCFURLErrorFailingURLStringErrorKey' type='@' />
-  <constant name='kCFStreamErrorDomainMach' type='i' />
-  <constant name='kCFStreamErrorDomainFTP' type='i' />
-  <constant name='kCFStreamErrorDomainSOCKS' type='i' />
-  <constant name='kCFStreamErrorDomainSSL' type='i' />
-  <constant name='kCFStreamErrorDomainHTTP' type='i' />
-  <constant name='kCFStreamErrorDomainNetDB' type='i' />
-  <constant name='kCFStreamErrorDomainSystemConfiguration' type='i' />
-  <constant name='kCFStreamErrorDomainNetServices' type='i' />
-  <constant name='kCFProxyTypeKey' type='^{__CFString=}' />
-  <constant name='kCFProxyHostNameKey' type='^{__CFString=}' />
-  <constant name='kCFProxyPortNumberKey' type='^{__CFString=}' />
-  <constant name='kCFProxyAutoConfigurationURLKey' type='^{__CFString=}' />
-  <constant name='kCFProxyUsernameKey' type='^{__CFString=}' />
-  <constant name='kCFProxyPasswordKey' type='^{__CFString=}' />
-  <constant name='kCFProxyTypeNone' type='^{__CFString=}' />
-  <constant name='kCFProxyTypeHTTP' type='^{__CFString=}' />
-  <constant name='kCFProxyTypeHTTPS' type='^{__CFString=}' />
-  <constant name='kCFProxyTypeSOCKS' type='^{__CFString=}' />
-  <constant name='kCFProxyTypeFTP' type='^{__CFString=}' />
-  <constant name='kCFProxyTypeAutoConfigurationURL' type='^{__CFString=}' />
-  <constant name='kCFNetworkProxiesHTTPEnable' type='^{__CFString=}' />
-  <constant name='kCFNetworkProxiesHTTPPort' type='^{__CFString=}' />
-  <constant name='kCFNetworkProxiesHTTPProxy' type='^{__CFString=}' />
-  <constant name='kCFNetworkProxiesProxyAutoConfigEnable' type='^{__CFString=}' />
-  <constant name='kCFNetworkProxiesProxyAutoConfigURLString' type='^{__CFString=}' />
-  <constant name='kCFErrorDomainCFNetwork' type='^{__CFString=}' />
-  <constant name='kCFErrorDomainWinSock' type='^{__CFString=}' />
-  <constant name='kCFGetAddrInfoFailureKey' type='^{__CFString=}' />
-  <constant name='kCFSOCKSStatusCodeKey' type='^{__CFString=}' />
-  <constant name='kCFSOCKSVersionKey' type='^{__CFString=}' />
-  <constant name='kCFSOCKSNegotiationMethodKey' type='^{__CFString=}' />
-  <constant name='kCFDNSServiceFailureKey' type='^{__CFString=}' />
-  <constant name='kCFFTPStatusCodeKey' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertyHTTPResponseHeader' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertyHTTPFinalURL' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertyHTTPFinalRequest' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertyHTTPProxy' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertyHTTPProxyHost' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertyHTTPProxyPort' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertyHTTPSProxyHost' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertyHTTPSProxyPort' type='^{__CFString=}' />
-  <constant name='kCFHTTPAuthenticationUsername' type='^{__CFString=}' />
-  <constant name='kCFHTTPAuthenticationPassword' type='^{__CFString=}' />
-  <constant name='kCFHTTPAuthenticationAccountDomain' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertyHTTPShouldAutoredirect' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertyHTTPAttemptPersistentConnection' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertyHTTPRequestBytesWrittenCount' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertyFTPUserName' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertyFTPPassword' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertyFTPUsePassiveMode' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertyFTPResourceSize' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertyFTPFetchResourceInfo' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertyFTPFileTransferOffset' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertyFTPAttemptPersistentConnection' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertyFTPProxy' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertyFTPProxyHost' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertyFTPProxyPort' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertyFTPProxyUser' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertyFTPProxyPassword' type='^{__CFString=}' />
-  <constant name='kCFHTTPVersion1_0' type='^{__CFString=}' />
-  <constant name='kCFHTTPVersion1_1' type='^{__CFString=}' />
-  <constant name='kCFHTTPAuthenticationSchemeBasic' type='^{__CFString=}' />
-  <constant name='kCFHTTPAuthenticationSchemeDigest' type='^{__CFString=}' />
-  <constant name='kCFHTTPAuthenticationSchemeNTLM' type='^{__CFString=}' />
-  <constant name='kCFHTTPAuthenticationSchemeNegotiate' type='^{__CFString=}' />
-  <constant name='kCFFTPResourceMode' type='^{__CFString=}' />
-  <constant name='kCFFTPResourceName' type='^{__CFString=}' />
-  <constant name='kCFFTPResourceOwner' type='^{__CFString=}' />
-  <constant name='kCFFTPResourceGroup' type='^{__CFString=}' />
-  <constant name='kCFFTPResourceLink' type='^{__CFString=}' />
-  <constant name='kCFFTPResourceSize' type='^{__CFString=}' />
-  <constant name='kCFFTPResourceType' type='^{__CFString=}' />
-  <constant name='kCFFTPResourceModDate' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertySOCKSPassword' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertySOCKSProxy' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertySOCKSProxyHost' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertySOCKSProxyPort' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertySOCKSUser' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertySOCKSVersion' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertyShouldCloseNativeSocket' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertySocketSecurityLevel' type='^{__CFString=}' />
-  <constant name='kCFStreamSocketSOCKSVersion4' type='^{__CFString=}' />
-  <constant name='kCFStreamSocketSOCKSVersion5' type='^{__CFString=}' />
-  <constant name='kCFStreamSocketSecurityLevelNegotiatedSSL' type='^{__CFString=}' />
-  <constant name='kCFStreamSocketSecurityLevelNone' type='^{__CFString=}' />
-  <constant name='kCFStreamSocketSecurityLevelSSLv2' type='^{__CFString=}' />
-  <constant name='kCFStreamSocketSecurityLevelSSLv3' type='^{__CFString=}' />
-  <constant name='kCFStreamSocketSecurityLevelTLSv1' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertySOCKSProxyHost' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertySOCKSProxyPort' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertySOCKSVersion' type='^{__CFString=}' />
-  <constant name='kCFStreamSocketSOCKSVersion4' type='^{__CFString=}' />
-  <constant name='kCFStreamSocketSOCKSVersion5' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertySOCKSUser' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertySOCKSPassword' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertySocketSecurityLevel' type='^{__CFString=}' />
-  <constant name='kCFStreamSocketSecurityLevelNone' type='^{__CFString=}' />
-  <constant name='kCFStreamSocketSecurityLevelSSLv2' type='^{__CFString=}' />
-  <constant name='kCFStreamSocketSecurityLevelSSLv3' type='^{__CFString=}' />
-  <constant name='kCFStreamSocketSecurityLevelTLSv1' type='^{__CFString=}' />
-  <constant name='kCFStreamSocketSecurityLevelNegotiatedSSL' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertyShouldCloseNativeSocket' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertySocketRemoteHost' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertySocketRemoteNetService' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertySSLPeerCertificates' type='^{__CFString=}' />
-  <constant name='kCFStreamPropertySSLSettings' type='^{__CFString=}' />
-  <constant name='kCFStreamSSLLevel' type='^{__CFString=}' />
-  <constant name='kCFStreamSSLAllowsExpiredCertificates' type='^{__CFString=}' />
-  <constant name='kCFStreamSSLAllowsExpiredRoots' type='^{__CFString=}' />
-  <constant name='kCFStreamSSLAllowsAnyRoot' type='^{__CFString=}' />
-  <constant name='kCFStreamSSLValidatesCertificateChain' type='^{__CFString=}' />
-  <constant name='kCFStreamSSLPeerName' type='^{__CFString=}' />
-  <constant name='kCFStreamSSLCertificates' type='^{__CFString=}' />
-  <constant name='kCFStreamSSLIsServer' type='^{__CFString=}' />
-  <constant name='kCFStreamErrorDomainWinSock' type='i' />
-  <constant name='kCFStreamPropertyProxyLocalBypass' type='^{__CFString=}' />
-  <enum name='kCFErrorHTTPAuthenticationTypeUnsupported' value='300' />
-  <enum name='kCFErrorHTTPBadCredentials' value='301' />
-  <enum name='kCFErrorHTTPBadProxyCredentials' value='307' />
-  <enum name='kCFErrorHTTPBadURL' value='305' />
-  <enum name='kCFErrorHTTPConnectionLost' value='302' />
-  <enum name='kCFErrorHTTPParseFailure' value='303' />
-  <enum name='kCFErrorHTTPProxyConnectionFailure' value='306' />
-  <enum name='kCFErrorHTTPRedirectionLoopDetected' value='304' />
-  <enum name='kCFErrorPACFileError' value='308' />
-  <enum name='kCFErrorPACFileAuth' value='309' />
-  <enum name='kCFErrorHTTPSProxyConnectionFailure' value='310' />
-  <enum name='kCFURLErrorUnknown' value='-998' />
-  <enum name='kCFURLErrorCancelled' value='-999' />
-  <enum name='kCFURLErrorBadURL' value='-1000' />
-  <enum name='kCFURLErrorTimedOut' value='-1001' />
-  <enum name='kCFURLErrorUnsupportedURL' value='-1002' />
-  <enum name='kCFURLErrorCannotFindHost' value='-1003' />
-  <enum name='kCFURLErrorCannotConnectToHost' value='-1004' />
-  <enum name='kCFURLErrorNetworkConnectionLost' value='-1005' />
-  <enum name='kCFURLErrorDNSLookupFailed' value='-1006' />
-  <enum name='kCFURLErrorHTTPTooManyRedirects' value='-1007' />
-  <enum name='kCFURLErrorResourceUnavailable' value='-1008' />
-  <enum name='kCFURLErrorNotConnectedToInternet' value='-1009' />
-  <enum name='kCFURLErrorRedirectToNonExistentLocation' value='-1010' />
-  <enum name='kCFURLErrorBadServerResponse' value='-1011' />
-  <enum name='kCFURLErrorUserCancelledAuthentication' value='-1012' />
-  <enum name='kCFURLErrorUserAuthenticationRequired' value='-1013' />
-  <enum name='kCFURLErrorZeroByteResource' value='-1014' />
-  <enum name='kCFURLErrorCannotDecodeRawData' value='-1015' />
-  <enum name='kCFURLErrorCannotDecodeContentData' value='-1016' />
-  <enum name='kCFURLErrorCannotParseResponse' value='-1017' />
-  <enum name='kCFURLErrorInternationalRoamingOff' value='-1018' />
-  <enum name='kCFURLErrorCallIsActive' value='-1019' />
-  <enum name='kCFURLErrorDataNotAllowed' value='-1020' />
-  <enum name='kCFURLErrorRequestBodyStreamExhausted' value='-1021' />
-  <enum name='kCFURLErrorFileDoesNotExist' value='-1100' />
-  <enum name='kCFURLErrorFileIsDirectory' value='-1101' />
-  <enum name='kCFURLErrorNoPermissionsToReadFile' value='-1102' />
-  <enum name='kCFURLErrorDataLengthExceedsMaximum' value='-1103' />
-  <enum name='kCFURLErrorSecureConnectionFailed' value='-1200' />
-  <enum name='kCFURLErrorServerCertificateHasBadDate' value='-1201' />
-  <enum name='kCFURLErrorServerCertificateUntrusted' value='-1202' />
-  <enum name='kCFURLErrorServerCertificateHasUnknownRoot' value='-1203' />
-  <enum name='kCFURLErrorServerCertificateNotYetValid' value='-1204' />
-  <enum name='kCFURLErrorClientCertificateRejected' value='-1205' />
-  <enum name='kCFURLErrorClientCertificateRequired' value='-1206' />
-  <enum name='kCFURLErrorCannotLoadFromNetwork' value='-2000' />
-  <enum name='kCFURLErrorCannotCreateFile' value='-3000' />
-  <enum name='kCFURLErrorCannotOpenFile' value='-3001' />
-  <enum name='kCFURLErrorCannotCloseFile' value='-3002' />
-  <enum name='kCFURLErrorCannotWriteToFile' value='-3003' />
-  <enum name='kCFURLErrorCannotRemoveFile' value='-3004' />
-  <enum name='kCFURLErrorCannotMoveFile' value='-3005' />
-  <enum name='kCFURLErrorDownloadDecodingFailedMidStream' value='-3006' />
-  <enum name='kCFURLErrorDownloadDecodingFailedToComplete' value='-3007' />
-  <enum name='kCFHTTPCookieCannotParseCookieFile' value='-4000' />
-  <enum name='kCFFTPErrorUnexpectedStatusCode' value='200' />
-  <enum name='kCFHostAddresses' value='0' />
-  <enum name='kCFHostErrorHostNotFound' value='1' />
-  <enum name='kCFHostErrorUnknown' value='2' />
-  <enum name='kCFHostNames' value='1' />
-  <enum name='kCFHostReachability' value='2' />
-  <enum name='kCFNetDiagnosticConnectionDown' value='-66557' />
-  <enum name='kCFNetDiagnosticConnectionIndeterminate' value='-66558' />
-  <enum name='kCFNetDiagnosticConnectionUp' value='-66559' />
-  <enum name='kCFNetDiagnosticErr' value='-66560' />
-  <enum name='kCFNetDiagnosticNoErr' value='0' />
-  <enum name='kCFNetServiceErrorBadArgument' value='-72004' />
-  <enum name='kCFNetServiceErrorCancel' value='-72005' />
-  <enum name='kCFNetServiceErrorCollision' value='-72001' />
-  <enum name='kCFNetServiceErrorDNSServiceFailure' value='-73000' />
-  <enum name='kCFNetServiceErrorInProgress' value='-72003' />
-  <enum name='kCFNetServiceErrorInvalid' value='-72006' />
-  <enum name='kCFNetServiceErrorNotFound' value='-72002' />
-  <enum name='kCFNetServiceErrorTimeout' value='-72007' />
-  <enum name='kCFNetServiceErrorUnknown' value='-72000' />
-  <enum name='kCFNetServiceFlagIsDefault' value='4' />
-  <enum name='kCFNetServiceFlagIsDomain' value='2' />
-  <enum name='kCFNetServiceFlagIsRegistrationDomain' value='4' />
-  <enum name='kCFNetServiceFlagMoreComing' value='1' />
-  <enum name='kCFNetServiceFlagNoAutoRename' value='1' />
-  <enum name='kCFNetServiceFlagRemove' value='8' />
-  <enum name='kCFNetServiceMonitorTXT' value='1' />
-  <enum name='kCFNetServicesErrorBadArgument' value='-72004' />
-  <enum name='kCFNetServicesErrorCancel' value='-72005' />
-  <enum name='kCFNetServicesErrorCollision' value='-72001' />
-  <enum name='kCFNetServicesErrorInProgress' value='-72003' />
-  <enum name='kCFNetServicesErrorInvalid' value='-72006' />
-  <enum name='kCFNetServicesErrorNotFound' value='-72002' />
-  <enum name='kCFNetServicesErrorTimeout' value='-72007' />
-  <enum name='kCFNetServicesErrorUnknown' value='-72000' />
-  <enum name='kCFSOCKS4ErrorIdConflict' value='112' />
-  <enum name='kCFSOCKS4ErrorIdentdFailed' value='111' />
-  <enum name='kCFSOCKS4ErrorRequestFailed' value='110' />
-  <enum name='kCFSOCKS4ErrorUnknownStatusCode' value='113' />
-  <enum name='kCFSOCKS5ErrorBadCredentials' value='122' />
-  <enum name='kCFSOCKS5ErrorBadResponseAddr' value='121' />
-  <enum name='kCFSOCKS5ErrorBadState' value='120' />
-  <enum name='kCFSOCKS5ErrorNoAcceptableMethod' value='124' />
-  <enum name='kCFSOCKS5ErrorUnsupportedNegotiationMethod' value='123' />
-  <enum name='kCFSOCKSErrorUnknownClientVersion' value='100' />
-  <enum name='kCFSOCKSErrorUnsupportedServerVersion' value='101' />
-  <enum name='kCFStreamErrorHTTPAuthenticationBadPassword' value='-1002' />
-  <enum name='kCFStreamErrorHTTPAuthenticationBadUserName' value='-1001' />
-  <enum name='kCFStreamErrorHTTPAuthenticationTypeUnsupported' value='-1000' />
-  <enum name='kCFStreamErrorHTTPBadURL' value='-3' />
-  <enum name='kCFStreamErrorHTTPParseFailure' value='-1' />
-  <enum name='kCFStreamErrorHTTPRedirectionLoop' value='-2' />
-  <enum name='kCFStreamErrorSOCKS4IdConflict' value='93' />
-  <enum name='kCFStreamErrorSOCKS4IdentdFailed' value='92' />
-  <enum name='kCFStreamErrorSOCKS4RequestFailed' value='91' />
-  <enum name='kCFStreamErrorSOCKS4SubDomainResponse' value='2' />
-  <enum name='kCFStreamErrorSOCKS5BadResponseAddr' value='1' />
-  <enum name='kCFStreamErrorSOCKS5BadState' value='2' />
-  <enum name='kCFStreamErrorSOCKS5SubDomainMethod' value='4' />
-  <enum name='kCFStreamErrorSOCKS5SubDomainResponse' value='5' />
-  <enum name='kCFStreamErrorSOCKS5SubDomainUserPass' value='3' />
-  <enum name='kCFStreamErrorSOCKSSubDomainNone' value='0' />
-  <enum name='kCFStreamErrorSOCKSSubDomainVersionCode' value='1' />
-  <enum name='kCFStreamErrorSOCKSUnknownClientVersion' value='3' />
-  <enum name='kCFStreamSocketSecurityNone' value='0' />
-  <enum name='kCFStreamSocketSecuritySSLv2' value='1' />
-  <enum name='kCFStreamSocketSecuritySSLv23' value='3' />
-  <enum name='kCFStreamSocketSecuritySSLv3' value='2' />
-  <enum name='kCFStreamSocketSecurityTLSv1' value='4' />
-  <enum name='kSOCKS5NoAcceptableMethod' value='255' />
-  <function name='CFNetworkCopySystemProxySettings'> 
-	  <retval type='^{__CFDictionary}' already_cfretained='true' />
-  </function>
-  <function name='CFFTPCreateParsedResourceListing'>
-    <retval type='l' type64='q' />
-    <arg type='^{__CFAllocator=}' />
-    <arg type='^v' c_array_length_in_arg='2' type_modifier='n' />
-    <arg type='l' type64='l' />
-    <arg type='^^{__CFDictionary}' type_modifier='o' />
-  </function>
-  <function name='CFHTTPAuthenticationAppliesToRequest'>
-    <retval type='B' />
-    <arg type='^{_CFHTTPAuthentication=}' />
-    <arg type='^{__CFHTTPMessage=}' />
-  </function>
-  <function name='CFHTTPAuthenticationCopyDomains'>
-    <retval type='^{__CFArray=}' already_cfretained='true' />
-    <arg type='^{_CFHTTPAuthentication=}' />
-  </function>
-  <function name='CFHTTPAuthenticationCopyMethod'>
-    <retval type='^{__CFString=}' already_cfretained='true' />
-    <arg type='^{_CFHTTPAuthentication=}' />
-  </function>
-  <function name='CFHTTPAuthenticationCopyRealm'>
-    <retval type='^{__CFString=}' already_cfretained='true' />
-    <arg type='^{_CFHTTPAuthentication=}' />
-  </function>
-  <function name='CFHTTPAuthenticationCreateFromResponse'>
-    <retval type='^{_CFHTTPAuthentication=}' already_cfretained='true' />
-    <arg type='^{__CFAllocator=}' />
-    <arg type='^{__CFHTTPMessage=}' />
-  </function>
-  <function name='CFHTTPAuthenticationGetTypeID'>
-    <retval type='L' type64='Q' />
-  </function>
-  <function name='CFHTTPAuthenticationIsValid'>
-    <retval type='B' />
-    <arg type='^{_CFHTTPAuthentication=}' />
-    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
-  </function>
-  <function name='CFHTTPAuthenticationRequiresAccountDomain'>
-    <retval type='B' />
-    <arg type='^{_CFHTTPAuthentication=}' />
-  </function>
-  <function name='CFHTTPAuthenticationRequiresOrderedRequests'>
-    <retval type='B' />
-    <arg type='^{_CFHTTPAuthentication=}' />
-  </function>
-  <function name='CFHTTPAuthenticationRequiresUserNameAndPassword'>
-    <retval type='B' />
-    <arg type='^{_CFHTTPAuthentication=}' />
-  </function>
-  <function name='CFHTTPMessageAddAuthentication'>
-    <retval type='B' />
-    <arg type='^{__CFHTTPMessage=}' />
-    <arg type='^{__CFHTTPMessage=}' />
-    <arg type='^{__CFString=}' />
-    <arg type='^{__CFString=}' />
-    <arg type='^{__CFString=}' />
-    <arg type='B' />
-  </function>
-  <function name='CFHTTPMessageAppendBytes'>
-    <retval type='B' />
-    <arg type='^{__CFHTTPMessage=}' />
-    <arg type='^v' c_array_length_in_arg='2' type_modifier='n' />
-    <arg type='l' type64='l' />
-  </function>
-  <function name='CFHTTPMessageApplyCredentialDictionary'>
-    <retval type='B' />
-    <arg type='^{__CFHTTPMessage=}' />
-    <arg type='^{_CFHTTPAuthentication=}' />
-    <arg type='^{__CFDictionary=}' />
-    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
-  </function>
-  <function name='CFHTTPMessageApplyCredentials'>
-    <retval type='B' />
-    <arg type='^{__CFHTTPMessage=}' />
-    <arg type='^{_CFHTTPAuthentication=}' />
-    <arg type='^{__CFString=}' />
-    <arg type='^{__CFString=}' />
-    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
-  </function>
-  <function name='CFHTTPMessageCopyAllHeaderFields'>
-    <retval type='^{__CFDictionary=}' already_cfretained='true' />
-    <arg type='^{__CFHTTPMessage=}' />
-  </function>
-  <function name='CFHTTPMessageCopyBody'>
-    <retval type='^{__CFData=}' already_cfretained='true' />
-    <arg type='^{__CFHTTPMessage=}' />
-  </function>
-  <function name='CFHTTPMessageCopyHeaderFieldValue'>
-    <retval type='^{__CFString=}' already_cfretained='true' />
-    <arg type='^{__CFHTTPMessage=}' />
-    <arg type='^{__CFString=}' />
-  </function>
-  <function name='CFHTTPMessageCopyRequestMethod'>
-    <retval type='^{__CFString=}' already_cfretained='true' />
-    <arg type='^{__CFHTTPMessage=}' />
-  </function>
-  <function name='CFHTTPMessageCopyRequestURL'>
-    <retval type='^{__CFURL=}' already_cfretained='true' />
-    <arg type='^{__CFHTTPMessage=}' />
-  </function>
-  <function name='CFHTTPMessageCopyResponseStatusLine'>
-    <retval type='^{__CFString=}' already_cfretained='true' />
-    <arg type='^{__CFHTTPMessage=}' />
-  </function>
-  <function name='CFHTTPMessageCopySerializedMessage'>
-    <retval type='^{__CFData=}' already_cfretained='true' />
-    <arg type='^{__CFHTTPMessage=}' />
-  </function>
-  <function name='CFHTTPMessageCopyVersion'>
-    <retval type='^{__CFString=}' already_cfretained='true' />
-    <arg type='^{__CFHTTPMessage=}' />
-  </function>
-  <function name='CFHTTPMessageCreateCopy'>
-    <retval type='^{__CFHTTPMessage=}' already_cfretained='true' />
-    <arg type='^{__CFAllocator=}' />
-    <arg type='^{__CFHTTPMessage=}' />
-  </function>
-  <function name='CFHTTPMessageCreateEmpty'>
-    <retval type='^{__CFHTTPMessage=}' already_cfretained='true' />
-    <arg type='^{__CFAllocator=}' />
-    <arg type='B' />
-  </function>
-  <function name='CFHTTPMessageCreateRequest'>
-    <retval type='^{__CFHTTPMessage=}' already_cfretained='true' />
-    <arg type='^{__CFAllocator=}' />
-    <arg type='^{__CFString=}' />
-    <arg type='^{__CFURL=}' />
-    <arg type='^{__CFString=}' />
-  </function>
-  <function name='CFHTTPMessageCreateResponse'>
-    <retval type='^{__CFHTTPMessage=}' already_cfretained='true' />
-    <arg type='^{__CFAllocator=}' />
-    <arg type='l' type64='l' />
-    <arg type='^{__CFString=}' />
-    <arg type='^{__CFString=}' />
-  </function>
-  <function name='CFHTTPMessageGetResponseStatusCode'>
-    <retval type='l' type64='q' />
-    <arg type='^{__CFHTTPMessage=}' />
-  </function>
-  <function name='CFHTTPMessageGetTypeID'>
-    <retval type='L' type64='Q' />
-  </function>
-  <function name='CFHTTPMessageIsHeaderComplete'>
-    <retval type='B' />
-    <arg type='^{__CFHTTPMessage=}' />
-  </function>
-  <function name='CFHTTPMessageIsRequest'>
-    <retval type='B' />
-    <arg type='^{__CFHTTPMessage=}' />
-  </function>
-  <function name='CFHTTPMessageSetBody'>
-    <arg type='^{__CFHTTPMessage=}' />
-    <arg type='^{__CFData=}' />
-  </function>
-  <function name='CFHTTPMessageSetHeaderFieldValue'>
-    <arg type='^{__CFHTTPMessage=}' />
-    <arg type='^{__CFString=}' />
-    <arg type='^{__CFString=}' />
-  </function>
-  <function name='CFHTTPReadStreamSetProxy'>
-    <arg type='^{__CFReadStream=}' />
-    <arg type='^{__CFString=}' />
-    <arg type='l' type64='l' />
-  </function>
-  <function name='CFHTTPReadStreamSetRedirectsAutomatically'>
-    <arg type='^{__CFReadStream=}' />
-    <arg type='B' />
-  </function>
-  <function name='CFHostCancelInfoResolution'>
-    <arg type='^{__CFHost=}' />
-    <arg type='i' />
-  </function>
-  <function name='CFHostCreateCopy'>
-    <retval type='^{__CFHost=}' already_cfretained='true' />
-    <arg type='^{__CFAllocator=}' />
-    <arg type='^{__CFHost=}' />
-  </function>
-  <function name='CFHostCreateWithAddress'>
-    <retval type='^{__CFHost=}' already_cfretained='true' />
-    <arg type='^{__CFAllocator=}' />
-    <arg type='^{__CFData=}' />
-  </function>
-  <function name='CFHostCreateWithName'>
-    <retval type='^{__CFHost=}' already_cfretained='true' />
-    <arg type='^{__CFAllocator=}' />
-    <arg type='^{__CFString=}' />
-  </function>
-  <function name='CFHostGetAddressing'>
-    <retval type='^{__CFArray=}' />
-    <arg type='^{__CFHost=}' />
-    <arg type='o^B' />
-  </function>
-  <function name='CFHostGetNames'>
-    <retval type='^{__CFArray=}' />
-    <arg type='^{__CFHost=}' />
-    <arg type='o^B' />
-  </function>
-  <function name='CFHostGetReachability'>
-    <retval type='^{__CFData=}' />
-    <arg type='^{__CFHost=}' />
-    <arg type='o^B' />
-  </function>
-  <function name='CFHostGetTypeID'>
-    <retval type='L' type64='Q' />
-  </function>
-  <function name='CFHostScheduleWithRunLoop'>
-    <arg type='^{__CFHost=}' />
-    <arg type='^{__CFRunLoop=}' />
-    <arg type='^{__CFString=}' />
-  </function>
-  <function name='CFHostSetClient'>
-    <retval type='B' />
-    <arg type='^{__CFHost=}' />
-    <arg type='^?' />
-    <arg type='^{CFHostClientContext=l^v^?^?^?}' type64='^{CFHostClientContext=l^v^?^?^?}' />
-  </function>
-  <function name='CFHostStartInfoResolution'>
-    <retval type='B' />
-    <arg type='^{__CFHost=}' />
-    <arg type='i' />
-    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
-  </function>
-  <function name='CFHostUnscheduleFromRunLoop'>
-    <arg type='^{__CFHost=}' />
-    <arg type='^{__CFRunLoop=}' />
-    <arg type='^{__CFString=}' />
-  </function>
-  <function name='CFNetDiagnosticCopyNetworkStatusPassively'>
-    <retval type='l' />
-    <arg type='^{__CFNetDiagnostic=}' />
-    <arg type='^^{__CFString}' type_modifier='o' />
-  </function>
-  <function name='CFNetDiagnosticCreateWithStreams'>
-    <retval type='^{__CFNetDiagnostic=}' already_cfretained='true' />
-    <arg type='^{__CFAllocator=}' />
-    <arg type='^{__CFReadStream=}' />
-    <arg type='^{__CFWriteStream=}' />
-  </function>
-  <function name='CFNetDiagnosticCreateWithURL'>
-    <retval type='^{__CFNetDiagnostic=}' already_cfretained='true' />
-    <arg type='^{__CFAllocator=}' />
-    <arg type='^{__CFURL=}' />
-  </function>
-  <function name='CFNetDiagnosticDiagnoseProblemInteractively'>
-    <retval type='l' />
-    <arg type='^{__CFNetDiagnostic=}' />
-  </function>
-  <function name='CFNetDiagnosticSetName'>
-    <arg type='^{__CFNetDiagnostic=}' />
-    <arg type='^{__CFString=}' />
-  </function>
-  <function name='CFNetServiceBrowserCreate'>
-    <retval type='^{__CFNetServiceBrowser=}' already_cfretained='true' />
-    <arg type='^{__CFAllocator=}' />
-    <arg type='^?' />
-    <arg type='^{CFNetServiceClientContext=l^v^?^?^?}' type64='^{CFNetServiceClientContext=l^v^?^?^?}' />
-  </function>
-  <function name='CFNetServiceBrowserGetTypeID'>
-    <retval type='L' type64='Q' />
-  </function>
-  <function name='CFNetServiceBrowserInvalidate'>
-    <arg type='^{__CFNetServiceBrowser=}' />
-  </function>
-  <function name='CFNetServiceBrowserScheduleWithRunLoop'>
-    <arg type='^{__CFNetServiceBrowser=}' />
-    <arg type='^{__CFRunLoop=}' />
-    <arg type='^{__CFString=}' />
-  </function>
-  <function name='CFNetServiceBrowserSearchForDomains'>
-    <retval type='B' />
-    <arg type='^{__CFNetServiceBrowser=}' />
-    <arg type='B' />
-    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
-  </function>
-  <function name='CFNetServiceBrowserSearchForServices'>
-    <retval type='B' />
-    <arg type='^{__CFNetServiceBrowser=}' />
-    <arg type='^{__CFString=}' />
-    <arg type='^{__CFString=}' />
-    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
-  </function>
-  <function name='CFNetServiceBrowserStopSearch'>
-    <arg type='^{__CFNetServiceBrowser=}' />
-    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
-  </function>
-  <function name='CFNetServiceBrowserUnscheduleFromRunLoop'>
-    <arg type='^{__CFNetServiceBrowser=}' />
-    <arg type='^{__CFRunLoop=}' />
-    <arg type='^{__CFString=}' />
-  </function>
-  <function name='CFNetServiceCancel'>
-    <arg type='^{__CFNetService=}' />
-  </function>
-  <function name='CFNetServiceCreate'>
-    <retval type='^{__CFNetService=}' already_cfretained='true' />
-    <arg type='^{__CFAllocator=}' />
-    <arg type='^{__CFString=}' />
-    <arg type='^{__CFString=}' />
-    <arg type='^{__CFString=}' />
-    <arg type='l' type64='l' />
-  </function>
-  <function name='CFNetServiceCreateCopy'>
-    <retval type='^{__CFNetService=}' already_cfretained='true' />
-    <arg type='^{__CFAllocator=}' />
-    <arg type='^{__CFNetService=}' />
-  </function>
-  <function name='CFNetServiceCreateDictionaryWithTXTData'>
-    <retval type='^{__CFDictionary=}' already_cfretained='true' />
-    <arg type='^{__CFAllocator=}' />
-    <arg type='^{__CFData=}' />
-  </function>
-  <function name='CFNetServiceCreateTXTDataWithDictionary'>
-    <retval type='^{__CFData=}' already_cfretained='true' />
-    <arg type='^{__CFAllocator=}' />
-    <arg type='^{__CFDictionary=}' />
-  </function>
-  <function name='CFNetServiceGetAddressing'>
-    <retval type='^{__CFArray=}' />
-    <arg type='^{__CFNetService=}' />
-  </function>
-  <function name='CFNetServiceGetDomain'>
-    <retval type='^{__CFString=}' />
-    <arg type='^{__CFNetService=}' />
-  </function>
-  <function name='CFNetServiceGetName'>
-    <retval type='^{__CFString=}' />
-    <arg type='^{__CFNetService=}' />
-  </function>
-  <function name='CFNetServiceGetPortNumber'>
-    <retval type='l' type64='i' />
-    <arg type='^{__CFNetService=}' />
-  </function>
-  <function name='CFNetServiceGetProtocolSpecificInformation'>
-    <retval type='^{__CFString=}' />
-    <arg type='^{__CFNetService=}' />
-  </function>
-  <function name='CFNetServiceGetTXTData'>
-    <retval type='^{__CFData=}' />
-    <arg type='^{__CFNetService=}' />
-  </function>
-  <function name='CFNetServiceGetTargetHost'>
-    <retval type='^{__CFString=}' />
-    <arg type='^{__CFNetService=}' />
-  </function>
-  <function name='CFNetServiceGetType'>
-    <retval type='^{__CFString=}' />
-    <arg type='^{__CFNetService=}' />
-  </function>
-  <function name='CFNetServiceGetTypeID'>
-    <retval type='L' type64='Q' />
-  </function>
-  <function name='CFNetServiceMonitorCreate'>
-    <retval type='^{__CFNetServiceMonitor=}' already_cfretained='true' />
-    <arg type='^{__CFAllocator=}' />
-    <arg type='^{__CFNetService=}' />
-    <arg type='^?' />
-    <arg type='^{CFNetServiceClientContext=l^v^?^?^?}' type64='^{CFNetServiceClientContext=l^v^?^?^?}' />
-  </function>
-  <function name='CFNetServiceMonitorGetTypeID'>
-    <retval type='L' type64='Q' />
-  </function>
-  <function name='CFNetServiceMonitorInvalidate'>
-    <arg type='^{__CFNetServiceMonitor=}' />
-  </function>
-  <function name='CFNetServiceMonitorScheduleWithRunLoop'>
-    <arg type='^{__CFNetServiceMonitor=}' />
-    <arg type='^{__CFRunLoop=}' />
-    <arg type='^{__CFString=}' />
-  </function>
-  <function name='CFNetServiceMonitorStart'>
-    <retval type='B' />
-    <arg type='^{__CFNetServiceMonitor=}' />
-    <arg type='i' />
-    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
-  </function>
-  <function name='CFNetServiceMonitorStop'>
-    <arg type='^{__CFNetServiceMonitor=}' />
-    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
-  </function>
-  <function name='CFNetServiceMonitorUnscheduleFromRunLoop'>
-    <arg type='^{__CFNetServiceMonitor=}' />
-    <arg type='^{__CFRunLoop=}' />
-    <arg type='^{__CFString=}' />
-  </function>
-  <function name='CFNetServiceRegister'>
-    <retval type='B' />
-    <arg type='^{__CFNetService=}' />
-    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
-  </function>
-  <function name='CFNetServiceRegisterWithOptions'>
-    <retval type='B' />
-    <arg type='^{__CFNetService=}' />
-    <arg type='L' type64='L' />
-    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
-  </function>
-  <function name='CFNetServiceResolve'>
-    <retval type='B' />
-    <arg type='^{__CFNetService=}' />
-    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
-  </function>
-  <function name='CFNetServiceResolveWithTimeout'>
-    <retval type='B' />
-    <arg type='^{__CFNetService=}' />
-    <arg type='d' />
-    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
-  </function>
-  <function name='CFNetServiceScheduleWithRunLoop'>
-    <arg type='^{__CFNetService=}' />
-    <arg type='^{__CFRunLoop=}' />
-    <arg type='^{__CFString=}' />
-  </function>
-  <function name='CFNetServiceSetClient'>
-    <retval type='B' />
-    <arg type='^{__CFNetService=}' />
-    <arg type='^?' />
-    <arg type='^{CFNetServiceClientContext=l^v^?^?^?}' type64='^{CFNetServiceClientContext=l^v^?^?^?}' />
-  </function>
-  <function name='CFNetServiceSetProtocolSpecificInformation'>
-    <arg type='^{__CFNetService=}' />
-    <arg type='^{__CFString=}' />
-  </function>
-  <function name='CFNetServiceSetTXTData'>
-    <retval type='B' />
-    <arg type='^{__CFNetService=}' />
-    <arg type='^{__CFData=}' />
-  </function>
-  <function name='CFNetServiceUnscheduleFromRunLoop'>
-    <arg type='^{__CFNetService=}' />
-    <arg type='^{__CFRunLoop=}' />
-    <arg type='^{__CFString=}' />
-  </function>
-  <function name='CFNetworkCopyProxiesForAutoConfigurationScript'>
-    <retval type='^{__CFArray=}' already_cfretained='true' />
-    <arg type='^{__CFString=}' />
-    <arg type='^{__CFURL=}' />
-    <arg type='^^{__CFError}' type_modifier='o' />
-  </function>
-  <function name='CFNetworkCopyProxiesForURL'>
-    <retval type='^{__CFArray=}' already_cfretained='true' />
-    <arg type='^{__CFURL=}' />
-    <arg type='^{__CFDictionary=}' />
-  </function>
-  <function name='CFNetworkCopySystemProxySettings'>
-    <retval type='^{__CFDictionary=}' already_cfretained='true' />
-  </function>
-  <function name='CFReadStreamCreateForHTTPRequest'>
-    <retval type='^{__CFReadStream=}' already_cfretained='true' />
-    <arg type='^{__CFAllocator=}' />
-    <arg type='^{__CFHTTPMessage=}' />
-  </function>
-  <function name='CFReadStreamCreateForStreamedHTTPRequest'>
-    <retval type='^{__CFReadStream=}' already_cfretained='true' />
-    <arg type='^{__CFAllocator=}' />
-    <arg type='^{__CFHTTPMessage=}' />
-    <arg type='^{__CFReadStream=}' />
-  </function>
-  <function name='CFReadStreamCreateWithFTPURL'>
-    <retval type='^{__CFReadStream=}' already_cfretained='true' />
-    <arg type='^{__CFAllocator=}' />
-    <arg type='^{__CFURL=}' />
-  </function>
-  <function name='CFSocketStreamPairSetSecurityProtocol'>
-    <retval type='B' />
-    <arg type='^{__CFReadStream=}' />
-    <arg type='^{__CFWriteStream=}' />
-    <arg type='i' />
-  </function>
-  <function name='CFStreamCreatePairWithSocketToCFHost'>
-    <arg type='^{__CFAllocator=}' />
-    <arg type='^{__CFHost=}' />
-    <arg type='l' type64='l' />
-    <arg type='^^{__CFReadStream}' already_cfretained='true' type_modifier='o' />
-    <arg type='^^{__CFWriteStream}' already_cfretained='true' type_modifier='o' />
-  </function>
-  <function name='CFStreamCreatePairWithSocketToNetService'>
-    <arg type='^{__CFAllocator=}' />
-    <arg type='^{__CFNetService=}' />
-    <arg type='^^{__CFReadStream}' already_cfretained='true' type_modifier='o' />
-    <arg type='^^{__CFWriteStream}' already_cfretained='true' type_modifier='o' />
-  </function>
-  <function name='CFWriteStreamCreateWithFTPURL'>
-    <retval type='^{__CFWriteStream=}' already_cfretained='true' />
-    <arg type='^{__CFAllocator=}' />
-    <arg type='^{__CFURL=}' />
-  </function>
-  <function inline='true' name='CFSocketStreamSOCKSGetError'>
-    <retval type='l' type64='i' />
-    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
-  </function>
-  <function inline='true' name='CFSocketStreamSOCKSGetErrorSubdomain'>
-    <retval type='l' type64='i' />
-    <arg type='^{_CFStreamError=ii}' type64='^{_CFStreamError=qi}' type_modifier='o' />
-  </function>
-</signatures>

pyobjc-framework-CFNetwork/Lib/CFNetwork/__init__.py

 documentation for details on how to use these functions and classes. 
 '''
 
-from CoreFoundation import *
+import sys
+import objc
+import CoreFoundation
 
-__bundle__ = objc.initFrameworkWrapper("CFNetwork",
-    frameworkIdentifier="com.apple.CFNetwork",
-    frameworkPath=objc.pathForFramework(
-        "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework"),
-    globals=globals())
+from CFNetwork import _metadata
 
 def CFSocketStreamSOCKSGetError(err):
     return err.error & 0xFFFF
 def CFSocketStreamSOCKSGetErrorSubdomain(err):
     return (err.error >> 16) & 0xFFFF
 
-from CFNetwork._manual import *
+sys.modules['CFNetwork'] = mod = objc.ObjCLazyModule(
+    "CFNetwork", "com.apple.CFNetwork",
+    objc.pathForFramework("/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework"),
+    _metadata.__dict__, None, {
+        '__doc__': __doc__,
+        'objc': objc,
+        '__path__': __path__,
+        'CFSocketStreamSOCKSGetError': CFSocketStreamSOCKSGetError,
+        'CFSocketStreamSOCKSGetErrorSubdomain': CFSocketStreamSOCKSGetErrorSubdomain,
+    }, (CoreFoundation,))
+
+
+import CFNetwork._manual
+for nm in dir(CFNetwork._manual):
+    setattr(mod, nm, getattr(CFNetwork._manual, nm))

pyobjc-framework-CFNetwork/Lib/CFNetwork/_metadata.py

+# Generated file, don't edit
+# Source: BridgeSupport/CFNetwork.bridgesupport
+# Last update: Sun Jul 17 21:23:35 2011
+
+import objc, sys
+
+if sys.maxint > 2 ** 32:
+    def sel32or64(a, b): return b
+else:
+    def sel32or64(a, b): return a
+if sys.byteorder == 'little':
+    def littleOrBig(a, b): return a
+else:
+    def littleOrBig(a, b): return b
+
+misc = {
+}
+constants = '''$kCFStreamPropertySSLPeerCertificates$kCFStreamPropertySSLPeerTrust$kCFNetworkProxiesSOCKSEnable$kCFNetworkProxiesSOCKSPort$kCFNetworkProxiesSOCKSProxy$kCFNetworkProxiesHTTPSEnable$kCFNetworkProxiesHTTPSPort$kCFNetworkProxiesHTTPSProxy$kCFNetworkProxiesRTSPEnable$kCFNetworkProxiesRTSPPort$kCFNetworkProxiesRTSPProxy$kCFNetworkProxiesFTPProxy$kCFNetworkProxiesFTPPort$kCFNetworkProxiesFTPPassive$kCFNetworkProxiesFTPEnable$kCFNetworkProxiesExcludeSimpleHostnames$kCFNetworkProxiesExceptionsList$kCFNetworkProxiesGopherEnable$kCFNetworkProxiesGopherPort$kCFNetworkProxiesGopherProxy$kCFProxyAutoConfigurationHTTPResponseKey$kCFURLErrorFailingURLErrorKey$kCFURLErrorFailingURLStringErrorKey$kCFStreamErrorDomainMach@i$kCFStreamErrorDomainFTP@i$kCFStreamErrorDomainSOCKS@i$kCFStreamErrorDomainSSL@i$kCFStreamErrorDomainHTTP@i$kCFStreamErrorDomainNetDB@i$kCFStreamErrorDomainSystemConfiguration@i$kCFStreamErrorDomainNetServices@i$kCFProxyTypeKey@^{__CFString=}$kCFProxyHostNameKey@^{__CFString=}$kCFProxyPortNumberKey@^{__CFString=}$kCFProxyAutoConfigurationURLKey@^{__CFString=}$kCFProxyUsernameKey@^{__CFString=}$kCFProxyPasswordKey@^{__CFString=}$kCFProxyTypeNone@^{__CFString=}$kCFProxyTypeHTTP@^{__CFString=}$kCFProxyTypeHTTPS@^{__CFString=}$kCFProxyTypeSOCKS@^{__CFString=}$kCFProxyTypeFTP@^{__CFString=}$kCFProxyTypeAutoConfigurationURL@^{__CFString=}$kCFNetworkProxiesHTTPEnable@^{__CFString=}$kCFNetworkProxiesHTTPPort@^{__CFString=}$kCFNetworkProxiesHTTPProxy@^{__CFString=}$kCFNetworkProxiesProxyAutoConfigEnable@^{__CFString=}$kCFNetworkProxiesProxyAutoConfigURLString@^{__CFString=}$kCFErrorDomainCFNetwork@^{__CFString=}$kCFErrorDomainWinSock@^{__CFString=}$kCFGetAddrInfoFailureKey@^{__CFString=}$kCFSOCKSStatusCodeKey@^{__CFString=}$kCFSOCKSVersionKey@^{__CFString=}$kCFSOCKSNegotiationMethodKey@^{__CFString=}$kCFDNSServiceFailureKey@^{__CFString=}$kCFFTPStatusCodeKey@^{__CFString=}$kCFStreamPropertyHTTPResponseHeader@^{__CFString=}$kCFStreamPropertyHTTPFinalURL@^{__CFString=}$kCFStreamPropertyHTTPFinalRequest@^{__CFString=}$kCFStreamPropertyHTTPProxy@^{__CFString=}$kCFStreamPropertyHTTPProxyHost@^{__CFString=}$kCFStreamPropertyHTTPProxyPort@^{__CFString=}$kCFStreamPropertyHTTPSProxyHost@^{__CFString=}$kCFStreamPropertyHTTPSProxyPort@^{__CFString=}$kCFHTTPAuthenticationUsername@^{__CFString=}$kCFHTTPAuthenticationPassword@^{__CFString=}$kCFHTTPAuthenticationAccountDomain@^{__CFString=}$kCFStreamPropertyHTTPShouldAutoredirect@^{__CFString=}$kCFStreamPropertyHTTPAttemptPersistentConnection@^{__CFString=}$kCFStreamPropertyHTTPRequestBytesWrittenCount@^{__CFString=}$kCFStreamPropertyFTPUserName@^{__CFString=}$kCFStreamPropertyFTPPassword@^{__CFString=}$kCFStreamPropertyFTPUsePassiveMode@^{__CFString=}$kCFStreamPropertyFTPResourceSize@^{__CFString=}$kCFStreamPropertyFTPFetchResourceInfo@^{__CFString=}$kCFStreamPropertyFTPFileTransferOffset@^{__CFString=}$kCFStreamPropertyFTPAttemptPersistentConnection@^{__CFString=}$kCFStreamPropertyFTPProxy@^{__CFString=}$kCFStreamPropertyFTPProxyHost@^{__CFString=}$kCFStreamPropertyFTPProxyPort@^{__CFString=}$kCFStreamPropertyFTPProxyUser@^{__CFString=}$kCFStreamPropertyFTPProxyPassword@^{__CFString=}$kCFHTTPVersion1_0@^{__CFString=}$kCFHTTPVersion1_1@^{__CFString=}$kCFHTTPAuthenticationSchemeBasic@^{__CFString=}$kCFHTTPAuthenticationSchemeDigest@^{__CFString=}$kCFHTTPAuthenticationSchemeNTLM@^{__CFString=}$kCFHTTPAuthenticationSchemeNegotiate@^{__CFString=}$kCFFTPResourceMode@^{__CFString=}$kCFFTPResourceName@^{__CFString=}$kCFFTPResourceOwner@^{__CFString=}$kCFFTPResourceGroup@^{__CFString=}$kCFFTPResourceLink@^{__CFString=}$kCFFTPResourceSize@^{__CFString=}$kCFFTPResourceType@^{__CFString=}$kCFFTPResourceModDate@^{__CFString=}$kCFStreamPropertySOCKSPassword@^{__CFString=}$kCFStreamPropertySOCKSProxy@^{__CFString=}$kCFStreamPropertySOCKSProxyHost@^{__CFString=}$kCFStreamPropertySOCKSProxyPort@^{__CFString=}$kCFStreamPropertySOCKSUser@^{__CFString=}$kCFStreamPropertySOCKSVersion@^{__CFString=}$kCFStreamPropertyShouldCloseNativeSocket@^{__CFString=}$kCFStreamPropertySocketSecurityLevel@^{__CFString=}$kCFStreamSocketSOCKSVersion4@^{__CFString=}$kCFStreamSocketSOCKSVersion5@^{__CFString=}$kCFStreamSocketSecurityLevelNegotiatedSSL@^{__CFString=}$kCFStreamSocketSecurityLevelNone@^{__CFString=}$kCFStreamSocketSecurityLevelSSLv2@^{__CFString=}$kCFStreamSocketSecurityLevelSSLv3@^{__CFString=}$kCFStreamSocketSecurityLevelTLSv1@^{__CFString=}$kCFStreamPropertySOCKSProxyHost@^{__CFString=}$kCFStreamPropertySOCKSProxyPort@^{__CFString=}$kCFStreamPropertySOCKSVersion@^{__CFString=}$kCFStreamSocketSOCKSVersion4@^{__CFString=}$kCFStreamSocketSOCKSVersion5@^{__CFString=}$kCFStreamPropertySOCKSUser@^{__CFString=}$kCFStreamPropertySOCKSPassword@^{__CFString=}$kCFStreamPropertySocketSecurityLevel@^{__CFString=}$kCFStreamSocketSecurityLevelNone@^{__CFString=}$kCFStreamSocketSecurityLevelSSLv2@^{__CFString=}$kCFStreamSocketSecurityLevelSSLv3@^{__CFString=}$kCFStreamSocketSecurityLevelTLSv1@^{__CFString=}$kCFStreamSocketSecurityLevelNegotiatedSSL@^{__CFString=}$kCFStreamPropertyShouldCloseNativeSocket@^{__CFString=}$kCFStreamPropertySocketRemoteHost@^{__CFString=}$kCFStreamPropertySocketRemoteNetService@^{__CFString=}$kCFStreamPropertySSLPeerCertificates@^{__CFString=}$kCFStreamPropertySSLSettings@^{__CFString=}$kCFStreamSSLLevel@^{__CFString=}$kCFStreamSSLAllowsExpiredCertificates@^{__CFString=}$kCFStreamSSLAllowsExpiredRoots@^{__CFString=}$kCFStreamSSLAllowsAnyRoot@^{__CFString=}$kCFStreamSSLValidatesCertificateChain@^{__CFString=}$kCFStreamSSLPeerName@^{__CFString=}$kCFStreamSSLCertificates@^{__CFString=}$kCFStreamSSLIsServer@^{__CFString=}$kCFStreamErrorDomainWinSock@i$kCFStreamPropertyProxyLocalBypass@^{__CFString=}$'''
+enums = '''$kCFErrorHTTPAuthenticationTypeUnsupported@300$kCFErrorHTTPBadCredentials@301$kCFErrorHTTPBadProxyCredentials@307$kCFErrorHTTPBadURL@305$kCFErrorHTTPConnectionLost@302$kCFErrorHTTPParseFailure@303$kCFErrorHTTPProxyConnectionFailure@306$kCFErrorHTTPRedirectionLoopDetected@304$kCFErrorPACFileError@308$kCFErrorPACFileAuth@309$kCFErrorHTTPSProxyConnectionFailure@310$kCFURLErrorUnknown@-998$kCFURLErrorCancelled@-999$kCFURLErrorBadURL@-1000$kCFURLErrorTimedOut@-1001$kCFURLErrorUnsupportedURL@-1002$kCFURLErrorCannotFindHost@-1003$kCFURLErrorCannotConnectToHost@-1004$kCFURLErrorNetworkConnectionLost@-1005$kCFURLErrorDNSLookupFailed@-1006$kCFURLErrorHTTPTooManyRedirects@-1007$kCFURLErrorResourceUnavailable@-1008$kCFURLErrorNotConnectedToInternet@-1009$kCFURLErrorRedirectToNonExistentLocation@-1010$kCFURLErrorBadServerResponse@-1011$kCFURLErrorUserCancelledAuthentication@-1012$kCFURLErrorUserAuthenticationRequired@-1013$kCFURLErrorZeroByteResource@-1014$kCFURLErrorCannotDecodeRawData@-1015$kCFURLErrorCannotDecodeContentData@-1016$kCFURLErrorCannotParseResponse@-1017$kCFURLErrorInternationalRoamingOff@-1018$kCFURLErrorCallIsActive@-1019$kCFURLErrorDataNotAllowed@-1020$kCFURLErrorRequestBodyStreamExhausted@-1021$kCFURLErrorFileDoesNotExist@-1100$kCFURLErrorFileIsDirectory@-1101$kCFURLErrorNoPermissionsToReadFile@-1102$kCFURLErrorDataLengthExceedsMaximum@-1103$kCFURLErrorSecureConnectionFailed@-1200$kCFURLErrorServerCertificateHasBadDate@-1201$kCFURLErrorServerCertificateUntrusted@-1202$kCFURLErrorServerCertificateHasUnknownRoot@-1203$kCFURLErrorServerCertificateNotYetValid@-1204$kCFURLErrorClientCertificateRejected@-1205$kCFURLErrorClientCertificateRequired@-1206$kCFURLErrorCannotLoadFromNetwork@-2000$kCFURLErrorCannotCreateFile@-3000$kCFURLErrorCannotOpenFile@-3001$kCFURLErrorCannotCloseFile@-3002$kCFURLErrorCannotWriteToFile@-3003$kCFURLErrorCannotRemoveFile@-3004$kCFURLErrorCannotMoveFile@-3005$kCFURLErrorDownloadDecodingFailedMidStream@-3006$kCFURLErrorDownloadDecodingFailedToComplete@-3007$kCFHTTPCookieCannotParseCookieFile@-4000$kCFFTPErrorUnexpectedStatusCode@200$kCFHostAddresses@0$kCFHostErrorHostNotFound@1$kCFHostErrorUnknown@2$kCFHostNames@1$kCFHostReachability@2$kCFNetDiagnosticConnectionDown@-66557$kCFNetDiagnosticConnectionIndeterminate@-66558$kCFNetDiagnosticConnectionUp@-66559$kCFNetDiagnosticErr@-66560$kCFNetDiagnosticNoErr@0$kCFNetServiceErrorBadArgument@-72004$kCFNetServiceErrorCancel@-72005$kCFNetServiceErrorCollision@-72001$kCFNetServiceErrorDNSServiceFailure@-73000$kCFNetServiceErrorInProgress@-72003$kCFNetServiceErrorInvalid@-72006$kCFNetServiceErrorNotFound@-72002$kCFNetServiceErrorTimeout@-72007$kCFNetServiceErrorUnknown@-72000$kCFNetServiceFlagIsDefault@4$kCFNetServiceFlagIsDomain@2$kCFNetServiceFlagIsRegistrationDomain@4$kCFNetServiceFlagMoreComing@1$kCFNetServiceFlagNoAutoRename@1$kCFNetServiceFlagRemove@8$kCFNetServiceMonitorTXT@1$kCFNetServicesErrorBadArgument@-72004$kCFNetServicesErrorCancel@-72005$kCFNetServicesErrorCollision@-72001$kCFNetServicesErrorInProgress@-72003$kCFNetServicesErrorInvalid@-72006$kCFNetServicesErrorNotFound@-72002$kCFNetServicesErrorTimeout@-72007$kCFNetServicesErrorUnknown@-72000$kCFSOCKS4ErrorIdConflict@112$kCFSOCKS4ErrorIdentdFailed@111$kCFSOCKS4ErrorRequestFailed@110$kCFSOCKS4ErrorUnknownStatusCode@113$kCFSOCKS5ErrorBadCredentials@122$kCFSOCKS5ErrorBadResponseAddr@121$kCFSOCKS5ErrorBadState@120$kCFSOCKS5ErrorNoAcceptableMethod@124$kCFSOCKS5ErrorUnsupportedNegotiationMethod@123$kCFSOCKSErrorUnknownClientVersion@100$kCFSOCKSErrorUnsupportedServerVersion@101$kCFStreamErrorHTTPAuthenticationBadPassword@-1002$kCFStreamErrorHTTPAuthenticationBadUserName@-1001$kCFStreamErrorHTTPAuthenticationTypeUnsupported@-1000$kCFStreamErrorHTTPBadURL@-3$kCFStreamErrorHTTPParseFailure@-1$kCFStreamErrorHTTPRedirectionLoop@-2$kCFStreamErrorSOCKS4IdConflict@93$kCFStreamErrorSOCKS4IdentdFailed@92$kCFStreamErrorSOCKS4RequestFailed@91$kCFStreamErrorSOCKS4SubDomainResponse@2$kCFStreamErrorSOCKS5BadResponseAddr@1$kCFStreamErrorSOCKS5BadState@2$kCFStreamErrorSOCKS5SubDomainMethod@4$kCFStreamErrorSOCKS5SubDomainResponse@5$kCFStreamErrorSOCKS5SubDomainUserPass@3$kCFStreamErrorSOCKSSubDomainNone@0$kCFStreamErrorSOCKSSubDomainVersionCode@1$kCFStreamErrorSOCKSUnknownClientVersion@3$kCFStreamSocketSecurityNone@0$kCFStreamSocketSecuritySSLv2@1$kCFStreamSocketSecuritySSLv23@3$kCFStreamSocketSecuritySSLv3@2$kCFStreamSocketSecurityTLSv1@4$kSOCKS5NoAcceptableMethod@255$'''
+misc.update({})
+functions = {'CFHTTPAuthenticationRequiresOrderedRequests': ('Z^{_CFHTTPAuthentication=}',), 'CFHTTPAuthenticationCreateFromResponse': ('^{_CFHTTPAuthentication=}^{__CFAllocator=}^{__CFHTTPMessage=}', '', {'retval': {'type': b'^{_CFHTTPAuthentication=}', 'already_cfretained': True}}), 'CFNetServiceBrowserGetTypeID': (sel32or64('L', 'Q'),), 'CFHostCreateWithName': ('^{__CFHost=}^{__CFAllocator=}^{__CFString=}', '', {'retval': {'type': b'^{__CFHost=}', 'already_cfretained': True}}), 'CFSocketStreamPairSetSecurityProtocol': ('Z^{__CFReadStream=}^{__CFWriteStream=}i',), 'CFHostGetAddressing': ('^{__CFArray=}^{__CFHost=}o^Z',), 'CFHTTPMessageSetBody': ('v^{__CFHTTPMessage=}^{__CFData=}',), 'CFHTTPAuthenticationGetTypeID': (sel32or64('L', 'Q'),), 'CFNetDiagnosticCreateWithStreams': ('^{__CFNetDiagnostic=}^{__CFAllocator=}^{__CFReadStream=}^{__CFWriteStream=}', '', {'retval': {'type': b'^{__CFNetDiagnostic=}', 'already_cfretained': True}}), 'CFSocketStreamSOCKSGetError': (sel32or64('l^{_CFStreamError=ii}', 'i^{_CFStreamError=qi}'), '', {'arguments': {0: {'type': sel32or64(b'^{_CFStreamError=ii}', b'^{_CFStreamError=qi}'), 'type_modifier': b'o'}}}), 'CFHostCreateWithAddress': ('^{__CFHost=}^{__CFAllocator=}^{__CFData=}', '', {'retval': {'type': b'^{__CFHost=}', 'already_cfretained': True}}), 'CFNetServiceBrowserSearchForDomains': (sel32or64('Z^{__CFNetServiceBrowser=}Z^{_CFStreamError=ii}', 'Z^{__CFNetServiceBrowser=}Z^{_CFStreamError=qi}'), '', {'arguments': {0: {'type': b'^{__CFNetServiceBrowser=}'}, 1: {'type': b'Z'}, 2: {'type': sel32or64(b'^{_CFStreamError=ii}', b'^{_CFStreamError=qi}'), 'type_modifier': b'o'}}}), 'CFNetServiceUnscheduleFromRunLoop': ('v^{__CFNetService=}^{__CFRunLoop=}^{__CFString=}',), 'CFNetServiceMonitorStop': (sel32or64('v^{__CFNetServiceMonitor=}^{_CFStreamError=ii}', 'v^{__CFNetServiceMonitor=}^{_CFStreamError=qi}'), '', {'arguments': {0: {'type': b'^{__CFNetServiceMonitor=}'}, 1: {'type': sel32or64(b'^{_CFStreamError=ii}', b'^{_CFStreamError=qi}'), 'type_modifier': b'o'}}}), 'CFNetworkCopySystemProxySettings': ('^{__CFDictionary=}', '', {'retval': {'type': b'^{__CFDictionary=}', 'already_cfretained': True}}), 'CFHostGetReachability': ('^{__CFData=}^{__CFHost=}o^Z',), 'CFHTTPMessageIsHeaderComplete': ('Z^{__CFHTTPMessage=}',), 'CFHTTPMessageGetTypeID': (sel32or64('L', 'Q'),), 'CFNetServiceMonitorGetTypeID': (sel32or64('L', 'Q'),), 'CFNetServiceGetPortNumber': (sel32or64('l^{__CFNetService=}', 'i^{__CFNetService=}'),), 'CFHTTPMessageCreateRequest': ('^{__CFHTTPMessage=}^{__CFAllocator=}^{__CFString=}^{__CFURL=}^{__CFString=}', '', {'retval': {'type': b'^{__CFHTTPMessage=}', 'already_cfretained': True}}), 'CFNetServiceCreateCopy': ('^{__CFNetService=}^{__CFAllocator=}^{__CFNetService=}', '', {'retval': {'type': b'^{__CFNetService=}', 'already_cfretained': True}}), 'CFNetServiceGetName': ('^{__CFString=}^{__CFNetService=}',), 'CFHTTPMessageCopyRequestMethod': ('^{__CFString=}^{__CFHTTPMessage=}', '', {'retval': {'type': b'^{__CFString=}', 'already_cfretained': True}}), 'CFHTTPAuthenticationCopyRealm': ('^{__CFString=}^{_CFHTTPAuthentication=}', '', {'retval': {'type': b'^{__CFString=}', 'already_cfretained': True}}), 'CFNetServiceMonitorInvalidate': ('v^{__CFNetServiceMonitor=}',), 'CFNetServiceGetProtocolSpecificInformation': ('^{__CFString=}^{__CFNetService=}',), 'CFNetServiceCancel': ('v^{__CFNetService=}',), 'CFNetServiceMonitorCreate': ('^{__CFNetServiceMonitor=}^{__CFAllocator=}^{__CFNetService=}^?^{CFNetServiceClientContext=l^v^?^?^?}', '', {'retval': {'type': b'^{__CFNetServiceMonitor=}', 'already_cfretained': True}}), 'CFWriteStreamCreateWithFTPURL': ('^{__CFWriteStream=}^{__CFAllocator=}^{__CFURL=}', '', {'retval': {'type': b'^{__CFWriteStream=}', 'already_cfretained': True}}), 'CFNetServiceBrowserUnscheduleFromRunLoop': ('v^{__CFNetServiceBrowser=}^{__CFRunLoop=}^{__CFString=}',), 'CFHTTPMessageCopyRequestURL': ('^{__CFURL=}^{__CFHTTPMessage=}', '', {'retval': {'type': b'^{__CFURL=}', 'already_cfretained': True}}), 'CFHTTPMessageCopyVersion': ('^{__CFString=}^{__CFHTTPMessage=}', '', {'retval': {'type': b'^{__CFString=}', 'already_cfretained': True}}), 'CFNetServiceCreate': ('^{__CFNetService=}^{__CFAllocator=}^{__CFString=}^{__CFString=}^{__CFString=}l', '', {'retval': {'type': b'^{__CFNetService=}', 'already_cfretained': True}}), 'CFNetServiceMonitorUnscheduleFromRunLoop': ('v^{__CFNetServiceMonitor=}^{__CFRunLoop=}^{__CFString=}',), 'CFHostScheduleWithRunLoop': ('v^{__CFHost=}^{__CFRunLoop=}^{__CFString=}',), 'CFNetServiceMonitorStart': (sel32or64('Z^{__CFNetServiceMonitor=}i^{_CFStreamError=ii}', 'Z^{__CFNetServiceMonitor=}i^{_CFStreamError=qi}'), '', {'arguments': {0: {'type': b'^{__CFNetServiceMonitor=}'}, 1: {'type': b'i'}, 2: {'type': sel32or64(b'^{_CFStreamError=ii}', b'^{_CFStreamError=qi}'), 'type_modifier': b'o'}}}), 'CFHostGetNames': ('^{__CFArray=}^{__CFHost=}o^Z',), 'CFNetDiagnosticCopyNetworkStatusPassively': ('l^{__CFNetDiagnostic=}^^{__CFString}', '', {'arguments': {0: {'type': b'^{__CFNetDiagnostic=}'}, 1: {'type': b'^^{__CFString}', 'type_modifier': b'o'}}}), 'CFHTTPMessageCopyResponseStatusLine': ('^{__CFString=}^{__CFHTTPMessage=}', '', {'retval': {'type': b'^{__CFString=}', 'already_cfretained': True}}), 'CFNetDiagnosticDiagnoseProblemInteractively': ('l^{__CFNetDiagnostic=}',), 'CFHTTPMessageAddAuthentication': ('Z^{__CFHTTPMessage=}^{__CFHTTPMessage=}^{__CFString=}^{__CFString=}^{__CFString=}Z',), 'CFNetDiagnosticCreateWithURL': ('^{__CFNetDiagnostic=}^{__CFAllocator=}^{__CFURL=}', '', {'retval': {'type': b'^{__CFNetDiagnostic=}', 'already_cfretained': True}}), 'CFNetServiceGetDomain': ('^{__CFString=}^{__CFNetService=}',), 'CFFTPCreateParsedResourceListing': (sel32or64('l^{__CFAllocator=}^vl^^{__CFDictionary}', 'q^{__CFAllocator=}^vl^^{__CFDictionary}'), '', {'arguments': {0: {'type': b'^{__CFAllocator=}'}, 1: {'type': b'^v', 'type_modifier': b'n', 'c_array_length_in_arg': 2}, 2: {'type': b'l'}, 3: {'type': b'^^{__CFDictionary}', 'type_modifier': b'o'}}}), 'CFNetServiceGetTypeID': (sel32or64('L', 'Q'),), 'CFHTTPMessageCreateEmpty': ('^{__CFHTTPMessage=}^{__CFAllocator=}Z', '', {'retval': {'type': b'^{__CFHTTPMessage=}', 'already_cfretained': True}}), 'CFHTTPMessageAppendBytes': ('Z^{__CFHTTPMessage=}^vl', '', {'arguments': {0: {'type': b'^{__CFHTTPMessage=}'}, 1: {'type': b'^v', 'type_modifier': b'n', 'c_array_length_in_arg': 2}, 2: {'type': b'l'}}}), 'CFHostCancelInfoResolution': ('v^{__CFHost=}i',), 'CFNetServiceBrowserSearchForServices': (sel32or64('Z^{__CFNetServiceBrowser=}^{__CFString=}^{__CFString=}^{_CFStreamError=ii}', 'Z^{__CFNetServiceBrowser=}^{__CFString=}^{__CFString=}^{_CFStreamError=qi}'), '', {'arguments': {0: {'type': b'^{__CFNetServiceBrowser=}'}, 1: {'type': b'^{__CFString=}'}, 2: {'type': b'^{__CFString=}'}, 3: {'type': sel32or64(b'^{_CFStreamError=ii}', b'^{_CFStreamError=qi}'), 'type_modifier': b'o'}}}), 'CFHTTPAuthenticationIsValid': (sel32or64('Z^{_CFHTTPAuthentication=}^{_CFStreamError=ii}', 'Z^{_CFHTTPAuthentication=}^{_CFStreamError=qi}'), '', {'arguments': {0: {'type': b'^{_CFHTTPAuthentication=}'}, 1: {'type': sel32or64(b'^{_CFStreamError=ii}', b'^{_CFStreamError=qi}'), 'type_modifier': b'o'}}}), 'CFHTTPReadStreamSetProxy': ('v^{__CFReadStream=}^{__CFString=}l',), 'CFHTTPAuthenticationAppliesToRequest': ('Z^{_CFHTTPAuthentication=}^{__CFHTTPMessage=}',), 'CFNetServiceBrowserInvalidate': ('v^{__CFNetServiceBrowser=}',), 'CFNetServiceGetAddressing': ('^{__CFArray=}^{__CFNetService=}',), 'CFHTTPMessageSetHeaderFieldValue': ('v^{__CFHTTPMessage=}^{__CFString=}^{__CFString=}',), 'CFNetServiceBrowserStopSearch': (sel32or64('v^{__CFNetServiceBrowser=}^{_CFStreamError=ii}', 'v^{__CFNetServiceBrowser=}^{_CFStreamError=qi}'), '', {'arguments': {0: {'type': b'^{__CFNetServiceBrowser=}'}, 1: {'type': sel32or64(b'^{_CFStreamError=ii}', b'^{_CFStreamError=qi}'), 'type_modifier': b'o'}}}), 'CFHTTPMessageApplyCredentials': (sel32or64('Z^{__CFHTTPMessage=}^{_CFHTTPAuthentication=}^{__CFString=}^{__CFString=}^{_CFStreamError=ii}', 'Z^{__CFHTTPMessage=}^{_CFHTTPAuthentication=}^{__CFString=}^{__CFString=}^{_CFStreamError=qi}'), '', {'arguments': {0: {'type': b'^{__CFHTTPMessage=}'}, 1: {'type': b'^{_CFHTTPAuthentication=}'}, 2: {'type': b'^{__CFString=}'}, 3: {'type': b'^{__CFString=}'}, 4: {'type': sel32or64(b'^{_CFStreamError=ii}', b'^{_CFStreamError=qi}'), 'type_modifier': b'o'}}}), 'CFHTTPReadStreamSetRedirectsAutomatically': ('v^{__CFReadStream=}Z',), 'CFNetServiceRegisterWithOptions': (sel32or64('Z^{__CFNetService=}L^{_CFStreamError=ii}', 'Z^{__CFNetService=}L^{_CFStreamError=qi}'), '', {'arguments': {0: {'type': b'^{__CFNetService=}'}, 1: {'type': b'L'}, 2: {'type': sel32or64(b'^{_CFStreamError=ii}', b'^{_CFStreamError=qi}'), 'type_modifier': b'o'}}}), 'CFHTTPAuthenticationCopyMethod': ('^{__CFString=}^{_CFHTTPAuthentication=}', '', {'retval': {'type': b'^{__CFString=}', 'already_cfretained': True}}), 'CFNetServiceBrowserCreate': ('^{__CFNetServiceBrowser=}^{__CFAllocator=}^?^{CFNetServiceClientContext=l^v^?^?^?}', '', {'retval': {'type': b'^{__CFNetServiceBrowser=}', 'already_cfretained': True}}), 'CFNetServiceGetTargetHost': ('^{__CFString=}^{__CFNetService=}',), 'CFNetworkCopyProxiesForAutoConfigurationScript': ('^{__CFArray=}^{__CFString=}^{__CFURL=}^^{__CFError}', '', {'retval': {'type': b'^{__CFArray=}', 'already_cfretained': True}, 'arguments': {0: {'type': b'^{__CFString=}'}, 1: {'type': b'^{__CFURL=}'}, 2: {'type': b'^^{__CFError}', 'type_modifier': b'o'}}}), 'CFNetServiceCreateDictionaryWithTXTData': ('^{__CFDictionary=}^{__CFAllocator=}^{__CFData=}', '', {'retval': {'type': b'^{__CFDictionary=}', 'already_cfretained': True}}), 'CFNetServiceRegister': (sel32or64('Z^{__CFNetService=}^{_CFStreamError=ii}', 'Z^{__CFNetService=}^{_CFStreamError=qi}'), '', {'arguments': {0: {'type': b'^{__CFNetService=}'}, 1: {'type': sel32or64(b'^{_CFStreamError=ii}', b'^{_CFStreamError=qi}'), 'type_modifier': b'o'}}}), 'CFHTTPMessageCopySerializedMessage': ('^{__CFData=}^{__CFHTTPMessage=}', '', {'retval': {'type': b'^{__CFData=}', 'already_cfretained': True}}), 'CFHostCreateCopy': ('^{__CFHost=}^{__CFAllocator=}^{__CFHost=}', '', {'retval': {'type': b'^{__CFHost=}', 'already_cfretained': True}}), 'CFHTTPAuthenticationRequiresAccountDomain': ('Z^{_CFHTTPAuthentication=}',), 'CFNetServiceSetTXTData': ('Z^{__CFNetService=}^{__CFData=}',), 'CFNetworkCopyProxiesForURL': ('^{__CFArray=}^{__CFURL=}^{__CFDictionary=}', '', {'retval': {'type': b'^{__CFArray=}', 'already_cfretained': True}}), 'CFReadStreamCreateForStreamedHTTPRequest': ('^{__CFReadStream=}^{__CFAllocator=}^{__CFHTTPMessage=}^{__CFReadStream=}', '', {'retval': {'type': b'^{__CFReadStream=}', 'already_cfretained': True}}), 'CFReadStreamCreateForHTTPRequest': ('^{__CFReadStream=}^{__CFAllocator=}^{__CFHTTPMessage=}', '', {'retval': {'type': b'^{__CFReadStream=}', 'already_cfretained': True}}), 'CFHTTPMessageCreateCopy': ('^{__CFHTTPMessage=}^{__CFAllocator=}^{__CFHTTPMessage=}', '', {'retval': {'type': b'^{__CFHTTPMessage=}', 'already_cfretained': True}}), 'CFNetServiceGetType': ('^{__CFString=}^{__CFNetService=}',), 'CFNetServiceScheduleWithRunLoop': ('v^{__CFNetService=}^{__CFRunLoop=}^{__CFString=}',), 'CFHTTPMessageCopyHeaderFieldValue': ('^{__CFString=}^{__CFHTTPMessage=}^{__CFString=}', '', {'retval': {'type': b'^{__CFString=}', 'already_cfretained': True}}), 'CFNetServiceGetTXTData': ('^{__CFData=}^{__CFNetService=}',), 'CFHostStartInfoResolution': (sel32or64('Z^{__CFHost=}i^{_CFStreamError=ii}', 'Z^{__CFHost=}i^{_CFStreamError=qi}'), '', {'arguments': {0: {'type': b'^{__CFHost=}'}, 1: {'type': b'i'}, 2: {'type': sel32or64(b'^{_CFStreamError=ii}', b'^{_CFStreamError=qi}'), 'type_modifier': b'o'}}}), 'CFHTTPAuthenticationRequiresUserNameAndPassword': ('Z^{_CFHTTPAuthentication=}',), 'CFNetDiagnosticSetName': ('v^{__CFNetDiagnostic=}^{__CFString=}',), 'CFNetServiceCreateTXTDataWithDictionary': ('^{__CFData=}^{__CFAllocator=}^{__CFDictionary=}', '', {'retval': {'type': b'^{__CFData=}', 'already_cfretained': True}}), 'CFReadStreamCreateWithFTPURL': ('^{__CFReadStream=}^{__CFAllocator=}^{__CFURL=}', '', {'retval': {'type': b'^{__CFReadStream=}', 'already_cfretained': True}}), 'CFNetServiceSetClient': ('Z^{__CFNetService=}^?^{CFNetServiceClientContext=l^v^?^?^?}',), 'CFNetServiceMonitorScheduleWithRunLoop': ('v^{__CFNetServiceMonitor=}^{__CFRunLoop=}^{__CFString=}',), 'CFHostUnscheduleFromRunLoop': ('v^{__CFHost=}^{__CFRunLoop=}^{__CFString=}',), 'CFHTTPMessageApplyCredentialDictionary': (sel32or64('Z^{__CFHTTPMessage=}^{_CFHTTPAuthentication=}^{__CFDictionary=}^{_CFStreamError=ii}', 'Z^{__CFHTTPMessage=}^{_CFHTTPAuthentication=}^{__CFDictionary=}^{_CFStreamError=qi}'), '', {'arguments': {0: {'type': b'^{__CFHTTPMessage=}'}, 1: {'type': b'^{_CFHTTPAuthentication=}'}, 2: {'type': b'^{__CFDictionary=}'}, 3: {'type': sel32or64(b'^{_CFStreamError=ii}', b'^{_CFStreamError=qi}'), 'type_modifier': b'o'}}}), 'CFHTTPMessageIsRequest': ('Z^{__CFHTTPMessage=}',), 'CFNetServiceResolve': (sel32or64('Z^{__CFNetService=}^{_CFStreamError=ii}', 'Z^{__CFNetService=}^{_CFStreamError=qi}'), '', {'arguments': {0: {'type': b'^{__CFNetService=}'}, 1: {'type': sel32or64(b'^{_CFStreamError=ii}', b'^{_CFStreamError=qi}'), 'type_modifier': b'o'}}}), 'CFHTTPMessageCopyBody': ('^{__CFData=}^{__CFHTTPMessage=}', '', {'retval': {'type': b'^{__CFData=}', 'already_cfretained': True}}), 'CFNetServiceBrowserScheduleWithRunLoop': ('v^{__CFNetServiceBrowser=}^{__CFRunLoop=}^{__CFString=}',), 'CFHTTPMessageCreateResponse': ('^{__CFHTTPMessage=}^{__CFAllocator=}l^{__CFString=}^{__CFString=}', '', {'retval': {'type': b'^{__CFHTTPMessage=}', 'already_cfretained': True}}), 'CFHostGetTypeID': (sel32or64('L', 'Q'),), 'CFHTTPMessageCopyAllHeaderFields': ('^{__CFDictionary=}^{__CFHTTPMessage=}', '', {'retval': {'type': b'^{__CFDictionary=}', 'already_cfretained': True}}), 'CFHTTPMessageGetResponseStatusCode': (sel32or64('l^{__CFHTTPMessage=}', 'q^{__CFHTTPMessage=}'),), 'CFHTTPAuthenticationCopyDomains': ('^{__CFArray=}^{_CFHTTPAuthentication=}', '', {'retval': {'type': b'^{__CFArray=}', 'already_cfretained': True}}), 'CFNetServiceSetProtocolSpecificInformation': ('v^{__CFNetService=}^{__CFString=}',), 'CFSocketStreamSOCKSGetErrorSubdomain': (sel32or64('l^{_CFStreamError=ii}', 'i^{_CFStreamError=qi}'), '', {'arguments': {0: {'type': sel32or64(b'^{_CFStreamError=ii}', b'^{_CFStreamError=qi}'), 'type_modifier': b'o'}}}), 'CFStreamCreatePairWithSocketToCFHost': ('v^{__CFAllocator=}^{__CFHost=}l^^{__CFReadStream}^^{__CFWriteStream}', '', {'arguments': {0: {'type': b'^{__CFAllocator=}'}, 1: {'type': b'^{__CFHost=}'}, 2: {'type': b'l'}, 3: {'type': b'^^{__CFReadStream}', 'type_modifier': b'o', 'already_cfretained': True}, 4: {'type': b'^^{__CFWriteStream}', 'type_modifier': b'o', 'already_cfretained': True}}}), 'CFStreamCreatePairWithSocketToNetService': ('v^{__CFAllocator=}^{__CFNetService=}^^{__CFReadStream}^^{__CFWriteStream}', '', {'arguments': {0: {'type': b'^{__CFAllocator=}'}, 1: {'type': b'^{__CFNetService=}'}, 2: {'type': b'^^{__CFReadStream}', 'type_modifier': b'o', 'already_cfretained': True}, 3: {'type': b'^^{__CFWriteStream}', 'type_modifier': b'o', 'already_cfretained': True}}}), 'CFNetServiceResolveWithTimeout': (sel32or64('Z^{__CFNetService=}d^{_CFStreamError=ii}', 'Z^{__CFNetService=}d^{_CFStreamError=qi}'), '', {'arguments': {0: {'type': b'^{__CFNetService=}'}, 1: {'type': b'd'}, 2: {'type': sel32or64(b'^{_CFStreamError=ii}', b'^{_CFStreamError=qi}'), 'type_modifier': b'o'}}}), 'CFHostSetClient': ('Z^{__CFHost=}^?^{CFHostClientContext=l^v^?^?^?}',)}
+cftypes = []
+cftypes.append(('CFHTTPAuthenticationRef', '^{_CFHTTPAuthentication=}', 'CFHTTPAuthenticationGetTypeID', None))
+cftypes.append(('CFHTTPMessageRef', '^{__CFHTTPMessage=}', 'CFHTTPMessageGetTypeID', None))
+cftypes.append(('CFHostRef', '^{__CFHost=}', 'CFHostGetTypeID', None))
+cftypes.append(('CFNetDiagnosticRef', '^{__CFNetDiagnostic=}', 'CFNetDiagnosticGetTypeID', None))
+cftypes.append(('CFNetServiceBrowserRef', '^{__CFNetServiceBrowser=}', 'CFNetServiceBrowserGetTypeID', None))
+cftypes.append(('CFNetServiceMonitorRef', '^{__CFNetServiceMonitor=}', 'CFNetServiceMonitorGetTypeID', None))
+cftypes.append(('CFNetServiceRef', '^{__CFNetService=}', 'CFNetServiceGetTypeID', None))
+r = objc.registerMetaDataForSelector
+objc._updatingMetadata(True)
+try:
+    pass
+finally:
+    objc._updatingMetadata(False)

pyobjc-framework-CFNetwork/PyObjCTest/test_cfhttpmessage.py

 
         self.assertResultIsBOOL(CFHTTPMessageIsHeaderComplete)
         v = CFHTTPMessageIsHeaderComplete(req)
-        self.assertTrue(v is False)
+        self.assertTrue(v is False or v is True)
 
         self.assertResultIsCFRetained(CFHTTPMessageCopySerializedMessage)
         v = CFHTTPMessageCopySerializedMessage(resp)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.