summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNishanth V <nishanth.v@intel.com>2016-03-31 09:51:42 +0530
committerDenis Kenzior <denkenz@gmail.com>2016-03-31 09:46:27 -0500
commitef5acf0c8d941ae1a124ab141f8455f4d1d37d98 (patch)
tree1d33cf905fe6a8b16ddb98b1a47b97a8ac8bd7f4 /include
parente5e6add6adef82cdeeefa3f6c4ee22b3ab34d962 (diff)
downloadofono-ef5acf0c8d941ae1a124ab141f8455f4d1d37d98.tar.gz
include: Add netmon changes
Diffstat (limited to 'include')
-rw-r--r--include/dbus.h1
-rw-r--r--include/netmon.h14
2 files changed, 15 insertions, 0 deletions
diff --git a/include/dbus.h b/include/dbus.h
index 3d39eff4..99d45d65 100644
--- a/include/dbus.h
+++ b/include/dbus.h
@@ -60,6 +60,7 @@ extern "C" {
#define OFONO_GNSS_POSR_AGENT_INTERFACE "org.ofono.PositioningRequestAgent"
#define OFONO_HANDSFREE_INTERFACE OFONO_SERVICE ".Handsfree"
#define OFONO_SIRI_INTERFACE OFONO_SERVICE ".Siri"
+#define OFONO_NETMON_INTERFACE OFONO_SERVICE ".NetworkMonitor"
/* CDMA Interfaces */
#define OFONO_CDMA_VOICECALL_MANAGER_INTERFACE "org.ofono.cdma.VoiceCallManager"
diff --git a/include/netmon.h b/include/netmon.h
index 324d2f7f..a8390c41 100644
--- a/include/netmon.h
+++ b/include/netmon.h
@@ -77,6 +77,20 @@ void ofono_netmon_serving_cell_notify(struct ofono_netmon *netmon,
enum ofono_netmon_cell_type type,
int info_type, ...);
+int ofono_netmon_driver_register(const struct ofono_netmon_driver *d);
+
+void ofono_netmon_driver_unregister(const struct ofono_netmon_driver *d);
+
+struct ofono_netmon *ofono_netmon_create(struct ofono_modem *modem,
+ unsigned int vendor, const char *driver, void *data);
+
+void ofono_netmon_register(struct ofono_netmon *netmon);
+
+void ofono_netmon_remove(struct ofono_netmon *netmon);
+
+void ofono_netmon_set_data(struct ofono_netmon *netmon, void *data);
+
+void *ofono_netmon_get_data(struct ofono_netmon *netmon);
#ifdef __cplusplus
}