|
Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
#include <infuse/epacket/packet.h>Go to the source code of this file.
Functions | |
| bool | infuse_rpc_command_kv_write_validate (struct epacket_rx_metadata *meta, uint16_t key, const void *data, size_t len) |
| Application level validation of external KV writes. | |
SPDX-License-Identifier: FSL-1.1-ALv2
| bool infuse_rpc_command_kv_write_validate | ( | struct epacket_rx_metadata * | meta, |
| uint16_t | key, | ||
| const void * | data, | ||
| size_t | len ) |
Application level validation of external KV writes.
| meta | Metadata of the request packet |
| key | Key that needs to be validated |
| data | Pointer to the updated value, or NULL for a delete |
| len | Length of the updated value, or 0 for a delete |
| true | KV write is allowed |
| false | KV write is rejected |