GNUstep CoreBase Library 0.2
URL Access Utilities (deprecated)

Detailed Description

Functions

Boolean CFURLCreateDataAndPropertiesFromResource (CFAllocatorRef alloc, CFURLRef url, CFDataRef *resourceData, CFDictionaryRef *properties, CFArrayRef desiredProperties, SInt32 *errorCode)
CFTypeRef CFURLCreatePropertyFromResource (CFAllocatorRef alloc, CFURLRef url, CFStringRef property, SInt32 *errorCode)
Boolean CFURLDestroyResource (CFURLRef url, SInt32 *errorCode)
Boolean CFURLWriteDataAndPropertiesToResource (CFURLRef url, CFDataRef dataToWrite, CFDictionaryRef propertiesToWrite, SInt32 *errorCode)

Error Codes

enum  CFURLError {
  kCFURLUnknownError = -10 , kCFURLUnknownSchemeError = -11 , kCFURLResourceNotFoundError = -12 , kCFURLResourceAccessViolationError = -13 ,
  kCFURLRemoteHostUnavailableError = -14 , kCFURLImproperArgumentsError = -15 , kCFURLUnknownPropertyKeyError = -16 , kCFURLPropertyKeyUnavailableError = -17 ,
  kCFURLTimeoutError = -18
}

File URL Properties

const CFStringRef kCFURLFileExists
const CFStringRef kCFURLFileDirectoryContents
const CFStringRef kCFURLFileLength
const CFStringRef kCFURLFileLastModificationTime
const CFStringRef kCFURLFilePOSIXMode
const CFStringRef kCFURLFileOwnerID

HTTP URL Properties

const CFStringRef kCFURLHTTPStatusCode
const CFStringRef kCFURLHTTPStatusLine