Reworked xref functions.
[gedcom-parse.git] / include / gom.h
index 4d56a6c03ecf1fa2c08de0ce7eff592ded7724aa..cef3357758d638da8248c74fa709dfd2f32a7037 100644 (file)
@@ -476,6 +476,20 @@ 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);
 
+struct xref_value* gom_set_xref(struct xref_value** data, const char* xref);
+struct xref_list*  gom_add_xref(struct xref_list** data, const char* xref);
+int                gom_remove_xref(struct xref_list** data, const char* xref);
+
+struct address*    gom_add_address(struct address** obj);
+int                gom_delete_address(struct address** obj);
+
+struct place*      gom_add_place(struct place** obj);
+int                gom_delete_place(struct place** obj);
+
+struct change_date* gom_add_change_date(struct change_date** obj);
+int                 gom_delete_change_date(struct change_date** obj);
+int                 gom_update_timestamp(struct change_date** obj, time_t t);
+  
 #ifdef __cplusplus
 }
 #endif