Allow elements out of context in GOM.
[gedcom-parse.git] / gom / change_date.h
index 15d76841be12e224ab866bf4dd93fa934f3f0e21..f0022e49d49417d07b8d866480438194556a55ac 100644 (file)
 #include "gom_internal.h"
 
 void change_date_subscribe();
-void change_date_cleanup(struct change_date *chan);
-void change_date_add_note(Gom_ctxt ctxt, struct note_sub* note);
-void change_date_add_user_data(Gom_ctxt ctxt, struct user_data* data);
+int write_change_date(Gedcom_write_hndl hndl, int parent,
+                     struct change_date *chan);
+
+DECLARE_SUB_MAKEFUNC(change_date);
+
+DECLARE_UNREFALLFUNC(change_date);
+DECLARE_CLEANFUNC(change_date);
+DECLARE_ADDFUNC2(change_date, note_sub);
+DECLARE_ADDFUNC2(change_date, user_data);
 
 #endif /* __CHANGE_DATE_H */