summaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-06-05 17:35:50 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-06-05 19:58:27 -0500
commit219a94a50212ae506329ee52aeb17d6cba4ee587 (patch)
treeef887ed8f1b65ed6da74e0267e2bf3d5c477621f /src/util.h
parent86f5712c2712c4cd61a5a71c61f3dfcc08dbca1b (diff)
downloadofono-219a94a50212ae506329ee52aeb17d6cba4ee587.tar.bz2
Only USSD needs the special <cr> handling
Apparently all Cell Broadcasts are always 88 bytes long, with a 6 byte header and 82 byte payload. <cr> character is used as a terminator and padding for the unused payload
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util.h b/src/util.h
index 92034c45..3b971098 100644
--- a/src/util.h
+++ b/src/util.h
@@ -41,23 +41,23 @@ char *encode_hex(const unsigned char *in, long len,
unsigned char terminator);
unsigned char *unpack_7bit_own_buf(const unsigned char *in, long len,
- int byte_offset, gboolean cb,
+ int byte_offset, gboolean ussd,
long max_to_unpack, long *items_written,
unsigned char terminator,
unsigned char *buf);
unsigned char *unpack_7bit(const unsigned char *in, long len, int byte_offset,
- gboolean cb, long max_to_unpack,
+ gboolean ussd, long max_to_unpack,
long *items_written, unsigned char terminator);
unsigned char *pack_7bit_own_buf(const unsigned char *in, long len,
- int byte_offset, gboolean cb,
+ int byte_offset, gboolean ussd,
long *items_written,
unsigned char terminator,
unsigned char *buf);
unsigned char *pack_7bit(const unsigned char *in, long len, int byte_offset,
- gboolean cb_or_ussd,
+ gboolean ussd,
long *items_written, unsigned char terminator);
#endif