diff options
author | Mohamed Abbas <mabbas@linux.intel.com> | 2011-02-03 15:46:27 -0800 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-02-04 10:57:40 +0100 |
commit | 73d4777d5b8e0c91b2d0d68433bde98c8f445686 (patch) | |
tree | 4330f16716143e9c28986d960c46cc41872e0183 /include/location.h | |
parent | db28bfb511fcecf6e40a960946bf0be9fee5ad6f (diff) | |
download | connman-73d4777d5b8e0c91b2d0d68433bde98c8f445686.tar.gz connman-73d4777d5b8e0c91b2d0d68433bde98c8f445686.tar.bz2 connman-73d4777d5b8e0c91b2d0d68433bde98c8f445686.zip |
location: Allow to get the service for a location
Add new function to return the service for a location.
Diffstat (limited to 'include/location.h')
-rw-r--r-- | include/location.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/location.h b/include/location.h index 662d8cdd..e4efaafa 100644 --- a/include/location.h +++ b/include/location.h @@ -57,6 +57,9 @@ void connman_location_report_result(struct connman_location *location, void *connman_location_get_data(struct connman_location *location); void connman_location_set_data(struct connman_location *location, void *data); +struct connman_service *connman_location_get_service( + struct connman_location *location); + struct connman_location_driver { const char *name; enum connman_service_type type; |