aboutsummaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
authorDmitry Tarnyagin <dmitry.tarnyagin@stericsson.com>2010-10-19 17:12:27 +0200
committerSverre Vegge <sverre.vegge@stericsson.com>2010-11-26 22:42:56 +0100
commit851005be60a5f44b87938d3a0d47af1344fed6a3 (patch)
tree517fe865584a0ad1d1fc628684a066192955f7eb /misc.h
parentfbe6c7d11a97d3214d835ba2bb4767ba4e58d90b (diff)
downloadu300-851005be60a5f44b87938d3a0d47af1344fed6a3.tar.gz
OEM: Frequency notification support.
Implemented as OEM RIL extension. RIL subscribes to the frequency update messages using AT*EFBR. It also monitors *EFBR unsolicited messages and reports them to the Java OEM RIL. Signed-off-by: Sverre Vegge <sverre.vegge@stericsson.com>
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/misc.h b/misc.h
index 6595ea9..b5e0dcc 100644
--- a/misc.h
+++ b/misc.h
@@ -24,6 +24,10 @@
#ifndef _U300_RIL_MISC_H
#define _U300_RIL_MISC_H 1
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct tlv {
unsigned tag;
const char *data;
@@ -54,4 +58,7 @@ int parseTlv(/*in*/ const char *stream,
#define TLV_DATA(tlv, pos) (((unsigned)char2nib(tlv.data[(pos) * 2 + 0]) << 4) | \
((unsigned)char2nib(tlv.data[(pos) * 2 + 1]) << 0))
+#ifdef __cplusplus
+}
+#endif
#endif