summaryrefslogtreecommitdiff
path: root/gsupplicant/gsupplicant.h
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2012-07-04 16:48:04 +0300
committerMarcel Holtmann <marcel@holtmann.org>2012-07-05 09:04:53 +0200
commitc1f3036eeabe20903d077f5e0069d644d93d5bfd (patch)
treea4df5af45c926e74eff06f6674121713cd8e549d /gsupplicant/gsupplicant.h
parentdcbd6fa4220183280b5b94683cfe7f3033009d37 (diff)
downloadconnman-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.h4
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,