1 /* 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 18 extern "C" { 19 #endif 20 21 /** 22 * \brief Structure definition for a config_blob 23 * 24 */ 25 struct 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 */ 36