Open Source Telephony
 help / color / mirror / Atom feed
From: Nishanth V <nishanth.v@intel.com>
To: ofono@ofono.org
Subject: [PATCH 1/6] include: Add netmon changes
Date: Thu, 31 Mar 2016 09:51:42 +0530	[thread overview]
Message-ID: <1459398102-5757-1-git-send-email-nishanth.v@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1504 bytes --]

---
 include/dbus.h   |  1 +
 include/netmon.h | 14 ++++++++++++++
 2 files changed, 15 insertions(+)

diff --git a/include/dbus.h b/include/dbus.h
index 3d39eff..99d45d6 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 324d2f7..a8390c4 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
 }
-- 
1.9.1


             reply	other threads:[~2016-03-31  4:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-31  4:21 Nishanth V [this message]
2016-03-31 15:03 ` [PATCH 1/6] include: Add netmon changes Denis Kenzior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1459398102-5757-1-git-send-email-nishanth.v@intel.com \
    --to=nishanth.v@intel.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox