dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
General cleanup.
[gedcom-parse.git]
/
encoding.h
1
/* $Id$ */
2
/* $Name$ */
3
4
/* Basic file encoding */
5
#ifndef __ENCODING_H
6
#define __ENCODING_H
7
8
typedef enum _ENC {
9
ONE_BYTE = 0,
10
TWO_BYTE_HILO = 1,
11
TWO_BYTE_LOHI = 2
12
} ENCODING;
13
14
int open_conv_to_internal(char* fromcode);
15
void close_conv_to_internal();
16
char* to_internal(char* str, size_t len);
17
void init_encodings();
18
void set_encoding_width(ENCODING enc);
19
20
#endif /* __ENCODING_H */