diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2010-12-09 01:33:40 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-12-15 20:43:49 +0100 |
commit | aae3b737cd558459673f3d3896188d169e7bd50f (patch) | |
tree | fee8d4a4374990f25e7f98a43220daa3324e2320 /gsupplicant/gsupplicant.h | |
parent | 3a468316c62172f89e3b4d2a9750c46466c7f477 (diff) | |
download | connman-aae3b737cd558459673f3d3896188d169e7bd50f.tar.gz connman-aae3b737cd558459673f3d3896188d169e7bd50f.tar.bz2 connman-aae3b737cd558459673f3d3896188d169e7bd50f.zip |
gsupplicant: Country setting implementation
This implements the Country wpa_supplicant global property setting, in
order to be able to set a regulatory domain.
Diffstat (limited to 'gsupplicant/gsupplicant.h')
-rw-r--r-- | gsupplicant/gsupplicant.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gsupplicant/gsupplicant.h b/gsupplicant/gsupplicant.h index c6ecf788..1da96614 100644 --- a/gsupplicant/gsupplicant.h +++ b/gsupplicant/gsupplicant.h @@ -114,6 +114,13 @@ struct _GSupplicantSSID { typedef struct _GSupplicantSSID GSupplicantSSID; +/* global API */ +typedef void (*GSupplicantCountryCallback) (void *user_data); + +int g_supplicant_set_country(const char *alpha2, + GSupplicantCountryCallback callback, + const void *user_data); + /* Interface API */ struct _GSupplicantInterface; |