7 A Linux/Unix toolset and driver for Nokia mobile phones.
9 Copyright (C) 2001 Pawe³ Kot <pkot@linuxnews.pl>
11 Released under the terms of the GNU GPL, see file COPYING for more details.
13 Include file for encoding functions.
16 Revision 1.1.1.1 2001/11/25 21:59:21 short
17 :pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Sun Nov 25 22:56 CET 2001
19 Revision 1.2 2001/11/08 16:34:20 pkot
20 Updates to work with new libsms
22 Revision 1.1 2001/10/24 22:37:25 pkot
23 Moved encoding functions to a separate file
28 #ifndef __gsm_encoding_h_
29 #define __gsm_encoding_h_
31 int Unpack7BitCharacters(int offset, int in_length, int out_length,
32 unsigned char *input, unsigned char *output);
33 int Pack7BitCharacters(int offset, unsigned char *input, unsigned char *output);
35 void DecodeUnicode (unsigned char* dest, const unsigned char* src, int len);
36 void EncodeUnicode (unsigned char* dest, const unsigned char* src, int len);
38 void DecodeAscii (unsigned char* dest, const unsigned char* src, int len);
39 void EncodeAscii (unsigned char* dest, const unsigned char* src, int len);