Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

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. More...

#include <fs_mgmt_callbacks.h>

Data Fields

enum fs_mgmt_file_access_types access
 Specifies the type of the operation that is being requested.
 
char * 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).
 

Detailed Description

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.

Field Documentation

◆ access

enum fs_mgmt_file_access_types fs_mgmt_file_access::access

Specifies the type of the operation that is being requested.

◆ filename

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).


The documentation for this struct was generated from the following file: