X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gedcom%2Fgedcom_internal.h;h=abd80913302d2cbaae819e6245979adc9f7e754f;hb=b05f7d8ed0b8dbd83e8cc8c0b36e276a5652887b;hp=00c106f5dd4b6dfb5641325c3e79c290d3e42fb8;hpb=afa899b84bdecf41c1ea5e888967e51b2444e669;p=gedcom-parse.git diff --git a/gedcom/gedcom_internal.h b/gedcom/gedcom_internal.h index 00c106f..abd8091 100644 --- a/gedcom/gedcom_internal.h +++ b/gedcom/gedcom_internal.h @@ -1,5 +1,5 @@ /* 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 , 2001. @@ -31,6 +31,13 @@ #ifdef WITH_DMALLOC #include #endif +#ifdef HAVE_CONFIG_H +#include +#endif +#include + +#define _(string) gettext(string) +#define N_(string) (string) #define MAXGEDCLEVEL 99 #define MAXGEDCLINELEN 255 @@ -38,6 +45,14 @@ #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, ...);