From 36e8d2425bfe48fd25b041fa2a301e2ed2bb3fa3 Mon Sep 17 00:00:00 2001 From: cnlohr Date: Sun, 18 Mar 2018 19:48:25 -0400 Subject: Almost at a config interface. --- src/survive_config.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/survive_config.h') diff --git a/src/survive_config.h b/src/survive_config.h index 1ae124d..23d80c8 100644 --- a/src/survive_config.h +++ b/src/survive_config.h @@ -1,5 +1,7 @@ // (C) 2017 <>< Joshua Allen, Under MIT/x11 License. - +// +// This header is for handling internal parameter values. Most accesses should be done through functions like survive_config +// #ifndef _SURVIVE_CONFIG_H #define _SURVIVE_CONFIG_H @@ -58,10 +60,4 @@ uint16_t config_read_float_array(config_group *cg, const char *tag, FLT* values, uint32_t config_read_uint32(config_group *cg, const char *tag, const uint32_t def); const char* config_read_str(config_group *cg, const char *tag, const char *def); -//These functions search both the stored-general and temporary sections for a parameter and return it. -//FLT survive_config_readf( SurviveContext * ctx, const char *tag, FLT def ); -//uint32_t survive_config_readi( SurviveContext * ctx, const char *tag, uint32_t def ); -//const char * survive_config_reads( SurviveContext * ctx, const char *tag, const char *def ); -//They're actually defined in survive.h for users as well. - #endif -- cgit v1.2.3