DEADSOFTWARE

Patched for Linux
[mp3cc.git] / MPC.3.5.LINUX / preverifier / utf.h
1 /*
2 * @(#)utf.h 1.2 02/09/27
3 *
4 * Copyright 1995-1998 by Sun Microsystems, Inc.,
5 * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
6 * All rights reserved.
7 *
8 * This software is the confidential and proprietary information
9 * of Sun Microsystems, Inc. ("Confidential Information"). You
10 * shall not disclose such Confidential Information and shall use
11 * it only in accordance with the terms of the license agreement
12 * you entered into with Sun.
13 * Use is subject to license terms.
14 */
16 /*
17 * Prototypes for the various UTF support functions.
18 */
20 #ifndef _UTF_H_
21 #define _UTF_H_
23 char *unicode2utf(unicode *unistring, int length, char *buffer, int buflength);
24 int unicode2utfstrlen(unicode *unistring, int unilength);
25 int utfstrlen(char *utfstring);
26 void utf2unicode(char *utfstring, unicode *unistring,
27 int max_length, int *lengthp);
28 bool_t is_simple_utf(char *utfstring);
30 unicode next_utf2unicode(char **utfstring);
32 #endif /* !_UTF_H_ */