#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_UNREFALLFUNC(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 */