blockd: use allocated strings instead of fixed buffers
[project/fstools.git] / libblkid-tiny / encode.h
1 #ifndef _ENCODE_H
2 #define _ENCODE_H
3
4 #define BLKID_ENC_UTF16BE 0
5 #define BLKID_ENC_UTF16LE 1
6 #define BLKID_ENC_LATIN1 2
7
8 size_t blkid_encode_to_utf8(int enc, unsigned char *dest, size_t len,
9 const unsigned char *src, size_t count);
10
11 #endif /* _ENCODE_H */