dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test writing of a read gedcom file.
[gedcom-parse.git]
/
gom
/
repository.c
diff --git
a/gom/repository.c
b/gom/repository.c
index a2f61dd6bcc60aebc1f4c3b2fd24373fe30951d8..b34081cb84f739a9801e33a0c6961a7b9533ef9a 100644
(file)
--- a/
gom/repository.c
+++ b/
gom/repository.c
@@
-52,7
+52,7
@@
void repository_add_address(Gom_ctxt ctxt, struct address* address)
repo->address = address;
}
repo->address = address;
}
-void repository_add_phone(Gom_ctxt ctxt, char *phone)
+void repository_add_phone(Gom_ctxt ctxt, c
onst c
har *phone)
{
struct repository *repo = SAFE_CTXT_CAST(repository, ctxt);
if (repo) {
{
struct repository *repo = SAFE_CTXT_CAST(repository, ctxt);
if (repo) {
@@
-79,7
+79,7
@@
void repository_add_user_ref(Gom_ctxt ctxt, struct user_ref_number* ref)
LINK_CHAIN_ELT(user_ref_number, repo->ref, ref);
}
LINK_CHAIN_ELT(user_ref_number, repo->ref, ref);
}
-void repository_set_record_id(Gom_ctxt ctxt, char *rin)
+void repository_set_record_id(Gom_ctxt ctxt, c
onst c
har *rin)
{
struct repository *repo = SAFE_CTXT_CAST(repository, ctxt);
if (repo) {
{
struct repository *repo = SAFE_CTXT_CAST(repository, ctxt);
if (repo) {
@@
-129,7
+129,7
@@
struct repository* gom_get_first_repository()
return gom_first_repository;
}
return gom_first_repository;
}
-struct repository* make_repository_record(char* xrefstr)
+struct repository* make_repository_record(c
onst c
har* xrefstr)
{
struct repository* repo = NULL;
MAKE_CHAIN_ELT(repository, gom_first_repository, repo);
{
struct repository* repo = NULL;
MAKE_CHAIN_ELT(repository, gom_first_repository, repo);