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
Full unicode support.
[gedcom-parse.git]
/
gedcom.h
diff --git
a/gedcom.h
b/gedcom.h
index 2dc43b6e25ab1737d592ada11af0743ad4ab55b9..5fdf0181e6b4f7d26e3e74c31eb1beaf5da6f75a 100644
(file)
--- a/
gedcom.h
+++ b/
gedcom.h
@@
-4,6
+4,7
@@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#include <errno.h>
#define MAXGEDCLEVEL 99
#define MAXGEDCLINELEN 256
#define MAXGEDCLEVEL 99
#define MAXGEDCLINELEN 256
@@
-18,12
+19,17
@@
typedef enum _MECH {
IGNORE_ERRORS
} MECHANISM;
IGNORE_ERRORS
} MECHANISM;
+
int gedcom_error(char* s, ...);
int gedcom_warning(char* s, ...);
int gedcom_error(char* s, ...);
int gedcom_warning(char* s, ...);
+int gedcom_message(char* s, ...);
int gedcom_debug_print(char* s, ...);
int gedcom_debug_print(char* s, ...);
-void gedcom_
enable_debug(
);
+void gedcom_
set_debug_level(int level
);
void gedcom_set_error_handling(MECHANISM mechanism);
void gedcom_set_compat_handling(int enable_compat);
void gedcom_set_error_handling(MECHANISM mechanism);
void gedcom_set_compat_handling(int enable_compat);
+
int gedcom_parse();
int gedcom_parse();
+
int gedcom_lex();
int gedcom_lex();
+
extern int line_no;
extern int line_no;