X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=doc%2Fgom.html;h=4ab405a46e50422fdcca56d0358c7863772566b7;hb=a6ae7b8ee65f561b8ba9b189cf3e9504831621da;hp=a0829bcf474a82f829f455a8bd8faae82412df98;hpb=8c784f82961c03c9e7d209a4249f2590cfaaf4c9;p=gedcom-parse.git diff --git a/doc/gom.html b/doc/gom.html index a0829bc..4ab405a 100644 --- a/doc/gom.html +++ b/doc/gom.html @@ -22,12 +22,13 @@
-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.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.int gom_header_update_timestamp (time_t tval);
+This sets the date
and time
fields of the header to the time indicated by tval
.
+ The function returns 0 on success, non-zero if an error occurred. Typically,
+the function would be used as follows, to set the current time in the timestamp:+int result;
+result = gom_header_update_timestamp(time(NULL));
+
$Id$@@ -183,4 +205,7 @@ the current locale); in that case the target data variable is not modified.
$Name$