~ubuntu-branches/debian/stretch/jfsutils/stretch

« back to all changes in this revision

Viewing changes to libfs/unicode_to_utf8.h

  • Committer: Bazaar Package Importer
  • Author(s): Christopher L Cheney
  • Date: 2002-02-10 01:00:00 UTC
  • Revision ID: james.westby@ubuntu.com-20020210010000-v63g4150dcpnehzq
Tags: upstream-1.0.14
ImportĀ upstreamĀ versionĀ 1.0.14

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*  The code in this module was taken from:
 
2
 *
 
3
 * linux/fs/nls.c
 
4
 *
 
5
 * Native language support--charsets and unicode translations.
 
6
 * By Gordon Chaffee 1996, 1997
 
7
 *
 
8
 */
 
9
 
 
10
 
 
11
#ifndef _UNICODE_TO_UTF8_H
 
12
#define _UNICODE_TO_UTF8_H
 
13
 
 
14
#include "jfs_types.h"
 
15
 
 
16
int Unicode_Character_to_UTF8_Character(uint8_t *s, uint16_t wc, int maxlen);
 
17
 
 
18
int Unicode_String_to_UTF8_String(uint8_t *s, const uint16_t *pwcs, int maxlen);
 
19
 
 
20
int UTF8_String_To_Unicode_String(uint16_t *pwcs, const uint8_t *s, int maxLen);
 
21
 
 
22
int UTF8_Character_To_Unicode_Character(uint16_t *p, const uint8_t *s, int maxLen);
 
23
 
 
24
#endif
 
25