From 5a5c46c5d6ed2fe46a162e286fb3ba674c309afc Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Fri, 10 Dec 2010 21:13:04 +0100 Subject: [PATCH] technology: Export set_regdom to plugins The oFono plugin will be the first user. --- include/technology.h | 1 + src/connman.h | 1 - src/technology.c | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/technology.h b/include/technology.h index 9cf4656..ad6d43e 100644 --- a/include/technology.h +++ b/include/technology.h @@ -38,6 +38,7 @@ struct connman_technology; void connman_technology_tethering_notify(struct connman_technology *technology, connman_bool_t enabled); +int connman_technology_set_regdom(const char *alpha2); void connman_technology_regdom_notify(struct connman_technology *technology, const char *alpha2); diff --git a/src/connman.h b/src/connman.h index 03eda92..7c926fe 100644 --- a/src/connman.h +++ b/src/connman.h @@ -319,7 +319,6 @@ void __connman_technology_remove_interface(enum connman_service_type type, int index, const char *name, const char *ident); int __connman_technology_enable_tethering(const char *bridge); int __connman_technology_disable_tethering(const char *bridge); -int __connman_technology_set_regdom(const char *alpha2); connman_bool_t __connman_technology_get_blocked(enum connman_service_type type); diff --git a/src/technology.c b/src/technology.c index 66fec98..ff1cf78 100644 --- a/src/technology.c +++ b/src/technology.c @@ -261,7 +261,7 @@ void connman_technology_regdom_notify(struct connman_technology *technology, technology->regdom = g_strdup(alpha2); } -int __connman_technology_set_regdom(const char *alpha2) +int connman_technology_set_regdom(const char *alpha2) { GSList *list; -- 2.7.4