New function to update timestamp.
[gedcom-parse.git] / include / gom.h
index 46ce4a6d1ee65723c1840806f61465897fd8fd04..0c68d3019e2de670a2c88ffccf29ce509789eef2 100644 (file)
@@ -25,6 +25,7 @@
 #define __GEDCOM_GOM_H
 
 #include "gedcom.h"
+#include <time.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -87,9 +88,9 @@ struct note_sub {                     /* NOTE_STRUCTURE */
 struct place {                        /* PLACE_STRUCTURE */
   char *value;                        /* PLACE_VALUE */
   char *place_hierarchy;              /* PLACE_HIERARCHY */
-  struct user_data *extra;
   struct source_citation *citation;
   struct note_sub *note;
+  struct user_data *extra;
 };
 
 struct multimedia_link {              /* MULTIMEDIA_LINK */
@@ -104,6 +105,8 @@ struct multimedia_link {              /* MULTIMEDIA_LINK */
 };
 
 struct lds_event {                    /* LDS_INDIVIDUAL_ORDINANCE */
+  int event;
+  char *event_name;
   char *date_status;                  /* LDS_BAPTISM_DATE_STATUS */
   struct date_value *date;            /* DATE_LDS_ORD */
   char *temple_code;                  /* TEMPLE_CODE */
@@ -417,8 +420,11 @@ struct user_rec {
 
 int  gom_parse_file(const char *file_name);
 int  gom_new_model();
+int  gom_write_file(const char* file_name, int *total_conv_fails);
 
 struct header*     gom_get_header();
+int  gom_header_update_timestamp(time_t t);
+  
 struct submission* gom_get_submission();
 
 struct family*     gom_get_first_family();