X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gom%2Fnote_sub.h;h=f47060e71801a21da5ad99734b86f3612c8a0946;hb=866835ac8928d7e40919c2ca59799cb37023856f;hp=f014d451870f1aecf6493a6e76c93bf080da745a;hpb=4c445928c8f7d30731a66522ffb9747fe13a3243;p=gedcom-parse.git diff --git a/gom/note_sub.h b/gom/note_sub.h index f014d45..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, 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_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 */