Delete
Functions
- OmniClientRequestId omniClientDelete(char const *url, void *userData, OmniClientDeleteCallback callback)
Delete something (file, folder, mount, live object, channel etc..)
- OmniClientRequestId omniClientDeleteSingle(char const *url, void *userData, OmniClientDeleteCallback callback)
Delete a file or an empty folder.
Typedefs
- OmniClientDeleteCallback
This is called with the result of omniClientDelete .
Functions
-
OmniClientRequestId omniClientDelete(char const *url, void *userData, OmniClientDeleteCallback callback)
Delete something (file, folder, mount, live object, channel etc..)
Deleting a folder performs a recursive delete
Note
If this function is called after omniClientShutdown, kInvalidRequestId will be returned, and the callback will not be called.
-
OmniClientRequestId omniClientDeleteSingle(char const *url, void *userData, OmniClientDeleteCallback callback)
Delete a file or an empty folder.
Returns eOmniClientResult_FolderNotEmpty if passed a non-empty folder.
Note
If this function is called after omniClientShutdown, kInvalidRequestId will be returned, and the callback will not be called.
Typedefs
-
typedef void (*OmniClientDeleteCallback)(void *userData, OmniClientResult result)
This is called with the result of omniClientDelete.