2022-10-27 15:16:54 -06:00
|
|
|
#ifndef ARC_DEFAULTS_CONFIG_H_
|
|
|
|
|
#define ARC_DEFAULTS_CONFIG_H_
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
#include "arc/std/string.h"
|
|
|
|
|
|
|
|
|
|
typedef struct ARC_Config ARC_Config;
|
2023-01-17 01:59:08 -07:00
|
|
|
void ARC_Defaults_ConfigKey_Create(ARC_Config *config);
|
|
|
|
|
|
|
|
|
|
uint8_t ARC_ConfigKey_Read_Uint8_t (ARC_Config *config, ARC_String *string, void **value);
|
|
|
|
|
uint8_t ARC_ConfigKey_Read_Int8_t (ARC_Config *config, ARC_String *string, void **value);
|
|
|
|
|
uint8_t ARC_ConfigKey_Read_Uint16_t (ARC_Config *config, ARC_String *string, void **value);
|
|
|
|
|
uint8_t ARC_ConfigKey_Read_Int16_t (ARC_Config *config, ARC_String *string, void **value);
|
|
|
|
|
uint8_t ARC_ConfigKey_Read_Uint32_t (ARC_Config *config, ARC_String *string, void **value);
|
|
|
|
|
uint8_t ARC_ConfigKey_Read_Int32_t (ARC_Config *config, ARC_String *string, void **value);
|
|
|
|
|
uint8_t ARC_ConfigKey_Read_Uint64_t (ARC_Config *config, ARC_String *string, void **value);
|
|
|
|
|
uint8_t ARC_ConfigKey_Read_Int64_t (ARC_Config *config, ARC_String *string, void **value);
|
2023-01-20 22:38:29 -07:00
|
|
|
uint8_t ARC_ConfigKey_Read_Char (ARC_Config *config, ARC_String *string, void **value);
|
|
|
|
|
uint8_t ARC_ConfigKey_Read_Int (ARC_Config *config, ARC_String *string, void **value);
|
2023-01-17 01:59:08 -07:00
|
|
|
uint8_t ARC_ConfigKey_Read_Long (ARC_Config *config, ARC_String *string, void **value);
|
2023-01-20 22:38:29 -07:00
|
|
|
uint8_t ARC_ConfigKey_Read_Float (ARC_Config *config, ARC_String *string, void **value);
|
|
|
|
|
uint8_t ARC_ConfigKey_Read_Double (ARC_Config *config, ARC_String *string, void **value);
|
2023-01-17 01:59:08 -07:00
|
|
|
uint8_t ARC_ConfigKey_Read_String (ARC_Config *config, ARC_String *string, void **value);
|
2023-04-04 16:29:37 -06:00
|
|
|
uint8_t ARC_ConfigKey_Read_StringArray(ARC_Config *config, ARC_String *string, void **value);
|
2023-01-20 22:38:29 -07:00
|
|
|
|
|
|
|
|
void ARC_ConfigKey_Delete_Uint8_t (ARC_Config *config, ARC_String *string, void *value);
|
|
|
|
|
void ARC_ConfigKey_Delete_Int8_t (ARC_Config *config, ARC_String *string, void *value);
|
|
|
|
|
void ARC_ConfigKey_Delete_Uint16_t (ARC_Config *config, ARC_String *string, void *value);
|
|
|
|
|
void ARC_ConfigKey_Delete_Int16_t (ARC_Config *config, ARC_String *string, void *value);
|
|
|
|
|
void ARC_ConfigKey_Delete_Uint32_t (ARC_Config *config, ARC_String *string, void *value);
|
|
|
|
|
void ARC_ConfigKey_Delete_Int32_t (ARC_Config *config, ARC_String *string, void *value);
|
|
|
|
|
void ARC_ConfigKey_Delete_Uint64_t (ARC_Config *config, ARC_String *string, void *value);
|
|
|
|
|
void ARC_ConfigKey_Delete_Int64_t (ARC_Config *config, ARC_String *string, void *value);
|
|
|
|
|
void ARC_ConfigKey_Delete_Char (ARC_Config *config, ARC_String *string, void *value);
|
|
|
|
|
void ARC_ConfigKey_Delete_Int (ARC_Config *config, ARC_String *string, void *value);
|
|
|
|
|
void ARC_ConfigKey_Delete_Long (ARC_Config *config, ARC_String *string, void *value);
|
|
|
|
|
void ARC_ConfigKey_Delete_Float (ARC_Config *config, ARC_String *string, void *value);
|
|
|
|
|
void ARC_ConfigKey_Delete_Double (ARC_Config *config, ARC_String *string, void *value);
|
|
|
|
|
void ARC_ConfigKey_Delete_String (ARC_Config *config, ARC_String *string, void *value);
|
2023-04-04 16:29:37 -06:00
|
|
|
void ARC_ConfigKey_Delete_StringArray(ARC_Config *config, ARC_String *string, void *value);
|
2022-10-27 15:16:54 -06:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
2023-08-22 04:08:53 +00:00
|
|
|
#endif //ARC_DEFAULTS_CONFIG_H_
|