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
Moved strings out of macros, because xgettext doesn't recognize them there.
[gedcom-parse.git]
/
gedcom
/
gedcom_internal.h
diff --git
a/gedcom/gedcom_internal.h
b/gedcom/gedcom_internal.h
index 29925c4f1a0e4cd31fc7a80df8affa647d3d6db3..5a199dd65c62e78853f79785919a0103006e4363 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.
@@
-28,13
+28,13
@@
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
-#ifdef WITH_DMALLOC
-#include <dmalloc.h>
-#endif
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <libintl.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <libintl.h>
+#ifdef WITH_DMALLOC
+#include <dmalloc.h>
+#endif
#define _(string) gettext(string)
#define N_(string) (string)
#define _(string) gettext(string)
#define N_(string) (string)
@@
-47,13
+47,19
@@
#define GEDCOMTAGOFFSET 257
#define INTERNAL_ENCODING "UTF8"
#define GEDCOMTAGOFFSET 257
#define INTERNAL_ENCODING "UTF8"
-int gedcom_error(char* s, ...);
-int gedcom_warning(char* s, ...);
-int gedcom_message(char* s, ...);
-int gedcom_debug_print(char* s, ...);
+#define GEDCOM_INTERNAL 1
+
+struct tag_struct {
+ char *string;
+ int value;
+};
int gedcom_parse();
int gedcom_lex();
int gedcom_parse();
int gedcom_lex();
+void gedcom_mem_error(char *filename, int line);
+
+#define MEMORY_ERROR gedcom_mem_error(__FILE__, __LINE__)
+
extern int line_no;
#endif /* __GEDCOM_INTERNAL_H */
extern int line_no;
#endif /* __GEDCOM_INTERNAL_H */