X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=doc%2Fgom.html;h=7358ad11273e62e05b16239046888715e8172035;hb=2c7d1ebedfd0a42621b77c6e45f0fc7b2201bdd4;hp=a0829bcf474a82f829f455a8bd8faae82412df98;hpb=8c784f82961c03c9e7d209a4249f2590cfaaf4c9;p=gedcom-parse.git diff --git a/doc/gom.html b/doc/gom.html index a0829bc..7358ad1 100644 --- a/doc/gom.html +++ b/doc/gom.html @@ -22,12 +22,13 @@ -
  • Other functions
  • +
  • Modifying the object model
  • Writing the object model to file
    +
  • - + @@ -125,7 +126,7 @@ tags is.  Each element of the linked list has:
    This way, none of the information in the GEDCOM file is lost, even the non-standard information.


    -

    Other functions

    +

    Modifying the object model

    Manipulating strings

    There are some functions available to retrieve and change strings in the @@ -170,6 +171,15 @@ want to know this.  You can pass NULL if you're not interested if an error occurred (e.g. if the given string is not a valid string for the current locale); in that case the target data variable is not modified.

    +

    Writing the object model to file
    +

    +Writing the current object model to a file is simply done using the following function:
    +
    int gom_write_file (const char* filename, int* total_conv_fails);
    +This writes the model to the file filename.  The second parameter can return the total number of conversion failures (pass NULL if you're not interested).
    +
    +The functions in this section can be used before gom_write_file to control some settings.
    +

    +
    $Id$
    $Name$

    @@ -183,4 +193,6 @@ the current locale); in that case the target data variable is not modified.



    +
    +
    \ No newline at end of file