|
|
#define | kURLURL "URLString" |
| |
|
#define | kURLResourceSize "URLResourceSize" |
| |
|
#define | kURLLastModifiedTime "URLLastModifiedTime" |
| |
|
#define | kURLMIMEType "URLMIMEType" |
| |
|
#define | kURLFileType "URLFileType" |
| |
|
#define | kURLFileCreator "URLFileCreator" |
| |
|
#define | kURLCharacterSet "URLCharacterSet" |
| |
|
#define | kURLResourceName "URLResourceName" |
| |
|
#define | kURLHost "URLHost" |
| |
|
#define | kURLAuthType "URLAuthType" |
| |
|
#define | kURLUserName "URLUserName" |
| |
|
#define | kURLPassword "URLPassword" |
| |
|
#define | kURLStatusString "URLStatusString" |
| |
|
#define | kURLIsSecure "URLIsSecure" |
| |
|
#define | kURLCertificate "URLCertificate" |
| |
|
#define | kURLTotalItems "URLTotalItems" |
| |
|
#define | kURLConnectTimeout "URLConnectTimeout" |
| |
| #define | kURLHTTPRequestMethod "URLHTTPRequestMethod" |
| |
|
#define | kURLHTTPRequestHeader "URLHTTPRequestHeader" |
| |
|
#define | kURLHTTPRequestBody "URLHTTPRequestBody" |
| |
|
#define | kURLHTTPRespHeader "URLHTTPRespHeader" |
| |
|
#define | kURLHTTPUserAgent "URLHTTPUserAgent" |
| |
|
#define | kURLHTTPRedirectedURL "URLHTTPRedirectedURL" |
| |
|
#define | kURLSSLCipherSuite "URLSSLCipherSuite" |
| |
| #define | NewURLNotifyUPP(userRoutine) (userRoutine) |
| |
| #define | NewURLSystemEventUPP(userRoutine) (userRoutine) |
| |
|
#define | DisposeURLNotifyUPP(userUPP) |
| |
|
#define | DisposeURLSystemEventUPP(userUPP) |
| |
|
#define | InvokeURLNotifyUPP(userContext, event, callbackInfo, userUPP) (*userUPP)(userContext, event, callbackInfo) |
| |
|
#define | InvokeURLSystemEventUPP(userContext, event, userUPP) (*userUPP)(userContext, event) |
| |
|
| enum | {
kURLReplaceExistingFlag = 1 << 0
, kURLBinHexFileFlag = 1 << 1
, kURLExpandFileFlag
, kURLDisplayProgressFlag = 1 << 3
,
kURLDisplayAuthFlag
, kURLUploadFlag = 1 << 5
, kURLIsDirectoryHintFlag = 1 << 6
, kURLDoNotTryAnonymousFlag
,
kURLDirectoryListingFlag
, kURLExpandAndVerifyFlag
, kURLNoAutoRedirectFlag
, kURLDebinhexOnlyFlag
,
kURLDoNotDeleteOnErrorFlag = 1 << 12
, kURLResumeDownloadFlag
, kURLReservedFlag
} |
| |
| enum | {
kURLNullState = 0
, kURLInitiatingState = 1
, kURLLookingUpHostState = 2
, kURLConnectingState = 3
,
kURLResourceFoundState = 4
, kURLDownloadingState = 5
, kURLDataAvailableState = 0x10 + kURLDownloadingState
, kURLTransactionCompleteState = 6
,
kURLErrorOccurredState = 7
, kURLAbortingState = 8
, kURLCompletedState = 9
, kURLUploadingState = 10
} |
| |
| enum | {
kURLInitiatedEvent = kURLInitiatingState
, kURLResourceFoundEvent = kURLResourceFoundState
, kURLDownloadingEvent = kURLDownloadingState
, kURLAbortInitiatedEvent = kURLAbortingState
,
kURLCompletedEvent = kURLCompletedState
, kURLErrorOccurredEvent = kURLErrorOccurredState
, kURLDataAvailableEvent = kURLDataAvailableState
, kURLTransactionCompleteEvent = kURLTransactionCompleteState
,
kURLUploadingEvent = kURLUploadingState
, kURLSystemEvent = 29
, kURLPercentEvent = 30
, kURLPeriodicEvent = 31
,
kURLPropertyChangedEvent = 32
} |
| |
| enum | {
kURLInitiatedEventMask = 1 << (kURLInitiatedEvent - 1)
, kURLResourceFoundEventMask = 1 << (kURLResourceFoundEvent - 1)
, kURLDownloadingMask = 1 << (kURLDownloadingEvent - 1)
, kURLUploadingMask = 1 << (kURLUploadingEvent - 1)
,
kURLAbortInitiatedMask = 1 << (kURLAbortInitiatedEvent - 1)
, kURLCompletedEventMask = 1 << (kURLCompletedEvent - 1)
, kURLErrorOccurredEventMask = 1 << (kURLErrorOccurredEvent - 1)
, kURLDataAvailableEventMask = 1 << (kURLDataAvailableEvent - 1)
,
kURLTransactionCompleteEventMask = 1 << (kURLTransactionCompleteEvent - 1)
, kURLSystemEventMask = 1 << (kURLSystemEvent - 1)
, kURLPercentEventMask = 1 << (kURLPercentEvent - 1)
, kURLPeriodicEventMask = 1 << (kURLPeriodicEvent - 1)
,
kURLPropertyChangedEventMask = 1 << (kURLPropertyChangedEvent - 1)
, kURLAllBufferEventsMask
, kURLAllNonBufferEventsMask
, kURLAllEventsMask = (long)0xFFFFFFFF
} |
| |
| enum | { kUserNameAndPasswordFlag = 0x00000001
} |
| |
| enum | { uppURLNotifyProcInfo = 0x00000FF0
} |
| |
| enum | { uppURLSystemEventProcInfo = 0x000003F0
} |
| |
|
| OSStatus | URLGetURLAccessVersion (UInt32 *returnVers) |
| |
|
typedef | CALLBACK_API (OSStatus, URLNotifyProcPtr)(void *userContext |
| |
|
typedef | CALLBACK_API (OSStatus, URLSystemEventProcPtr)(void *userContext |
| |
|
typedef | TVECTOR_UPP_TYPE (URLNotifyProcPtr) URLNotifyUPP |
| |
|
typedef | TVECTOR_UPP_TYPE (URLSystemEventProcPtr) URLSystemEventUPP |
| |
| URLNotifyUPP | NewURLNotifyUPP (URLNotifyProcPtr userRoutine) |
| |
| URLSystemEventUPP | NewURLSystemEventUPP (URLSystemEventProcPtr userRoutine) |
| |
| void | DisposeURLNotifyUPP (URLNotifyUPP userUPP) |
| |
| void | DisposeURLSystemEventUPP (URLSystemEventUPP userUPP) |
| |
| OSStatus | InvokeURLNotifyUPP (void *userContext, URLEvent event, URLCallbackInfo *callbackInfo, URLNotifyUPP userUPP) |
| |
| OSStatus | InvokeURLSystemEventUPP (void *userContext, EventRecord *event, URLSystemEventUPP userUPP) |
| |
| OSStatus | URLSimpleDownload (const char *url, FSSpec *destination, Handle destinationHandle, URLOpenFlags openFlags, URLSystemEventUPP eventProc, void *userContext) |
| |
| OSStatus | URLDownload (URLReference urlRef, FSSpec *destination, Handle destinationHandle, URLOpenFlags openFlags, URLSystemEventUPP eventProc, void *userContext) |
| |
| OSStatus | URLSimpleUpload (const char *url, const FSSpec *source, URLOpenFlags openFlags, URLSystemEventUPP eventProc, void *userContext) |
| |
| OSStatus | URLUpload (URLReference urlRef, const FSSpec *source, URLOpenFlags openFlags, URLSystemEventUPP eventProc, void *userContext) |
| |
| OSStatus | URLNewReference (const char *url, URLReference *urlRef) |
| |
| OSStatus | URLDisposeReference (URLReference urlRef) |
| |
| OSStatus | URLOpen (URLReference urlRef, FSSpec *fileSpec, URLOpenFlags openFlags, URLNotifyUPP notifyProc, URLEventMask eventRegister, void *userContext) |
| |
| OSStatus | URLAbort (URLReference urlRef) |
| |
| OSStatus | URLGetDataAvailable (URLReference urlRef, Size *dataSize) |
| |
| OSStatus | URLGetBuffer (URLReference urlRef, void **buffer, Size *bufferSize) |
| |
| OSStatus | URLReleaseBuffer (URLReference urlRef, void *buffer) |
| |
| OSStatus | URLGetProperty (URLReference urlRef, const char *property, void *propertyBuffer, Size bufferSize) |
| |
| OSStatus | URLGetPropertySize (URLReference urlRef, const char *property, Size *propertySize) |
| |
| OSStatus | URLSetProperty (URLReference urlRef, const char *property, void *propertyBuffer, Size bufferSize) |
| |
| OSStatus | URLGetCurrentState (URLReference urlRef, URLState *state) |
| |
| OSStatus | URLGetError (URLReference urlRef, OSStatus *urlError) |
| |
| OSStatus | URLIdle (void) |
| |
| OSStatus | URLGetFileInfo (StringPtr fName, OSType *fType, OSType *fCreator) |
| |
URL Access Interfaces.
- Introduced In: URLAccess 2.0
- Avaliable From: Universal Interfaces 3.4.1
- Copyright: © 1994-2001 by Apple Computer, Inc., all rights reserved
For bug reports, consult the following page on the World Wide Web:
http://developer.apple.com/bugreporter/