Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
fs_mgmt_callbacks.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Laird Connectivity
3 * Copyright (c) 2022 Nordic Semiconductor ASA
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
8#ifndef H_MCUMGR_FS_MGMT_CALLBACKS_
9#define H_MCUMGR_FS_MGMT_CALLBACKS_
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
36
54
59#ifdef __cplusplus
60}
61#endif
62
63#endif
fs_mgmt_file_access_types
The type of operation that is being requested for a given file access callback.
Definition fs_mgmt_callbacks.h:23
@ FS_MGMT_FILE_ACCESS_WRITE
Access to write file (file download).
Definition fs_mgmt_callbacks.h:28
@ FS_MGMT_FILE_ACCESS_READ
Access to read file (file upload).
Definition fs_mgmt_callbacks.h:25
@ FS_MGMT_FILE_ACCESS_HASH_CHECKSUM
Access to calculate hash or checksum of file.
Definition fs_mgmt_callbacks.h:34
@ FS_MGMT_FILE_ACCESS_STATUS
Access to get status of file.
Definition fs_mgmt_callbacks.h:31
Structure provided in the MGMT_EVT_OP_FS_MGMT_FILE_ACCESS notification callback: This callback functi...
Definition fs_mgmt_callbacks.h:43
char * filename
Path and filename of file be accesses, note that this can be changed by handlers to redirect file acc...
Definition fs_mgmt_callbacks.h:52
enum fs_mgmt_file_access_types access
Specifies the type of the operation that is being requested.
Definition fs_mgmt_callbacks.h:45