X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gom%2Frepository.h;h=ddecc697bcfe45eb16cec3e9290ebf55ca22f18c;hb=ffaf74cec71efb6bf1d3c7058105ffa0863836d4;hp=066d7408ee04caed478a39237e42117d1b3c7e79;hpb=082066d0c776403b70c366f9a7d1333c7a9fac15;p=gedcom-parse.git diff --git a/gom/repository.h b/gom/repository.h index 066d740..ddecc69 100644 --- a/gom/repository.h +++ b/gom/repository.h @@ -29,14 +29,15 @@ void repository_subscribe(); void repositories_cleanup(); -struct repository* make_repository_record(const char* xref); -void repository_add_address(Gom_ctxt ctxt, struct address* address); -void repository_add_phone(Gom_ctxt ctxt, const char *phone); -void repository_add_note(Gom_ctxt ctxt, struct note_sub* note); -void repository_add_user_ref(Gom_ctxt ctxt, struct user_ref_number* ref); -void repository_set_record_id(Gom_ctxt ctxt, const char *rin); -void repository_set_change_date(Gom_ctxt ctxt, struct change_date* chan); -void repository_add_user_data(Gom_ctxt ctxt, struct user_data* data); int write_repositories(Gedcom_write_hndl hndl); +DECLARE_MAKEFUNC(repository); +DECLARE_ADDFUNC2(repository, note_sub); +DECLARE_ADDFUNC2(repository, user_ref_number); +DECLARE_ADDFUNC2(repository, user_data); +DECLARE_ADDFUNC2_NOLIST(repository, address); +DECLARE_ADDFUNC2_NOLIST(repository, change_date); +DECLARE_ADDFUNC2_STRN(repository, phone); +DECLARE_ADDFUNC2_STR(repository, record_id); + #endif /* __REPOSITORY_H */