6 #if defined(_MSC_VER) && defined(__cplusplus) 46 void DecodeBCD (
unsigned char *dest,
const unsigned char *src,
size_t len);
47 void EncodeBCD (
unsigned char *dest,
const unsigned char *src,
size_t len,
gboolean fill);
50 void DecodeUTF7 (
unsigned char *dest,
const unsigned char *src,
size_t len);
54 void DecodeISO88591 (
unsigned char *dest,
const char *src,
size_t len);
60 void DecodeXMLUTF8(
unsigned char *dest,
const char *src,
size_t len);
63 void EncodeBASE64 (
const unsigned char *Input,
char *Output,
const size_t Length);
64 int DecodeBASE64 (
const char *Input,
unsigned char *Output,
const size_t Length);
67 void EncodeDefault (
unsigned char *dest,
const unsigned char *src,
size_t *len,
gboolean UseExtensions,
unsigned char *ExtraAlphabet);
68 void DecodeDefault (
unsigned char *dest,
const unsigned char *src,
size_t len,
gboolean UseExtensions,
unsigned char *ExtraAlphabet);
73 const unsigned char *input,
unsigned char *output);
104 void BufferAlign (
unsigned char *Destination,
size_t *CurrentBit);
107 void AddBuffer (
unsigned char *Destination,
size_t *CurrentBit,
unsigned char *Source,
size_t BitsToProcess);
108 void AddBufferByte(
unsigned char *Destination,
size_t *CurrentBit,
unsigned char Source,
size_t BitsToProcess);
110 void GetBuffer (
unsigned char *Source,
size_t *CurrentBit,
unsigned char *Destination,
size_t BitsToProcess);
111 void GetBufferInt (
unsigned char *Source,
size_t *CurrentBit,
int *integer,
size_t BitsToProcess);
112 void GetBufferI (
unsigned char *Source,
size_t *CurrentBit,
int *result,
size_t BitsToProcess);
114 int GetBit (
unsigned char *Buffer,
size_t BitNum);
115 int SetBit (
unsigned char *Buffer,
size_t BitNum);
116 int ClearBit (
unsigned char *Buffer,
size_t BitNum);
156 gboolean IconvDecode(
const char *charset,
const char *input,
const size_t inlen,
unsigned char *output,
size_t outlen);
157 gboolean IconvEncode(
const char *charset,
const unsigned char *input,
const size_t inlen,
char *output,
size_t outlen);
160 #if defined(_MSC_VER) && defined(__cplusplus)
unsigned char EncodeWithBCDAlphabet(int value)
int ClearBit(unsigned char *Buffer, size_t BitNum)
int SetBit(unsigned char *Buffer, size_t BitNum)
void AddBuffer(unsigned char *Destination, size_t *CurrentBit, unsigned char *Source, size_t BitsToProcess)
void EncodeUnicodeSpecialNOKIAChars(unsigned char *dest, const unsigned char *src, size_t len)
void BufferAlignNumber(size_t *CurrentBit)
int DecodeWithBCDAlphabet(unsigned char value)
GSM_Error GSM_UnpackSemiOctetNumber(GSM_Debug_Info *di, unsigned char *retval, const unsigned char *Number, size_t *pos, size_t bufferlength, gboolean semioctet)
void AddBufferByte(unsigned char *Destination, size_t *CurrentBit, unsigned char Source, size_t BitsToProcess)
gboolean myiswspace(unsigned const char *src)
void GetBufferInt(unsigned char *Source, size_t *CurrentBit, int *integer, size_t BitsToProcess)
void GetBufferI(unsigned char *Source, size_t *CurrentBit, int *result, size_t BitsToProcess)
void DecodeXMLUTF8(unsigned char *dest, const char *src, size_t len)
void DecodeUnicodeSpecialNOKIAChars(unsigned char *dest, const unsigned char *src, size_t len)
int GSM_UnpackEightBitsToSeven(size_t offset, size_t in_length, size_t out_length, const unsigned char *input, unsigned char *output)
void EncodeDefault(unsigned char *dest, const unsigned char *src, size_t *len, gboolean UseExtensions, unsigned char *ExtraAlphabet)
GSM_Error MyGetLine(char *Buffer, size_t *Pos, char *OutBuffer, size_t MaxLen, size_t MaxOutLen, gboolean MergeLines)
int GetBit(unsigned char *Buffer, size_t BitNum)
void DecodeISO88591(unsigned char *dest, const char *src, size_t len)
int DecodeBASE64(const char *Input, unsigned char *Output, const size_t Length)
char * DecodeSpecialChars(char *dest, const char *buffer)
void BufferAlign(unsigned char *Destination, size_t *CurrentBit)
unsigned char * EncodeUnicodeSpecialChars(unsigned char *dest, const unsigned char *buffer)
void DecodeBCD(unsigned char *dest, const unsigned char *src, size_t len)
void EncodeBASE64(const unsigned char *Input, char *Output, const size_t Length)
void StringToDouble(char *text, double *d)
int GSM_PackSevenBitsToEight(size_t offset, const unsigned char *input, unsigned char *output, size_t length)
void EncodeBCD(unsigned char *dest, const unsigned char *src, size_t len, gboolean fill)
unsigned char * DecodeUnicodeSpecialChars(unsigned char *dest, const unsigned char *buffer)
GSM_Error GSM_GetVCSLine(char **OutBuffer, char *Buffer, size_t *Pos, size_t MaxLen, gboolean MergeLines)
void DecodeISO88591QuotedPrintable(unsigned char *dest, const unsigned char *src, size_t len)
void FindDefaultAlphabetLen(const unsigned char *src, size_t *srclen, size_t *smslen, size_t maxlen)
void GetBuffer(unsigned char *Source, size_t *CurrentBit, unsigned char *Destination, size_t BitsToProcess)
char * EncodeSpecialChars(char *dest, const char *buffer)
void DecodeDefault(unsigned char *dest, const unsigned char *src, size_t len, gboolean UseExtensions, unsigned char *ExtraAlphabet)
int GSM_PackSemiOctetNumber(const unsigned char *Number, unsigned char *Output, gboolean semioctet)
void DecodeUTF7(unsigned char *dest, const unsigned char *src, size_t len)
void ReverseUnicodeString(unsigned char *String)