zephyr/subsys/net/lib/lwm2m/lwm2m_rw_opaque.h
Seppo Takalo f227b56792 net: lwm2m: Separate opaque content format into its own
Opaque content format is not part of clear-text, so it
should be separated into its own file.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2023-09-27 15:44:30 +02:00

19 lines
426 B
C

/*
* Copyright (c) 2023 Nordic Semiconductor
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef LWM2M_RW_OPAQUE_H_
#define LWM2M_RW_OPAQUE_H_
#include "lwm2m_object.h"
extern const struct lwm2m_writer opaque_writer;
extern const struct lwm2m_reader opaque_reader;
int do_read_op_opaque(struct lwm2m_message *msg, int content_format);
int do_write_op_opaque(struct lwm2m_message *msg);
#endif /* LWM2M_RW_OPAQUE_H_ */