X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=include%2Fgedcom.h.in;fp=include%2Fgedcom.h.in;h=bf53759727f0026db1aa607e0bbb4493577efe0d;hb=99c4cd8cb2224756918dfc15c5236b6c04ab8cbc;hp=6219def3d443e07562e74ad88d08c0800a8d2fc4;hpb=8f6712fc64a6d02770442f0c9c2142a8c4e38b9c;p=gedcom-parse.git diff --git a/include/gedcom.h.in b/include/gedcom.h.in index 6219def..bf53759 100644 --- a/include/gedcom.h.in +++ b/include/gedcom.h.in @@ -399,6 +399,10 @@ typedef enum _DATE_INPUT { DI_FROM_SDN } Date_input; +typedef enum _COMPAT_OPTIONS { + COMPAT_ALLOW_OUT_OF_CONTEXT = 0x01 +} Gedcom_compat; + /**************************************************************************/ /*** Things meant to be internal, susceptible to changes ***/ /*** Use the GEDCOM_STRING/GEDCOM_DATE interface instead of relying ***/ @@ -518,6 +522,7 @@ int gedcom_new_model(); void gedcom_set_debug_level(int level, FILE* trace_output); void gedcom_set_error_handling(Gedcom_err_mech mechanism); void gedcom_set_compat_handling(int enable_compat); +void gedcom_set_compat_options(Gedcom_compat options); void gedcom_set_message_handler(Gedcom_msg_handler func); void gedcom_set_default_callback(Gedcom_def_cb func);