libTERE
A portable library for reassembling complex formatted text from text fragments.
Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Enumerations
Enumerator
Groups
uemf_utf.h
Go to the documentation of this file.
1
6
/*
7
File: uemf_utf.h
8
Version: 0.0.1
9
Date: 04-DEC-2012
10
Author: David Mathog, Biology Division, Caltech
11
email: mathog@caltech.edu
12
Copyright: 2012 David Mathog and California Institute of Technology (Caltech)
13
*/
14
15
#ifndef _UEMF_UTF_
16
#define _UEMF_UTF_
17
18
#ifdef __cplusplus
19
extern
"C"
{
20
#endif
21
22
#include <stdint.h>
23
#include <stdbool.h>
24
25
void
wchar8show
(
const
char
*src);
26
void
wchar16show
(
const
uint16_t *src);
27
void
wchar32show
(
const
uint32_t *src);
28
void
wchartshow
(
const
wchar_t
*src);
29
30
size_t
wchar16len
(
const
uint16_t *src);
31
size_t
wchar32len
(
const
uint32_t *src);
32
void
wchar16strncpy
(uint16_t *dst,
const
uint16_t *src,
size_t
nchars);
33
void
wchar16strncpypad
(uint16_t *dst,
const
uint16_t *src,
size_t
nchars);
34
uint16_t *
U_Utf8ToUtf16le
(
const
char
*src,
size_t
max,
size_t
*len );
35
uint32_t *
U_Utf8ToUtf32le
(
const
char
*src,
size_t
max,
size_t
*len );
36
uint32_t *
U_Latin1ToUtf32le
(
const
char
*src,
size_t
max,
size_t
*len );
37
uint16_t *
U_Utf32leToUtf16le
(
const
uint32_t *src,
size_t
max,
size_t
*len );
38
char
*
U_Utf32leToUtf8
(
const
uint32_t *src,
size_t
max,
size_t
*len );
39
uint32_t *
U_Utf16leToUtf32le
(
const
uint16_t *src,
size_t
max,
size_t
*len );
40
char
*
U_Utf16leToUtf8
(
const
uint16_t *src,
size_t
max,
size_t
*len );
41
uint16_t
U_Utf16le
(
const
uint16_t src);
42
int
U_Utf16leEdit
( uint16_t *src, uint16_t find, uint16_t replace );
43
char
*
U_strdup
(
const
char
*s);
44
45
#ifdef __cplusplus
46
}
47
#endif
48
49
#endif
/* _UEMF_UTF_ */
Generated on Wed Dec 12 2012 12:27:58 for libTERE by
1.8.1.1