summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-07-29 12:59:39 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-07-29 16:44:16 -0500
commit35a43b8367bf6b25387d3cf73534d81937bd7b02 (patch)
tree8fa566deeade0514a698e2080266bf5597807d7f
parent89af1fcabedb595789c17062abc67314c1c08e07 (diff)
downloadofono-35a43b8367bf6b25387d3cf73534d81937bd7b02.tar.bz2
Rename internal ofono history funcs to __ofono
-rw-r--r--src/history.c8
-rw-r--r--src/manager.c4
-rw-r--r--src/ofono.h8
-rw-r--r--src/voicecall.c4
4 files changed, 12 insertions, 12 deletions
diff --git a/src/history.c b/src/history.c
index 1720cf90..4f1284b3 100644
--- a/src/history.c
+++ b/src/history.c
@@ -59,7 +59,7 @@ static struct ofono_history_context *history_context_create(
return context;
}
-void ofono_history_probe_drivers(struct ofono_modem *modem)
+void __ofono_history_probe_drivers(struct ofono_modem *modem)
{
GSList *l;
struct ofono_history_context *context;
@@ -78,7 +78,7 @@ void ofono_history_probe_drivers(struct ofono_modem *modem)
}
}
-void ofono_history_remove_drivers(struct ofono_modem *modem)
+void __ofono_history_remove_drivers(struct ofono_modem *modem)
{
GSList *l;
struct ofono_history_context *context;
@@ -96,7 +96,7 @@ void ofono_history_remove_drivers(struct ofono_modem *modem)
modem->history_contexts = NULL;
}
-void ofono_history_call_ended(struct ofono_modem *modem,
+void __ofono_history_call_ended(struct ofono_modem *modem,
const struct ofono_call *call,
time_t start, time_t end)
{
@@ -111,7 +111,7 @@ void ofono_history_call_ended(struct ofono_modem *modem,
}
}
-void ofono_history_call_missed(struct ofono_modem *modem,
+void __ofono_history_call_missed(struct ofono_modem *modem,
const struct ofono_call *call, time_t when)
{
struct ofono_history_context *context;
diff --git a/src/manager.c b/src/manager.c
index 0c8f49bc..b8e250c6 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -77,7 +77,7 @@ struct ofono_modem *ofono_modem_register(struct ofono_modem_attribute_ops *ops)
++g_next_modem_id;
- ofono_history_probe_drivers(modem);
+ __ofono_history_probe_drivers(modem);
g_modem_list = g_slist_prepend(g_modem_list, modem);
if (modem_list(&modems) == 0) {
@@ -100,7 +100,7 @@ int ofono_modem_unregister(struct ofono_modem *m)
if (modem == NULL)
return -1;
- ofono_history_remove_drivers(modem);
+ __ofono_history_remove_drivers(modem);
modem_remove(modem);
g_modem_list = g_slist_remove(g_modem_list, modem);
diff --git a/src/ofono.h b/src/ofono.h
index 9197337f..434f7ba0 100644
--- a/src/ofono.h
+++ b/src/ofono.h
@@ -59,12 +59,12 @@ void __ofono_plugin_cleanup(void);
#include <ofono/history.h>
-void ofono_history_probe_drivers(struct ofono_modem *modem);
-void ofono_history_remove_drivers(struct ofono_modem *modem);
+void __ofono_history_probe_drivers(struct ofono_modem *modem);
+void __ofono_history_remove_drivers(struct ofono_modem *modem);
-void ofono_history_call_ended(struct ofono_modem *modem,
+void __ofono_history_call_ended(struct ofono_modem *modem,
const struct ofono_call *call,
time_t start, time_t end);
-void ofono_history_call_missed(struct ofono_modem *modem,
+void __ofono_history_call_missed(struct ofono_modem *modem,
const struct ofono_call *call, time_t when);
diff --git a/src/voicecall.c b/src/voicecall.c
index f5a969c6..07b254f1 100644
--- a/src/voicecall.c
+++ b/src/voicecall.c
@@ -1248,9 +1248,9 @@ void ofono_voicecall_disconnected(struct ofono_modem *modem, int id,
voicecall_set_call_status(modem, call, CALL_STATUS_DISCONNECTED);
if (prev_status == CALL_STATUS_INCOMING)
- ofono_history_call_missed(modem, call->call, ts);
+ __ofono_history_call_missed(modem, call->call, ts);
else
- ofono_history_call_ended(modem, call->call,
+ __ofono_history_call_ended(modem, call->call,
call->detect_time, ts);
voicecall_dbus_unregister(modem, call);