diff options
Diffstat (limited to 'include/setting.h')
-rwxr-xr-x | include/setting.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/include/setting.h b/include/setting.h index f141bf68..4fb4957b 100755 --- a/include/setting.h +++ b/include/setting.h @@ -28,10 +28,20 @@ extern "C" { #endif -bool connman_setting_get_bool(const char *key); #if defined TIZEN_EXT +/* AP selection method to be used */ +typedef enum { + AP_SELECTION_METHOD_NORMAL = 0, + AP_SELECTION_METHOD_INS = 1, +} ap_selection_method_e; + +#define TIZEN_INS_ENABLED \ + (connman_setting_get_int("ApSelectionMethod") == AP_SELECTION_METHOD_INS) + int connman_setting_get_int(const char *key); #endif + +bool connman_setting_get_bool(const char *key); unsigned int connman_setting_get_uint(const char *key); char *connman_setting_get_string(const char *key); char **connman_setting_get_string_list(const char *key); |