diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-04-05 22:38:33 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2012-04-11 13:24:18 +0300 |
commit | 4ac6fb6c041115c6226c1e527b7b8f8236ed44f2 (patch) | |
tree | 870d4a3b0fb06328cf71ecfe60cfa7a0fe5f6e8a /include | |
parent | 277eb409c909f4f7361bf441984656b0a7941de3 (diff) | |
download | connman-4ac6fb6c041115c6226c1e527b7b8f8236ed44f2.tar.gz connman-4ac6fb6c041115c6226c1e527b7b8f8236ed44f2.tar.bz2 connman-4ac6fb6c041115c6226c1e527b7b8f8236ed44f2.zip |
main: Add 'DefaultAutoConnectTechnologies' configuration option
The main.conf 'DefaultAutoConnectTechnologies' is a list of
service type strings. It is converted to a list of service type
enums, and thus the configuration option is accessible via the
function connman_setting_get_uint_list().
If this option is not specified, the default technologies to
autoconnect are wifi, ethernet and cellular just like before.
Diffstat (limited to 'include')
-rw-r--r-- | include/setting.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/setting.h b/include/setting.h index 3ea631a8..2e81d6ea 100644 --- a/include/setting.h +++ b/include/setting.h @@ -22,12 +22,15 @@ #ifndef __CONNMAN_SETTING_H #define __CONNMAN_SETTING_H +#include <connman/types.h> + #ifdef __cplusplus extern "C" { #endif connman_bool_t connman_setting_get_bool(const char *key); char **connman_setting_get_string_list(const char *key); +unsigned int *connman_setting_get_uint_list(const char *key); #ifdef __cplusplus } |