X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=include%2Fgom.h;fp=include%2Fgom.h;h=0af1ee5753be930c359dcb5177891b87d781ae18;hb=4c445928c8f7d30731a66522ffb9747fe13a3243;hp=766e0da59dc88cede6ef53227b51d75c415e8aa7;hpb=5fe34c1f751845fb0912834069c8e357a4cc0d6d;p=gedcom-parse.git diff --git a/include/gom.h b/include/gom.h index 766e0da..0af1ee5 100644 --- a/include/gom.h +++ b/include/gom.h @@ -413,34 +413,34 @@ struct user_rec { /* Functions */ -int gom_parse_file(char *file_name); +int gom_parse_file(const char *file_name); struct header* gom_get_header(); struct submission* gom_get_submission(); struct family* gom_get_first_family(); -struct family* gom_get_family_by_xref(char *xref); +struct family* gom_get_family_by_xref(const char *xref); struct individual* gom_get_first_individual(); -struct individual* gom_get_individual_by_xref(char *xref); +struct individual* gom_get_individual_by_xref(const char *xref); struct multimedia* gom_get_first_multimedia(); -struct multimedia* gom_get_multimedia_by_xref(char *xref); +struct multimedia* gom_get_multimedia_by_xref(const char *xref); struct note* gom_get_first_note(); -struct note* gom_get_note_by_xref(char *xref); +struct note* gom_get_note_by_xref(const char *xref); struct repository* gom_get_first_repository(); -struct repository* gom_get_repository_by_xref(char *xref); +struct repository* gom_get_repository_by_xref(const char *xref); struct source* gom_get_first_source(); -struct source* gom_get_source_by_xref(char *xref); +struct source* gom_get_source_by_xref(const char *xref); struct submitter* gom_get_first_submitter(); -struct submitter* gom_get_submitter_by_xref(char *xref); +struct submitter* gom_get_submitter_by_xref(const char *xref); struct user_rec* gom_get_first_user_rec(); -struct user_rec* gom_get_user_rec_by_xref(char *xref); +struct user_rec* gom_get_user_rec_by_xref(const char *xref); __END_DECLS