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
Documentation updates (gedcom_init() function, move of utf8 example code
[gedcom-parse.git]
/
gedcom
/
gedcom_internal.h
diff --git
a/gedcom/gedcom_internal.h
b/gedcom/gedcom_internal.h
index 00c106f5dd4b6dfb5641325c3e79c290d3e42fb8..abd80913302d2cbaae819e6245979adc9f7e754f 100644
(file)
--- a/
gedcom/gedcom_internal.h
+++ b/
gedcom/gedcom_internal.h
@@
-1,5
+1,5
@@
/* General header for the Gedcom parser.
/* General header for the Gedcom parser.
- Copyright (C) 2001 The Genes Development Team
+ Copyright (C) 2001
, 2002
The Genes Development Team
This file is part of the Gedcom parser library.
Contributed by Peter Verthez <Peter.Verthez@advalvas.be>, 2001.
This file is part of the Gedcom parser library.
Contributed by Peter Verthez <Peter.Verthez@advalvas.be>, 2001.
@@
-31,6
+31,13
@@
#ifdef WITH_DMALLOC
#include <dmalloc.h>
#endif
#ifdef WITH_DMALLOC
#include <dmalloc.h>
#endif
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+#include <libintl.h>
+
+#define _(string) gettext(string)
+#define N_(string) (string)
#define MAXGEDCLEVEL 99
#define MAXGEDCLINELEN 255
#define MAXGEDCLEVEL 99
#define MAXGEDCLINELEN 255
@@
-38,6
+45,14
@@
#define MAXSTDTAGLEN 4
#define MAXGEDCPTRLEN 22
#define GEDCOMTAGOFFSET 257
#define MAXSTDTAGLEN 4
#define MAXGEDCPTRLEN 22
#define GEDCOMTAGOFFSET 257
+#define INTERNAL_ENCODING "UTF8"
+
+#define GEDCOM_INTERNAL 1
+
+struct tag_struct {
+ char *string;
+ int value;
+};
int gedcom_error(char* s, ...);
int gedcom_warning(char* s, ...);
int gedcom_error(char* s, ...);
int gedcom_warning(char* s, ...);