X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gom%2Fnote.h;h=a8f54c59ee301d6332ce3e6272050ddb0daadd30;hb=f8f253aa29e3c2561d325cb47cc17a727f76266e;hp=b47b3b016e09e122042cf73a5eb8cf1599651bdb;hpb=7ea4ef8cae7b52f2bf66371a5e7b493cbd12900e;p=gedcom-parse.git diff --git a/gom/note.h b/gom/note.h index b47b3b0..a8f54c5 100644 --- a/gom/note.h +++ b/gom/note.h @@ -29,12 +29,13 @@ void note_subscribe(); void notes_cleanup(); -struct note* make_note_record(char* xref); -void note_add_to_note(NL_TYPE type, Gom_ctxt ctxt, char* str); -void note_add_citation(Gom_ctxt ctxt, struct source_citation* cit); -void note_add_user_ref(Gom_ctxt ctxt, struct user_ref_number* ref); -void note_set_record_id(Gom_ctxt ctxt, char *rin); -void note_set_change_date(Gom_ctxt ctxt, struct change_date* chan); -void note_add_user_data(Gom_ctxt ctxt, struct user_data* data); +int write_notes(Gedcom_write_hndl hndl); + +DECLARE_MAKEFUNC(note); +DECLARE_ADDFUNC2(note, source_citation); +DECLARE_ADDFUNC2(note, user_ref_number); +DECLARE_ADDFUNC2(note, user_data); +DECLARE_ADDFUNC2_NOLIST(note, change_date); +DECLARE_ADDFUNC2_STR(note, record_id); #endif /* __NOTE_H */