blob: 4f8325f370273428ce3ea50293d5d2533675a9d9 [file] [log] [blame]
Julian Hall7048d302021-06-03 16:07:28 +01001/*
2 * Copyright (c) 2021, Arm Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef CONFIG_BLOB_H
8#define CONFIG_BLOB_H
9
10#include <stddef.h>
11
12/**
13 * A general-purpose blob of configuarion data. Points to a buffer
14 * that contains the actual data.
15 */
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21/**
22 * \brief Structure definition for a config_blob
23 *
24 */
25struct config_blob
26{
27 const void *data;
28 size_t data_len;
29};
30
31#ifdef __cplusplus
32}
33#endif
34
35#endif /* CONFIG_BLOB_H */