X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gom%2Fnote.h;h=4f5f9cdc5f7ae00e4631cb48f437bb0f2b190b1a;hb=4c445928c8f7d30731a66522ffb9747fe13a3243;hp=b47b3b016e09e122042cf73a5eb8cf1599651bdb;hpb=7ea4ef8cae7b52f2bf66371a5e7b493cbd12900e;p=gedcom-parse.git diff --git a/gom/note.h b/gom/note.h index b47b3b0..4f5f9cd 100644 --- a/gom/note.h +++ b/gom/note.h @@ -29,11 +29,11 @@ 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); +struct note* make_note_record(const char* xref); +void note_add_to_note(NL_TYPE type, Gom_ctxt ctxt, const 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_record_id(Gom_ctxt ctxt, const 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);