X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gom%2Flds_event.h;h=e3132498915867141b3ace2df82cf81c20028a45;hb=bb5284fc2cc6ee6694ed523e01ea454141a370b3;hp=fde8b3563054aa603d66d01d65a1e1a5ea5dacc3;hpb=7ea4ef8cae7b52f2bf66371a5e7b493cbd12900e;p=gedcom-parse.git diff --git a/gom/lds_event.h b/gom/lds_event.h index fde8b35..e313249 100644 --- a/gom/lds_event.h +++ b/gom/lds_event.h @@ -29,9 +29,12 @@ #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_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 */