Added functions to add and remove records.
[gedcom-parse.git] / gom / header.h
index 689fd85c52031b01c212d93558a118c41bbaa56a..8b2788cc686a0024f75ac82383c1c949156b816d 100644 (file)
 
 void header_subscribe();
 void header_cleanup();
-void header_add_address(Gom_ctxt header, struct address* addr);
-void header_add_phone  (Gom_ctxt header, const char* phone);
-void header_add_user_data(Gom_ctxt ctxt, struct user_data* data);
 int  write_header(Gedcom_write_hndl hndl);
 
+DECLARE_ADDFUNC2(header, user_data);
+DECLARE_ADDFUNC2_NOLIST(header, address);
+
+void header_add_phone  (Gom_ctxt header, const char* phone);
+
 #endif /* __HEADER_H */