summaryrefslogtreecommitdiff
path: root/src/connman.h
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2012-06-05 11:24:10 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-06-11 13:03:21 +0300
commitc8d8aefdc7a7194e5dad7bb14d346a0f15385866 (patch)
tree6119a52d987d561d4269d59c8640ed6c7ec1f3c2 /src/connman.h
parenta43818bdc307dbc80f306562ba43df17d38a98e3 (diff)
downloadconnman-c8d8aefdc7a7194e5dad7bb14d346a0f15385866.tar.gz
connman-c8d8aefdc7a7194e5dad7bb14d346a0f15385866.tar.bz2
connman-c8d8aefdc7a7194e5dad7bb14d346a0f15385866.zip
service: Add function to set the favorite flag
Add a function that sets favorite flag but which does not touch the ordering of service sequence. This is needed when we check provisioned config file which traverses the service sequence. If a proper provisioned service is found, then it is marked as favorite but in this case we must not do any ordering of service sequence because we are in the middle of sequence traversal.
Diffstat (limited to 'src/connman.h')
-rw-r--r--src/connman.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/connman.h b/src/connman.h
index fb2be57c..1d25cde3 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -595,6 +595,9 @@ const char *__connman_service_get_phase2(struct connman_service *service);
connman_bool_t __connman_service_wps_enabled(struct connman_service *service);
int __connman_service_set_favorite(struct connman_service *service,
connman_bool_t favorite);
+int __connman_service_set_favorite_delayed(struct connman_service *service,
+ connman_bool_t favorite,
+ gboolean delay_ordering);
int __connman_service_set_immutable(struct connman_service *service,
connman_bool_t immutable);
void __connman_service_set_userconnect(struct connman_service *service,