From 219a94a50212ae506329ee52aeb17d6cba4ee587 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 5 Jun 2009 17:35:50 -0500 Subject: Only USSD needs the special handling Apparently all Cell Broadcasts are always 88 bytes long, with a 6 byte header and 82 byte payload. character is used as a terminator and padding for the unused payload --- src/util.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/util.h') 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 -- cgit v1.2.3