1 /* Include file for the repository object in the gedcom object model.
2 Copyright (C) 2002 The Genes Development Team
3 This file is part of the Gedcom parser library.
4 Contributed by Peter Verthez <Peter.Verthez@advalvas.be>, 2002.
6 The Gedcom parser library is free software; you can redistribute it
7 and/or modify it under the terms of the GNU Lesser General Public
8 License as published by the Free Software Foundation; either
9 version 2.1 of the License, or (at your option) any later version.
11 The Gedcom parser library is distributed in the hope that it will be
12 useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Lesser General Public License for more details.
16 You should have received a copy of the GNU Lesser General Public
17 License along with the Gedcom parser library; if not, write to the
18 Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
24 #ifndef __REPOSITORY_H
25 #define __REPOSITORY_H
28 #include "gom_internal.h"
30 void repository_subscribe();
31 void repositories_cleanup();
32 struct repository* make_repository_record(char* xref);
33 void repository_add_address(Gom_ctxt ctxt, struct address* address);
34 void repository_add_phone(Gom_ctxt ctxt, char *phone);
35 void repository_add_note(Gom_ctxt ctxt, struct note_sub* note);
36 void repository_add_user_ref(Gom_ctxt ctxt, struct user_ref_number* ref);
37 void repository_set_record_id(Gom_ctxt ctxt, char *rin);
38 void repository_set_change_date(Gom_ctxt ctxt, struct change_date* chan);
39 void repository_add_user_data(Gom_ctxt ctxt, struct user_data* data);
41 #endif /* __REPOSITORY_H */