Loading...
Searching...
No Matches
mock.h
1/*
2 * Copyright (C) 2020 Koen Zandberg
3 * 2020 Inria
4 *
5 * This file is subject to the terms and conditions of the GNU Lesser
6 * General Public License v2.1. See the file LICENSE in the top level
7 * directory for more details.
8 */
26#ifndef SUIT_TRANSPORT_MOCK_H
27#define SUIT_TRANSPORT_MOCK_H
28
29#include "suit.h"
30
31#ifdef __cplusplus
32extern "C" {
33#endif
34
38typedef struct {
39 const uint8_t *buf;
40 size_t len;
42
55
56#ifdef __cplusplus
57}
58#endif
59
60#endif /* SUIT_TRANSPORT_MOCK_H */
int suit_transport_mock_fetch(const suit_manifest_t *manifest)
'fetch' a payload
SUIT manifest struct.
Definition suit.h:234
const uint8_t * buf
Ptr to the memory space containing the payload.
Definition mock.h:39
size_t len
Length of the payload in bytes.
Definition mock.h:40