Core Foundation Functions

No overview available.

Topics

Functions

func CFFileSecurityCopyAccessControlList(CFFileSecurity!, UnsafeMutablePointer<acl_t?>!) -> Bool

Copies the access control list associated with a CFFileSecurityRef object.

func CFFileSecurityGetGroup(CFFileSecurity!, UnsafeMutablePointer<gid_t>!) -> Bool

Gets the group ID associated with a CFFileSecurityRef object

func CFFileSecurityGetMode(CFFileSecurity!, UnsafeMutablePointer<mode_t>!) -> Bool

Gets the file mode associated with a CFFileSecurityRef object.

func CFFileSecurityGetOwner(CFFileSecurity!, UnsafeMutablePointer<uid_t>!) -> Bool

Gets the owner ID associated with a CFFileSecurityRef object.

func CFFileSecurityGetTypeID() -> CFTypeID

Returns the type identifier for the CFFileSecurityRef opaque type.

func CFFileSecuritySetAccessControlList(CFFileSecurity!, acl_t!) -> Bool

Sets the access control list associated with a CFFileSecurityRef object.

func CFFileSecuritySetGroup(CFFileSecurity!, gid_t) -> Bool

Sets the group ID associated with a CFFileSecurityRef object.

func CFFileSecuritySetGroupUUID(CFFileSecurity!, CFUUID!) -> Bool

Sets the group UUID associated with a CFFileSecurityRef object.

func CFFileSecuritySetMode(CFFileSecurity!, mode_t) -> Bool

Sets the file mode associated with a CFFileSecurityRef object.

func CFFileSecuritySetOwner(CFFileSecurity!, uid_t) -> Bool

Sets the owner ID associated with a CFFileSecurityRef object.

func CFFileSecuritySetOwnerUUID(CFFileSecurity!, CFUUID!) -> Bool

Sets the owner UUID associated with a CFFileSecurityRef object.

func CFURLEnumeratorCreateForDirectoryURL(CFAllocator!, CFURL!, CFURLEnumeratorOptions, CFArray!) -> CFURLEnumerator!

Creates and returns a directory enumerator with provided enumerator behavior options and properties to be prefetched.

func CFURLEnumeratorCreateForMountedVolumes(CFAllocator!, CFURLEnumeratorOptions, CFArray!) -> CFURLEnumerator!

Creates and returns a volume enumerator with provided enumerator behavior options and properties to be prefetched.

func CFURLEnumeratorGetDescendentLevel(CFURLEnumerator!) -> CFIndex

Returns the number of levels a recursive directory enumerator has descended.

func CFURLEnumeratorGetSourceDidChange(CFURLEnumerator!) -> Bool

This function is unimplemented, so it performs no operation. Use the File System Events API to detect changes to the file system. See File System Events Programming Guide for more information.

Deprecated
func CFURLEnumeratorGetTypeID() -> CFTypeID

Returns the opaque type identifier for the CFURLEnumerator opaque type.

func CFURLEnumeratorSkipDescendents(CFURLEnumerator!)

Tells a recursive enumerator not to descend into the directory at the URL that was returned by the most recent call to the CFURLEnumeratorGetNextURL(_:_:_:) function.