1 /* Include file for the source 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
28 #include "gom_internal.h"
30 void source_subscribe();
31 void sources_cleanup();
32 struct source* make_source_record(char* xref);
33 void source_add_event(Gom_ctxt ctxt, struct source_event* evt);
34 void source_add_note_to_data(Gom_ctxt ctxt, struct note_sub* note);
35 void source_add_to_value(NL_TYPE type, Gom_ctxt ctxt, char* str);
36 void source_add_note_to_repo(Gom_ctxt ctxt, struct note_sub* note);
37 void source_add_description(Gom_ctxt ctxt, struct source_description* desc);
38 void source_add_mm_link(Gom_ctxt ctxt, struct multimedia_link* link);
39 void source_add_note(Gom_ctxt ctxt, struct note_sub* note);
40 void source_add_user_ref(Gom_ctxt ctxt, struct user_ref_number* ref);
41 void source_set_record_id(Gom_ctxt ctxt, char *rin);
42 void source_set_change_date(Gom_ctxt ctxt, struct change_date* chan);
43 void source_add_user_data(Gom_ctxt ctxt, struct user_data* data);
45 #endif /* __SOURCE_H */