Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
kv_write.h File Reference

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.

Detailed Description

Author
Jordan Yates jorda.nosp@m.n@em.nosp@m.beint.nosp@m..com

SPDX-License-Identifier: FSL-1.1-ALv2

Function Documentation

◆ infuse_rpc_command_kv_write_validate()

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.

Parameters
metaMetadata of the request packet
keyKey that needs to be validated
dataPointer to the updated value, or NULL for a delete
lenLength of the updated value, or 0 for a delete
Return values
trueKV write is allowed
falseKV write is rejected