X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gom%2Flds_event.h;h=68eb4863a20484b8e04a7f3cdeb23d48c49d39ee;hb=f8f253aa29e3c2561d325cb47cc17a727f76266e;hp=48da41aff081f93e7792fce4cd4e694135d4ca58;hpb=082066d0c776403b70c366f9a7d1333c7a9fac15;p=gedcom-parse.git diff --git a/gom/lds_event.h b/gom/lds_event.h index 48da41a..68eb486 100644 --- a/gom/lds_event.h +++ b/gom/lds_event.h @@ -29,11 +29,15 @@ #include "gom_internal.h" void lds_event_subscribe(); -void lds_event_cleanup(struct lds_event* mm); -void lds_event_add_note(Gom_ctxt ctxt, struct note_sub* note); -void lds_event_add_citation(Gom_ctxt ctxt, struct source_citation* cit); -void lds_event_add_user_data(Gom_ctxt ctxt, struct user_data* data); int write_lds_events(Gedcom_write_hndl hndl, int parent, struct lds_event *lds); +DECLARE_SUB_MAKEFUNC(lds_event); + +DECLARE_UNREFALLFUNC(lds_event); +DECLARE_CLEANFUNC(lds_event); +DECLARE_ADDFUNC2(lds_event, note_sub); +DECLARE_ADDFUNC2(lds_event, source_citation); +DECLARE_ADDFUNC2(lds_event, user_data); + #endif /* __LDS_EVENT_H */