X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gom%2Fmultimedia.h;h=720b53c5bd10b1a8278415615700590fc7edbaf6;hb=3155d964e15a3c49121c01d2808e5a846779b812;hp=52841267f566f1d9aceb508986b8c24c6cd1152b;hpb=7ea4ef8cae7b52f2bf66371a5e7b493cbd12900e;p=gedcom-parse.git diff --git a/gom/multimedia.h b/gom/multimedia.h index 5284126..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(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, 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 */