X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;ds=sidebyside;f=gom%2Ffamily.h;h=7fdce9fe5ee7e873a255c9cd38ec03f41c9142ca;hb=39bb8d4c3317074cfa3e8e92cc12e6160675e246;hp=3e218b4950b9a82a1c0491393b5a484910065506;hpb=7ea4ef8cae7b52f2bf66371a5e7b493cbd12900e;p=gedcom-parse.git diff --git a/gom/family.h b/gom/family.h index 3e218b4..7fdce9f 100644 --- a/gom/family.h +++ b/gom/family.h @@ -29,15 +29,16 @@ void family_subscribe(); void families_cleanup(); -struct family* make_family_record(char* xref); +struct family* make_family_record(const char* xref); void family_add_event(Gom_ctxt ctxt, struct event* evt); void family_add_lss(Gom_ctxt ctxt, struct lds_event* lss); void family_add_citation(Gom_ctxt ctxt, struct source_citation* cit); void family_add_mm_link(Gom_ctxt ctxt, struct multimedia_link* link); void family_add_note(Gom_ctxt ctxt, struct note_sub* note); void family_add_user_ref(Gom_ctxt ctxt, struct user_ref_number* ref); -void family_set_record_id(Gom_ctxt ctxt, char *rin); +void family_set_record_id(Gom_ctxt ctxt, const char *rin); void family_set_change_date(Gom_ctxt ctxt, struct change_date* chan); void family_add_user_data(Gom_ctxt ctxt, struct user_data* data); +int write_families(Gedcom_write_hndl hndl); #endif /* __FAMILY_H */