diff options
author | Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> | 2012-07-04 16:48:04 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-07-05 09:04:53 +0200 |
commit | c1f3036eeabe20903d077f5e0069d644d93d5bfd (patch) | |
tree | a4df5af45c926e74eff06f6674121713cd8e549d /gsupplicant/gsupplicant.h | |
parent | dcbd6fa4220183280b5b94683cfe7f3033009d37 (diff) | |
download | connman-c1f3036eeabe20903d077f5e0069d644d93d5bfd.tar.gz connman-c1f3036eeabe20903d077f5e0069d644d93d5bfd.tar.bz2 connman-c1f3036eeabe20903d077f5e0069d644d93d5bfd.zip |
gsupplicant: Adapt set country callback to return a result
This is necessary for the next coming patches, to fix country setting by interface
Diffstat (limited to 'gsupplicant/gsupplicant.h')
-rw-r--r-- | gsupplicant/gsupplicant.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gsupplicant/gsupplicant.h b/gsupplicant/gsupplicant.h index 5dc53642..0f586a11 100644 --- a/gsupplicant/gsupplicant.h +++ b/gsupplicant/gsupplicant.h @@ -162,7 +162,9 @@ struct _GSupplicantScanParams { typedef struct _GSupplicantScanParams GSupplicantScanParams; /* global API */ -typedef void (*GSupplicantCountryCallback) (void *user_data); +typedef void (*GSupplicantCountryCallback) (int result, + const char *alpha2, + void *user_data); int g_supplicant_set_country(const char *alpha2, GSupplicantCountryCallback callback, |