blob: 0643e72842b1a6bace457881b9de1e7d2c1b225b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
/*
* utf8.h:
*
* Copyright (c) 2008 James McKenzie <james@fishsoup.dhs.org>,
* All rights reserved.
*
*/
/*
* $Id$
*/
/*
* $Log$
* Revision 1.8 2008/03/10 11:49:33 james
* *** empty log message ***
*
* Revision 1.7 2008/03/07 12:37:04 james
* *** empty log message ***
*
* Revision 1.6 2008/03/03 06:04:42 james
* *** empty log message ***
*
* Revision 1.5 2008/03/02 10:37:56 james
* *** empty log message ***
*
* Revision 1.4 2008/02/24 00:42:53 james
* *** empty log message ***
*
* Revision 1.3 2008/02/23 11:48:37 james
* *** empty log message ***
*
* Revision 1.2 2008/02/22 23:39:27 james
* *** empty log message ***
*
* Revision 1.1 2008/02/22 19:12:05 james
* *** empty log message ***
*
*
*/
#ifndef __UTF8_H__
#define __UTF8_H__
typedef struct {
int in_utf8;
uint8_t utf_buf[4];
int utf_ptr;
uint32_t ch;
int sh;
} UTF8;
#endif /* __UTF8_H__ */
|