Skip to contentSkip to conversation

include: Add netmon changes

PATCH In review Nishanth V 2 participants 2 messages Mar 31, 2016

lore
Share & tools
lore

Nishanth V

author
#0 lore raw

PATCH 1/6 include: Add netmon changes

---
 include/dbus.h   |  1 +
 include/netmon.h | 14 ++++++++++++++
 2 files changed, 15 insertions(+)
include/dbus.h +1 -0
index 3d39eff..99d45d6 100644
@@ -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"
include/netmon.h +14 -0
index 324d2f7..a8390c4 100644
@@ -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
 }
Signature · 1 line
1.9.1
#1 lore raw

Hi Nishanth,

Quoted 5 lines · Nishanth V
---
  include/dbus.h   |  1 +
  include/netmon.h | 14 ++++++++++++++
  2 files changed, 15 insertions(+)

Patches 1-5 have been applied. I did have to fix some minor style issues afterward.

Regards,
-Denis