File types. More...
|Statistics about the file system. More...|
|typedef gos_result_t(*||gos_file_list_callback_t) (const gos_file_t *file, void *user)|
|typedef uint32_t gos_file_handle_t|
Callback invoked when listing files
This is a callback that is invoked for each listed file. This may be used to provide further filtering.
Details about current file, see gos_file_t
User provided argument provided to listing API
- IF GOS_SUCCESS then add file to listing, ELIF GOS_ABORTED then drop file from listing, ELSE quit file listing and return error
Enumeration Type Documentation
File location bitmask
See gos_file_location_t for more information
This specifies where the file resides.
The file's owner indicates which encryption key is used to encrypt/decrypt a file.
File owned by DMS product (system used only)
File owned by the device (if the GOS_FILE_FLAG_ENCRYPTED flag is set then the device's encryption key is used for encryption/decryption)
File owned by user (if the GOS_FILE_FLAG_ENCRYPTED flag is set then the
The file permissions indicates which command interface has access to the file.
- The File APIs always have access to the files regardless of the permissions set.
Types before GOS_FILE_TYPE_USER_TYPES_START are reserved for system use. Types before GOS_FILE_TYPE_CUSTOM_START are available to the user, but new values may not be defined by the user. Types after GOS_FILE_TYPE_CUSTOM_START are available to the user and the user may define new values.