Loading...
Searching...
No Matches
vfs.h
1/*
2 * SPDX-FileCopyrightText: 2022 ML!PA Consulting GmbH
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
24
25#include "net/nanocoap.h"
26#include "suit.h"
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
43
44#ifdef __cplusplus
45}
46#endif
47
int(* coap_blockwise_cb_t)(void *arg, size_t offset, uint8_t *buf, size_t len, int more)
Coap blockwise request callback descriptor.
Definition nanocoap.h:300
int suit_transport_vfs_fetch(const suit_manifest_t *manifest, coap_blockwise_cb_t cb, void *ctx)
fetch a payload from the filesystem
nanocoap API
SUIT manifest struct.
Definition suit.h:231