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;
}
}
-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;
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)
{
}
}
-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;
++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) {
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);
#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);
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);