Loading...
Searching...
No Matches
mock.h
1/*
2 * SPDX-FileCopyrightText: 2020 Koen Zandberg
3 * SPDX-FileCopyrightText: 2020 Inria
4 * SPDX-License-Identifier: LGPL-2.1-only
5 */
6
7#pragma once
8
25
26#include "suit.h"
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
35typedef struct {
36 const uint8_t *buf;
37 size_t len;
39
52
53#ifdef __cplusplus
54}
55#endif
56
int suit_transport_mock_fetch(const suit_manifest_t *manifest)
'fetch' a payload
SUIT manifest struct.
Definition suit.h:231
const uint8_t * buf
Ptr to the memory space containing the payload.
Definition mock.h:36
size_t len
Length of the payload in bytes.
Definition mock.h:37