Zephyr Project API
3.3.0
A Scalable Open Source RTOS
|
#include <fs_mgmt_callbacks.h>
Data Fields | |
bool | upload |
char * | filename |
Structure provided in the MGMT_EVT_OP_FS_MGMT_FILE_ACCESS notification callback: This callback function is used to notify the application about a pending file read/write request and to authorise or deny it. Access will be allowed so long as all notification handlers return MGMT_ERR_EOK, if one returns an error then access will be denied.
char* fs_mgmt_file_access::filename |
Path and filename of file be accesses, note that this can be changed by handlers to redirect file access if needed (as long as it does not exceed the maximum path string size).
bool fs_mgmt_file_access::upload |
True if the request is for uploading data to the file, otherwise false