#define __GEDCOM_GOM_H
#include "gedcom.h"
+#include <time.h>
#ifdef __cplusplus
extern "C" {
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 */
};
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 */
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();
struct user_rec* gom_get_user_rec_by_xref(const char *xref);
char* gom_get_string(char* data);
-char* gom_set_string(char** data, const char* utf8_value);
+char* gom_set_string(char** data, const char* utf8_str);
-char* gom_get_string_locale(char* data, int* conversion_failures);
-char* gom_set_string_locale(char** data, const char* locale_value);
+char* gom_get_string_for_locale(char* data, int* conversion_failures);
+char* gom_set_string_for_locale(char** data, const char* locale_str);
void gom_set_unknown(const char* unknown);
#ifdef __cplusplus