Added functions to add and remove records.
[gedcom-parse.git] / gom / place.h
index a2ca02df4f6b116a27c64a582478b3a5a6adc4c4..81291d3ddb7d536340236f759cc8cf6f53c3cc30 100644 (file)
 #include "gom_internal.h"
 
 void place_subscribe();
-void place_cleanup(struct place* place);
-void place_add_citation(Gom_ctxt ctxt, struct source_citation* cit);
-void place_add_note(Gom_ctxt ctxt, struct note_sub* note);
-void place_add_user_data(Gom_ctxt ctxt, struct user_data* data);
 int write_place(Gedcom_write_hndl hndl, int parent, struct place* place);
 
+DECLARE_CLEANFUNC(place);
+DECLARE_ADDFUNC2(place, source_citation);
+DECLARE_ADDFUNC2(place, note_sub);
+DECLARE_ADDFUNC2(place, user_data);
+
 #endif /* __PLACE_H */