Added functions to add and remove records.
[gedcom-parse.git] / gom / personal_name.h
index 85587d195db4c1f44be4a344df7d5c582a1d5e11..b2dcce0773f1f81c932358015f4a2ce5de2edd35 100644 (file)
 #include "gom_internal.h"
 
 void name_subscribe();
-void name_cleanup(struct personal_name* name);
-void name_add_citation(Gom_ctxt ctxt, struct source_citation* cit);
-void name_add_note(Gom_ctxt ctxt, struct note_sub* note);
-void name_add_user_data(Gom_ctxt ctxt, struct user_data* data);
 int write_names(Gedcom_write_hndl hndl, int parent,
                struct personal_name *name);
 
+DECLARE_CLEANFUNC(personal_name);
+DECLARE_ADDFUNC2(personal_name, source_citation);
+DECLARE_ADDFUNC2(personal_name, note_sub);
+DECLARE_ADDFUNC2(personal_name, user_data);
+
 #endif /* __PERSONAL_NAME_H */