From: Peter Verthez <Peter.Verthez@advalvas.be>
Date: Sat, 1 Feb 2003 16:57:26 +0000 (+0000)
Subject: New function gedcom_set_compat_options
X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=99c4cd8cb2224756918dfc15c5236b6c04ab8cbc;p=gedcom-parse.git

New function gedcom_set_compat_options
---

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);