diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2014-01-01 14:33:19 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2014-01-01 14:33:19 +0000 |
commit | 6ebc058f473085a2fa9884fe2fd7f4a9959be915 (patch) | |
tree | f514e3d9eadd1c89ad434cc00d5d20fda6168ef1 /epan/dissectors/packet-gsm_sms.h | |
parent | e504cf945bb54c3c73efbaee51acaa968179586a (diff) | |
download | wireshark-6ebc058f473085a2fa9884fe2fd7f4a9959be915.tar.gz |
Add proto_tree_add_ts_23_038_7bits_item() / tvb_get_ts_23_038_7bits_string() functions and update dissectors to use it.
Remove gsm_sms_char_7bit_unpack() / gsm_sms_chars_to_utf8() functions.
Update documentation a bit.
svn path=/trunk/; revision=54534
Diffstat (limited to 'epan/dissectors/packet-gsm_sms.h')
-rw-r--r-- | epan/dissectors/packet-gsm_sms.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/epan/dissectors/packet-gsm_sms.h b/epan/dissectors/packet-gsm_sms.h index f1e439c51f..99d5e10053 100644 --- a/epan/dissectors/packet-gsm_sms.h +++ b/epan/dissectors/packet-gsm_sms.h @@ -24,31 +24,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -/* Convert a 7-bit GSM SMS packed string into an unpacked string. - * - * @param offset Bit offset of the start of the string. - * @param in_length Length of the packed string in bytes. - * @param out_length Length of the output string in bytes. - * @param input The string to unpack - * @param output The buffer for the output string. This buffer must - * be pre-allocated and be at least out_length characters - * long, or out_length + 1 if you're planning on adding a - * terminating '\0'. - * @return The number of unpacked characters. - */ - -extern int gsm_sms_char_7bit_unpack(unsigned int offset, unsigned int in_length, unsigned int out_length, - const guint8 *input, unsigned char *output); - -/* Convert an unpacked SMS string to UTF-8. - * - * @param src The string to convert. - * @param len Length of the string to convert, in bytes. - * @return An ep_allocated UTF-8 string. - */ - -extern gchar *gsm_sms_chars_to_utf8(const unsigned char* src, int len); - enum character_set { OTHER, GSM_7BITS, |