1 /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */
2 /* Copyright(c) 2014 - 2020 Intel Corporation */
3 #ifndef ADF_CFG_USER_H_
4 #define ADF_CFG_USER_H_
6 #include "adf_cfg_common.h"
7 #include "adf_cfg_strings.h"
9 struct adf_user_cfg_key_val
{
10 char key
[ADF_CFG_MAX_KEY_LEN_IN_BYTES
];
11 char val
[ADF_CFG_MAX_VAL_LEN_IN_BYTES
];
13 struct adf_user_cfg_key_val
*next
;
16 enum adf_cfg_val_type type
;
19 struct adf_user_cfg_section
{
20 char name
[ADF_CFG_MAX_SECTION_LEN_IN_BYTES
];
22 struct adf_user_cfg_key_val
*params
;
26 struct adf_user_cfg_section
*next
;
31 struct adf_user_cfg_ctl_data
{
33 struct adf_user_cfg_section
*config_section
;