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
Log of recent changes.
[gedcom-parse.git]
/
gedcom
/
gedcom_internal.h
diff --git
a/gedcom/gedcom_internal.h
b/gedcom/gedcom_internal.h
index cb5f067b3de78db2a3f5efd257e704c3a3bddf20..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,7
+31,13
@@
#ifdef WITH_DMALLOC
#include <dmalloc.h>
#endif
#ifdef WITH_DMALLOC
#include <dmalloc.h>
#endif
-#include "config.h"
+#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
@@
-39,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, ...);