X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gom%2Fnote_sub.h;h=43eca9f15e95f5894c110abcbe654904a270f064;hb=72689522e287ca3b2231e7d8881f0fe5bea48f15;hp=f014d451870f1aecf6493a6e76c93bf080da745a;hpb=4c445928c8f7d30731a66522ffb9747fe13a3243;p=gedcom-parse.git diff --git a/gom/note_sub.h b/gom/note_sub.h index f014d45..43eca9f 100644 --- a/gom/note_sub.h +++ b/gom/note_sub.h @@ -28,9 +28,10 @@ #include "gom_internal.h" void note_sub_subscribe(); -void note_sub_cleanup(struct note_sub* note); -void note_sub_add_citation(Gom_ctxt ctxt, struct source_citation* cit); -void note_sub_add_to_note(NL_TYPE type, Gom_ctxt ctxt, const char* str); -void note_sub_add_user_data(Gom_ctxt ctxt, struct user_data* data); +int write_note_subs(Gedcom_write_hndl hndl, int parent, struct note_sub* note); + +DECLARE_CLEANFUNC(note_sub); +DECLARE_ADDFUNC2(note_sub, source_citation); +DECLARE_ADDFUNC2(note_sub, user_data); #endif /* __NOTE_SUB_H */