aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libxml/yencoding.h
blob: bdc1f6e71cc40b9f716afda15da1f5da14332b1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef __XML_YENCODING_H__
#define __XML_YENCODING_H__

#ifdef __cplusplus
extern "C" {
#endif

int win1251ToUTF8(unsigned char* out, int *outlen,
              const unsigned char* in, int *inlen);

int UTF8Towin1251(unsigned char* out, int *outlen,
              const unsigned char* in, int *inlen);

int koi8ToUTF8(unsigned char* out, int *outlen,
              const unsigned char* in, int *inlen) ;

int UTF8Tokoi8(unsigned char* out, int *outlen,
              const unsigned char* in, int *inlen);

#ifdef __cplusplus
}
#endif

#endif