Allow elements out of context in GOM.
[gedcom-parse.git] / gom / note_sub.h
index b543eb084e4380157aec936fb5228d12b6db4384..f47060e71801a21da5ad99734b86f3612c8a0946 100644 (file)
 #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_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 */