handlers.h
1 /*
2  * Copyright (C) 2019 Koen Zandberg
3  * 2019 Kaspar Schleiser <kaspar@schleiser.de>
4  * 2019 Inria
5  * 2019 Freie Universit├Ąt Berlin
6  *
7  * This file is subject to the terms and conditions of the GNU Lesser
8  * General Public License v2.1. See the file LICENSE in the top level
9  * directory for more details.
10  */
24 #ifndef SUIT_V4_HANDLERS_H
25 #define SUIT_V4_HANDLERS_H
26 
27 #include <stddef.h>
28 #include <stdint.h>
29 
30 #include "suit/v4/suit.h"
31 #include "uuid.h"
32 #include "nanocbor/nanocbor.h"
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
47 typedef int (*suit_manifest_handler_t)(suit_v4_manifest_t *manifest, int key, nanocbor_value_t *it);
48 
58 
59 #ifdef __cplusplus
60 }
61 #endif
62 
63 #endif /* SUIT_V4_HANDLERS_H */
64 
RFC 4122 UUID functions
suit_manifest_handler_t suit_manifest_get_manifest_handler(int key)
Get suit manifest handler for given integer key.
int(* suit_manifest_handler_t)(suit_v4_manifest_t *manifest, int key, nanocbor_value_t *it)
SUIT v4 manifest handlers.
Definition: handlers.h:47
SUIT manifest struct.
Definition: suit.h:127