Pass complete concatenated text in end callback.
[gedcom-parse.git] / gom / repository.h
index cee45fe0dec203bdedebb8251e3a5c9f6447f603..ec3c8662187f5f630d86a13662563c7416fd1a44 100644 (file)
 
 void repository_subscribe();
 void repositories_cleanup();
-struct repository* make_repository_record(char* xref);
+struct repository* make_repository_record(const char* xref);
 void repository_add_address(Gom_ctxt ctxt, struct address* address);
-void repository_add_phone(Gom_ctxt ctxt, char *phone);
+void repository_add_phone(Gom_ctxt ctxt, const char *phone);
 void repository_add_note(Gom_ctxt ctxt, struct note_sub* note);
 void repository_add_user_ref(Gom_ctxt ctxt, struct user_ref_number* ref);
-void repository_set_record_id(Gom_ctxt ctxt, char *rin);
+void repository_set_record_id(Gom_ctxt ctxt, const char *rin);
 void repository_set_change_date(Gom_ctxt ctxt, struct change_date* chan);
 void repository_add_user_data(Gom_ctxt ctxt, struct user_data* data);