X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gedcom%2Fcompat.c;h=c53465b609319744a7ed2ab63f4e051a7b94562d;hb=refs%2Fheads%2Flibiconv-gedcom-1.14;hp=ce45d41195543c56e3f7c50fd9336b5fb5259331;hpb=51285ba56b69a19c1a12269c76ee814102fa3256;p=gedcom-parse.git diff --git a/gedcom/compat.c b/gedcom/compat.c index ce45d41..c53465b 100644 --- a/gedcom/compat.c +++ b/gedcom/compat.c @@ -162,11 +162,22 @@ union _COMPAT_STATE { /* Compatibility handling */ +/** Allows to enable/disable the compatibility mode. + + \param enable_compat This argument can be: + - 0 Disable compatibility mode + - 1 Allow compatibility mode (this is the default) + */ void gedcom_set_compat_handling(int enable_compat) { compat_enabled = enable_compat; } +/** Allows to set some options for the compatibility handling. + + \param options Can be an OR'ed combination of the options listed defined + by the enum \ref Gedcom_compat. +*/ void gedcom_set_compat_options(Gedcom_compat options) { compat_options = options;