X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gedcom.h;h=1250340b07e166134d0e3b674f7ada88ec1a80c6;hb=6ecd50de9c5c892d2df4fe0a10b671613c18d51d;hp=487a918ab09f16298e5b70f500f049460a2fb763;hpb=af22f84dae15caee4e2c6eec8c9e31544f52bf10;p=gedcom-parse.git diff --git a/gedcom.h b/gedcom.h index 487a918..1250340 100644 --- a/gedcom.h +++ b/gedcom.h @@ -17,6 +17,9 @@ #include #include #include +#ifdef DMALLOC +#include +#endif #define MAXGEDCLEVEL 99 #define MAXGEDCLINELEN 255 @@ -25,24 +28,12 @@ #define MAXGEDCPTRLEN 22 #define GEDCOMTAGOFFSET 257 -/* Error handling mechanisms */ -typedef enum _MECH { - IMMED_FAIL, - DEFER_FAIL, - IGNORE_ERRORS -} MECHANISM; - - int gedcom_error(char* s, ...); int gedcom_warning(char* s, ...); int gedcom_message(char* s, ...); int gedcom_debug_print(char* s, ...); -void gedcom_set_debug_level(int level); -void gedcom_set_error_handling(MECHANISM mechanism); -void gedcom_set_compat_handling(int enable_compat); int gedcom_parse(); - int gedcom_lex(); extern int line_no;