summaryrefslogtreecommitdiffstats
path: root/include/netreg.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 /include/netreg.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 'include/netreg.h')
-rw-r--r--include/netreg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/netreg.h b/include/netreg.h
index 00794776..88609604 100644
--- a/include/netreg.h
+++ b/include/netreg.h
@@ -93,6 +93,8 @@ struct ofono_netreg_driver {
void ofono_netreg_strength_notify(struct ofono_netreg *netreg, int strength);
void ofono_netreg_status_notify(struct ofono_netreg *netreg, int status,
int lac, int ci, int tech);
+void ofono_netreg_time_notify(struct ofono_netreg *netreg,
+ struct ofono_network_time *info);
int ofono_netreg_driver_register(const struct ofono_netreg_driver *d);
void ofono_netreg_driver_unregister(const struct ofono_netreg_driver *d);