~ubuntu-branches/debian/jessie/smstools/jessie

« back to all changes in this revision

Viewing changes to src/charset.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Wagner
  • Date: 2010-06-21 10:19:52 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20100621101952-pz5h5zctan8vumbi
Tags: 3.1.10-0.1
* Non-maintainer upload, as requested by maintainer
* New Upstream version (Closes: #586643)
* Bump Standards to 3.8.4, no changes needed
* Define source format 1.0 in debian/source/format
* Add $remote_fs as dependency for Required-Start and Required-Stop in the
  init script, removed $local_fs, which is implicit

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
//int iso2gsm(char* source, int size, char* destination, int max);
38
38
 
39
39
//int unicode2sms(char* source, int size, char* destination, int max);
 
40
 
 
41
int decode_7bit_packed(char *text, char *dest, size_t size_dest);
 
42
int encode_7bit_packed(char *text, char *dest, size_t size_dest);
 
43
 
 
44
#ifndef USE_ICONV
40
45
int decode_ucs2(char *buffer, int len);
 
46
#else
 
47
int iconv_init(void);
 
48
size_t iconv_utf2ucs(char* buf, size_t len, size_t maxlen);
 
49
size_t iconv_ucs2utf(char* buf, size_t len, size_t maxlen);
 
50
size_t iconv_ucs2utf_chk(char *buf, size_t len, size_t maxlen);
 
51
int is_ascii_gsm(char* buf, size_t len);
 
52
#endif
41
53
 
42
54
#endif