aboutsummaryrefslogtreecommitdiff
path: root/src/survive_config.h
diff options
context:
space:
mode:
authorcnlohr <lohr85@gmail.com>2018-03-18 19:48:25 -0400
committercnlohr <lohr85@gmail.com>2018-03-18 19:48:25 -0400
commitc44cca299fbea4196af125dfedd8e4d60f3ae0cc (patch)
treefa71f6e343d941684ee275fd38c24d0105142cb4 /src/survive_config.h
parent5aa20d099b9fe7539050a5baa4c70b678aeab64e (diff)
downloadlibsurvive-c44cca299fbea4196af125dfedd8e4d60f3ae0cc.tar.gz
libsurvive-c44cca299fbea4196af125dfedd8e4d60f3ae0cc.tar.bz2
Almost at a config interface.
Diffstat (limited to 'src/survive_config.h')
-rw-r--r--src/survive_config.h10
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