X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=include%2Fgom.h;h=cef3357758d638da8248c74fa709dfd2f32a7037;hb=2cab1aff06f637fa3fffacacab53efd5486ebcf9;hp=74241438500ca3c8c9a384f9ba9beccc728c2f74;hpb=d70e2fdb664f6723cd8a1c131fdbeb39cb75d7be;p=gedcom-parse.git diff --git a/include/gom.h b/include/gom.h index 7424143..cef3357 100644 --- a/include/gom.h +++ b/include/gom.h @@ -476,9 +476,19 @@ 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); +int gom_delete_change_date(struct change_date** obj); +int gom_update_timestamp(struct change_date** obj, time_t t); #ifdef __cplusplus }