storage: Remove support for loading services from default.profile
[framework/connectivity/connman.git] / src / connman.h
index 8610d9b..b501296 100644 (file)
@@ -91,10 +91,10 @@ typedef void (* authentication_cb_t) (struct connman_service *service,
                                const char *name, int name_len,
                                const char *identifier, const char *secret,
                                gboolean wps, const char *wpspin,
-                               void *user_data);
+                               const char *error, void *user_data);
 typedef void (* browser_authentication_cb_t) (struct connman_service *service,
                                connman_bool_t authentication_done,
-                               void *user_data);
+                               const char *error, void *user_data);
 typedef void (* report_error_cb_t) (struct connman_service *service,
                                gboolean retry, void *user_data);
 int __connman_agent_request_passphrase_input(struct connman_service *service,
@@ -147,6 +147,9 @@ typedef void (*__connman_inet_rs_cb_t) (struct nd_router_advert *reply,
 
 int __connman_inet_ipv6_send_rs(int index, int timeout,
                        __connman_inet_rs_cb_t callback, void *user_data);
+
+int __connman_refresh_rs_ipv6(struct connman_network *network, int index);
+
 GSList *__connman_inet_ipv6_get_prefixes(struct nd_router_advert *hdr,
                                        unsigned int length);
 
@@ -201,7 +204,7 @@ int __connman_resolver_redo_servers(const char *interface);
 void __connman_storage_migrate(void);
 GKeyFile *__connman_storage_open_global();
 GKeyFile *__connman_storage_load_global();
-void __connman_storage_save_global(GKeyFile *keyfile);
+int __connman_storage_save_global(GKeyFile *keyfile);
 void __connman_storage_delete_global();
 
 GKeyFile *__connman_storage_load_config(const char *ident);
@@ -209,7 +212,7 @@ void __connman_storage_save_config(GKeyFile *keyfile, const char *ident);
 void __connman_storage_delete_config(const char *ident);
 
 GKeyFile *__connman_storage_open_service(const char *ident);
-void __connman_storage_save_service(GKeyFile *keyfile, const char *ident);
+int __connman_storage_save_service(GKeyFile *keyfile, const char *ident);
 GKeyFile *__connman_storage_load_provider(const char *identifier);
 void __connman_storage_save_provider(GKeyFile *keyfile, const char *identifier);
 char **__connman_storage_get_providers(void);
@@ -369,6 +372,8 @@ void __connman_timeserver_cleanup(void);
 
 char **__connman_timeserver_system_get();
 
+GSList *__connman_timeserver_add_list(GSList *server_list,
+               const char *timeserver);
 GSList *__connman_timeserver_get_all(struct connman_service *service);
 int __connman_timeserver_sync(struct connman_service *service);
 void __connman_timeserver_sync_next();
@@ -594,6 +599,8 @@ int __connman_service_set_favorite(struct connman_service *service,
                                                connman_bool_t favorite);
 int __connman_service_set_immutable(struct connman_service *service,
                                                connman_bool_t immutable);
+void __connman_service_set_userconnect(struct connman_service *service,
+                                               connman_bool_t userconnect);
 
 void __connman_service_set_string(struct connman_service *service,
                                        const char *key, const char *value);
@@ -641,6 +648,7 @@ void __connman_service_set_pac(struct connman_service *service,
 connman_bool_t __connman_service_is_hidden(struct connman_service *service);
 connman_bool_t __connman_service_is_split_routing(struct connman_service *service);
 int __connman_service_get_index(struct connman_service *service);
+void __connman_service_set_hidden(struct connman_service *service);
 void __connman_service_set_domainname(struct connman_service *service,
                                                const char *domainname);
 const char *__connman_service_get_domainname(struct connman_service *service);