X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gom%2Fpersonal_name.h;h=c8e76615496807f70fbc47e3f035753899175960;hb=HEAD;hp=2cc36d1c7217778495584fa2c2a91e3a3a73f8c6;hpb=7ea4ef8cae7b52f2bf66371a5e7b493cbd12900e;p=gedcom-parse.git diff --git a/gom/personal_name.h b/gom/personal_name.h index 2cc36d1..c8e7661 100644 --- a/gom/personal_name.h +++ b/gom/personal_name.h @@ -28,9 +28,15 @@ #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 */