diff options
author | Nicolas Pitre <nico@fluxnic.net> | 2021-03-20 16:42:03 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2021-03-20 20:01:22 -0400 |
commit | 5ab0f201ee0b5631939c30e323c2241007902dc8 (patch) | |
tree | de55bdc6b513864e25cd4b04c92257a055ac0878 /src/conf.h | |
parent | ff591ab004afd4451049f5c10b7c183ecf00c715 (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |