dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Basic framework for recognizing Unicode encoding.
[gedcom-parse.git]
/
gedcom.h
diff --git
a/gedcom.h
b/gedcom.h
index be18280b090811136bd28bbc2df59185f91f9cff..6f35d4eca12285f91fddcc9e112b7653b812b276 100644
(file)
--- a/
gedcom.h
+++ b/
gedcom.h
@@
-18,6
+18,13
@@
typedef enum _MECH {
IGNORE_ERRORS
} MECHANISM;
IGNORE_ERRORS
} MECHANISM;
+/* Basic file encoding */
+typedef enum _ENC {
+ ONE_BYTE,
+ TWO_BYTE_HILO,
+ TWO_BYTE_LOHI
+} ENCODING;
+
int gedcom_error(char* s, ...);
int gedcom_warning(char* s, ...);
int gedcom_debug_print(char* s, ...);
int gedcom_error(char* s, ...);
int gedcom_warning(char* s, ...);
int gedcom_debug_print(char* s, ...);
@@
-27,3
+34,4
@@
void gedcom_set_compat_handling(int enable_compat);
int gedcom_parse();
int gedcom_lex();
extern int line_no;
int gedcom_parse();
int gedcom_lex();
extern int line_no;
+extern FILE *gedcom_in;