X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gom%2Fmultimedia.h;h=720b53c5bd10b1a8278415615700590fc7edbaf6;hb=295e0273f2ff3bb95f7afb1ac639ab7203672c9c;hp=855eda30a0044d7b6c83b5cc5c664af3e6d302a8;hpb=4c445928c8f7d30731a66522ffb9747fe13a3243;p=gedcom-parse.git diff --git a/gom/multimedia.h b/gom/multimedia.h index 855eda3..720b53c 100644 --- a/gom/multimedia.h +++ b/gom/multimedia.h @@ -29,11 +29,13 @@ void multimedia_subscribe(); void multimedias_cleanup(); -struct multimedia* make_multimedia_record(const char* xref); -void multimedia_add_note(Gom_ctxt ctxt, struct note_sub* note); -void multimedia_add_user_ref(Gom_ctxt ctxt, struct user_ref_number* ref); -void multimedia_set_record_id(Gom_ctxt ctxt, const char *rin); -void multimedia_set_change_date(Gom_ctxt ctxt, struct change_date* chan); -void multimedia_add_user_data(Gom_ctxt ctxt, struct user_data* data); +int write_multimedia_recs(Gedcom_write_hndl hndl); + +DECLARE_MAKEFUNC(multimedia); +DECLARE_ADDFUNC2(multimedia, note_sub); +DECLARE_ADDFUNC2(multimedia, user_ref_number); +DECLARE_ADDFUNC2(multimedia, user_data); +DECLARE_ADDFUNC2_NOLIST(multimedia, change_date); +DECLARE_ADDFUNC2_STR(multimedia, record_id); #endif /* __MULTIMEDIA_H */