Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Unified Diff: src/connman.h

Issue 6731067: flimflam: revise multi-profile support to pin objects to a profile (Closed) Base URL: ssh://gitrw.chromium.org:9222/flimflam.git@master
Patch Set: fix diff Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/notifier.h ('k') | src/manager.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/connman.h
diff --git a/src/connman.h b/src/connman.h
index d9f5f6e7268dbaf871b25deaafb9b980f86dadeb..4d8af2d17167fc93ffe5dce985cfa38994095f1c 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -359,6 +359,9 @@ int __connman_profile_append_hidden_ssids(GSList **hidden_ssids,
void (*append_hidden_ssids)(GKeyFile *keyfile, GSList **hidden_ssids));
void __connman_profile_list(DBusMessageIter *iter, void *);
+const char *__connman_profile_get_path(const struct connman_profile *profile);
+struct connman_profile *__connman_profile_lookup_profile(const char *path);
+struct connman_profile *__connman_profile_active_profile(void);
const struct connman_storage_ident *__connman_profile_active_ident(void);
const char *__connman_profile_active_path(void);
@@ -368,7 +371,10 @@ int __connman_profile_push(const char *ident, const char *name,
const char **path);
int __connman_profile_pop(const char *ident);
-void __connman_profile_changed(gboolean delayed);
+int __connman_profile_delete_entry(struct connman_profile *profile,
+ const char *group);
+
+void __connman_profile_changed(struct connman_profile *, gboolean delayed);
int __connman_profile_add_device(struct connman_device *device);
int __connman_profile_remove_device(struct connman_device *device);
@@ -440,7 +446,9 @@ int __connman_service_indicate_active(struct connman_service *service,
connman_bool_t __connman_service_check_prepared(const struct connman_service *);
-void __connman_service_invalidate_profile(const struct connman_storage_ident *);
+struct connman_profile *__connman_service_get_profile(struct connman_service *);
+void __connman_service_set_profile(struct connman_service *service,
+ struct connman_profile *profile);
enum connman_service_type connman_service_string2type(const char *str);
void __connman_service_reset(struct connman_service *service);
@@ -500,6 +508,8 @@ void __connman_notifier_default_changed(struct connman_service *service);
void __connman_notifier_service_state_changed(struct connman_service *service);
void __connman_notifier_system_suspend(void);
void __connman_notifier_system_resume(void);
+void __connman_notifier_profile_push(struct connman_profile *);
+void __connman_notifier_profile_pop(struct connman_profile *);
connman_bool_t __connman_notifier_is_enabled(enum connman_service_type type);
« no previous file with comments | « include/notifier.h ('k') | src/manager.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698