Reworked the xref functions.
[gedcom-parse.git] / gom / personal_name.h
index 2cc36d1c7217778495584fa2c2a91e3a3a73f8c6..24ce27d55a0b2c76bf70009a9e4891be9a7be7f1 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_SUB_MAKEFUNC(personal_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 */