X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gedcom%2Fcompat.h;h=f5fc8f1e40174a34aaab0ccd49d289a2b5533a93;hb=809c37c2f87962cbb9fcb84c851d961e276fef72;hp=03971d1fd2ded377456aa10ee2ed553692e2b34f;hpb=b2c566e811d8b4d69761570bd957189b12c2c01e;p=gedcom-parse.git diff --git a/gedcom/compat.h b/gedcom/compat.h index 03971d1..f5fc8f1 100644 --- a/gedcom/compat.h +++ b/gedcom/compat.h @@ -24,6 +24,7 @@ #ifndef __COMPAT_H #define __COMPAT_H +#include "buffer.h" #include "gedcom.h" typedef enum _COMPAT_RULES { @@ -34,7 +35,10 @@ typedef enum _COMPAT_RULES { C_NO_CHAR, C_HEAD_TIME, C_NO_DOUBLE_AT, - C_NO_REQUIRED_VALUES + C_NO_REQUIRED_VALUES, + C_551_TAGS, + C_NO_SLGC_FAMC, + C_NR_OF_RULES } Compat_rule; void set_compatibility(const char* program); @@ -45,5 +49,8 @@ void compat_generate_gedcom(Gedcom_ctxt parent); int compat_generate_char(Gedcom_ctxt parent); Gedcom_ctxt compat_generate_resi_start(Gedcom_ctxt parent); void compat_generate_resi_end(Gedcom_ctxt parent, Gedcom_ctxt self); +int compat_check_551_tag(const char* tag, struct safe_buffer* b); +void compat_generate_slgc_famc_link(Gedcom_ctxt parent); +void compat_generate_slgc_famc_fam(); #endif /* __COMPAT_H */