]> git.ipfire.org Git - thirdparty/util-linux.git/blob - include/encode.h
po: update tr.po (from translationproject.org)
[thirdparty/util-linux.git] / include / encode.h
1 /*
2 * SPDX-License-Identifier: LGPL-2.1-or-later
3 *
4 * This file may be distributed under the terms of the
5 * GNU Lesser General Public License.
6 */
7 #ifndef UTIL_LINUX_ENCODE_H
8 #define UTIL_LINUX_ENCODE_H
9
10 extern size_t ul_encode_to_utf8(int enc, unsigned char *dest, size_t len,
11 const unsigned char *src, size_t count)
12 __attribute__((nonnull));
13
14 enum {
15 UL_ENCODE_UTF16BE = 0,
16 UL_ENCODE_UTF16LE,
17 UL_ENCODE_LATIN1
18 };
19
20 #endif