X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gom%2Fnote_sub.h;h=f47060e71801a21da5ad99734b86f3612c8a0946;hb=473f146038f88434e3edd070dfa42390bd0df60f;hp=8368d52d705a4be3ce6370977f0ee3c85ac75d5c;hpb=7ea4ef8cae7b52f2bf66371a5e7b493cbd12900e;p=gedcom-parse.git diff --git a/gom/note_sub.h b/gom/note_sub.h index 8368d52..f47060e 100644 --- a/gom/note_sub.h +++ b/gom/note_sub.h @@ -28,9 +28,13 @@ #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, 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_SUB_MAKEFUNC(note_sub); + +DECLARE_UNREFALLFUNC(note_sub); +DECLARE_CLEANFUNC(note_sub); +DECLARE_ADDFUNC2(note_sub, source_citation); +DECLARE_ADDFUNC2(note_sub, user_data); #endif /* __NOTE_SUB_H */