summaryrefslogtreecommitdiffstats
path: root/src/conf.h
diff options
context:
space:
mode:
authorNicolas Pitre <nico@fluxnic.net>2021-03-20 16:42:03 -0400
committerNicolas Pitre <nico@fluxnic.net>2021-03-20 20:01:22 -0400
commit5ab0f201ee0b5631939c30e323c2241007902dc8 (patch)
treede55bdc6b513864e25cd4b04c92257a055ac0878 /src/conf.h
parentff591ab004afd4451049f5c10b7c183ecf00c715 (diff)
store dictionary values as both a string and an integer value
This will allow for not doing atoi() over and over everywhere.
Diffstat (limited to 'src/conf.h')
-rw-r--r--src/conf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conf.h b/src/conf.h
index aa10d5a..57329ba 100644
--- a/src/conf.h
+++ b/src/conf.h
@@ -46,4 +46,5 @@ extern struct dictionary * user_conf_d;
void store_default_config_values();
char * get_conf_value(char * key);
+int get_conf_int(char * key);
char * get_conf_values(char * salida);