X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=gom%2Frepository.h;h=066d7408ee04caed478a39237e42117d1b3c7e79;hb=1568cb8ab16ecc1984d0d00b8ae8189c32508b08;hp=cee45fe0dec203bdedebb8251e3a5c9f6447f603;hpb=7ea4ef8cae7b52f2bf66371a5e7b493cbd12900e;p=gedcom-parse.git diff --git a/gom/repository.h b/gom/repository.h index cee45fe..066d740 100644 --- a/gom/repository.h +++ b/gom/repository.h @@ -29,13 +29,14 @@ 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); +int write_repositories(Gedcom_write_hndl hndl); #endif /* __REPOSITORY_H */