diff options
author | cnlohr <lohr85@gmail.com> | 2018-03-18 19:48:25 -0400 |
---|---|---|
committer | cnlohr <lohr85@gmail.com> | 2018-03-18 22:21:59 -0400 |
commit | 36e8d2425bfe48fd25b041fa2a301e2ed2bb3fa3 (patch) | |
tree | 42b402a51d13252398ac64f5308b4d6dad6820cb /src/survive_config.h | |
parent | 179d8a02e231fe853831cdf886c9196929303adb (diff) | |
download | libsurvive-36e8d2425bfe48fd25b041fa2a301e2ed2bb3fa3.tar.gz libsurvive-36e8d2425bfe48fd25b041fa2a301e2ed2bb3fa3.tar.bz2 |
Almost at a config interface.
Diffstat (limited to 'src/survive_config.h')
-rw-r--r-- | src/survive_config.h | 10 |
1 files changed, 3 insertions, 7 deletions
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 |