summaryrefslogtreecommitdiffstats
path: root/src/ofono.h
diff options
context:
space:
mode:
authorAki Niemi <aki.niemi@nokia.com>2010-05-18 17:07:54 +0300
committerAki Niemi <aki.niemi@nokia.com>2010-05-19 10:46:18 +0300
commitb8ec7553efd0108cf453e763af5ba19f537366b2 (patch)
treec6f65f439ee3d1cc877cec85da958ab9c53d0046 /src/ofono.h
parent1d7fe6aa5a4958ff2723f02031774c08f3d3fee6 (diff)
downloadofono-b8ec7553efd0108cf453e763af5ba19f537366b2.tar.bz2
Add network time support
Adding a new notify function in the netreg atom for notifying a received Network Identification and Timezone (NITZ) indication. This data is consumed via a nettime plugin, of which there is also an example.
Diffstat (limited to 'src/ofono.h')
-rw-r--r--src/ofono.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ofono.h b/src/ofono.h
index 7b13ccee..14e804b1 100644
--- a/src/ofono.h
+++ b/src/ofono.h
@@ -115,6 +115,7 @@ enum ofono_atom_type {
OFONO_ATOM_TYPE_GPRS_CONTEXT = 17,
OFONO_ATOM_TYPE_RADIO_SETTINGS = 18,
OFONO_ATOM_TYPE_STK = 19,
+ OFONO_ATOM_TYPE_NETTIME = 20,
};
enum ofono_atom_watch_condition {
@@ -264,3 +265,10 @@ struct sms;
void __ofono_message_waiting_mwi(struct ofono_message_waiting *mw,
struct sms *sms, gboolean *out_discard);
+
+#include <ofono/nettime.h>
+
+void __ofono_nettime_probe_drivers(struct ofono_modem *modem);
+
+void __ofono_nettime_info_received(struct ofono_modem *modem,
+ struct ofono_network_time *info);