filename | src/config.h |
changeset | 1144:00dd49743974 |
prev | 1072:d82e04e6d497 |
next | 1296:30ecee61f811 |
author | nkeynes |
date | Mon Jan 30 17:47:29 2012 +1000 (12 years ago) |
permissions | -rw-r--r-- |
last change | Add include sys/socket.h to provide type definitions (needed on some platforms) |
file | annotate | diff | log | raw |
1.1 --- a/src/config.h Tue Jul 21 20:33:21 2009 +10001.2 +++ b/src/config.h Mon Jan 30 17:47:29 2012 +10001.3 @@ -36,6 +36,7 @@1.4 #define CONFIG_TYPE_KEY 31.5 #define CONFIG_TYPE_FILELIST 41.6 #define CONFIG_TYPE_INTEGER 51.7 +#define CONFIG_TYPE_BOOLEAN 61.9 #define DEFAULT_CONFIG_FILENAME "lxdreamrc"1.11 @@ -97,6 +98,9 @@1.12 void lxdream_copy_config_group( lxdream_config_group_t dest, lxdream_config_group_t src );1.13 void lxdream_clone_config_group( lxdream_config_group_t dest, lxdream_config_group_t src );1.15 +gboolean lxdream_get_config_boolean_value( lxdream_config_group_t group, int key );1.16 +gboolean lxdream_set_config_boolean_value( lxdream_config_group_t group, int key, gboolean value );1.17 +1.18 /**1.19 * Return a fully expanded path value for a key - this performs substitutions1.20 * for ~ and simple shell variables ($VAR and ${VAR})
.