X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fconnman.h;h=6b81477a8afab56bae2d3a243519ea61778c8a38;hb=6caa1417f6c8b2e1460915f2372f333c4b218ac7;hp=96c3ed665c81ee1f3d9596be01d00a01f14206fa;hpb=ba052f1fa25d330b188027f41b4c88a23cc02431;p=platform%2Fupstream%2Fconnman.git diff --git a/src/connman.h b/src/connman.h index 96c3ed6..6b81477 100644 --- a/src/connman.h +++ b/src/connman.h @@ -206,6 +206,7 @@ int __connman_storage_save_global(GKeyFile *keyfile); void __connman_storage_delete_global(void); GKeyFile *__connman_storage_load_config(const char *ident); +GKeyFile *__connman_storage_load_provider_config(const char *ident); GKeyFile *__connman_storage_open_service(const char *ident); int __connman_storage_save_service(GKeyFile *keyfile, const char *ident); @@ -361,6 +362,8 @@ int __connman_ipconfig_load(struct connman_ipconfig *ipconfig, int __connman_ipconfig_save(struct connman_ipconfig *ipconfig, GKeyFile *keyfile, const char *identifier, const char *prefix); gboolean __connman_ipconfig_ipv6_privacy_enabled(struct connman_ipconfig *ipconfig); +int __connman_ipconfig_ipv6_set_privacy(struct connman_ipconfig *ipconfig, + const char *value); int __connman_ipconfig_set_rp_filter(); void __connman_ipconfig_unset_rp_filter(int old_value); @@ -556,7 +559,7 @@ int __connman_provider_indicate_state(struct connman_provider *provider, int __connman_provider_indicate_error(struct connman_provider *provider, enum connman_provider_error error); int __connman_provider_connect(struct connman_provider *provider); -int __connman_provider_remove(const char *path); +int __connman_provider_remove_by_path(const char *path); void __connman_provider_cleanup(void); int __connman_provider_init(void); @@ -600,8 +603,12 @@ int __connman_service_set_favorite_delayed(struct connman_service *service, gboolean delay_ordering); int __connman_service_set_immutable(struct connman_service *service, connman_bool_t immutable); +int __connman_service_set_ignore(struct connman_service *service, + connman_bool_t ignore); void __connman_service_set_userconnect(struct connman_service *service, connman_bool_t userconnect); +void __connman_service_set_search_domains(struct connman_service *service, + char **domains); void __connman_service_set_string(struct connman_service *service, const char *key, const char *value); @@ -650,6 +657,8 @@ void __connman_service_nameserver_add_routes(struct connman_service *service, const char *gw); void __connman_service_nameserver_del_routes(struct connman_service *service, enum connman_ipconfig_type type); +void __connman_service_set_timeservers(struct connman_service *service, + char **timeservers); int __connman_service_timeserver_append(struct connman_service *service, const char *timeserver); int __connman_service_timeserver_remove(struct connman_service *service, @@ -678,6 +687,9 @@ int __connman_service_set_passphrase(struct connman_service *service, const char *__connman_service_get_passphrase(struct connman_service *service); void __connman_service_set_agent_passphrase(struct connman_service *service, const char *agent_passphrase); +int __connman_service_reset_ipconfig(struct connman_service *service, + enum connman_ipconfig_type type, DBusMessageIter *array, + enum connman_service_state *new_state); void __connman_service_notify(struct connman_service *service, unsigned int rx_packets, unsigned int tx_packets, @@ -778,6 +790,7 @@ int __connman_stats_get(struct connman_service *service, connman_bool_t roaming, struct connman_stats_data *data); +int __connman_iptables_dump(const char *table_name); int __connman_iptables_new_chain(const char *table_name, const char *chain); int __connman_iptables_delete_chain(const char *table_name, @@ -790,14 +803,21 @@ int __connman_iptables_change_policy(const char *table_name, int __connman_iptables_append(const char *table_name, const char *chain, const char *rule_spec); +int __connman_iptables_insert(const char *table_name, + const char *chain, + const char *rule_spec); int __connman_iptables_delete(const char *table_name, const char *chain, const char *rule_spec); +typedef void (*connman_iptables_iterate_chains_cb_t) (const char *chain_name, + void *user_data); +int __connman_iptables_iterate_chains(const char *table_name, + connman_iptables_iterate_chains_cb_t cb, + void *user_data); + int __connman_iptables_init(void); void __connman_iptables_cleanup(void); -int __connman_iptables_command(const char *format, ...) - __attribute__((format(printf, 1, 2))); int __connman_iptables_commit(const char *table_name); int __connman_dnsproxy_init(void);