diff options
author | Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> | 2010-10-19 17:12:27 +0200 |
---|---|---|
committer | Sverre Vegge <sverre.vegge@stericsson.com> | 2010-11-26 22:42:56 +0100 |
commit | 851005be60a5f44b87938d3a0d47af1344fed6a3 (patch) | |
tree | 517fe865584a0ad1d1fc628684a066192955f7eb /misc.h | |
parent | fbe6c7d11a97d3214d835ba2bb4767ba4e58d90b (diff) | |
download | u300-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.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |