1 /* Include file for the individual 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 __INDIVIDUAL_H
25 #define __INDIVIDUAL_H
28 #include "gom_internal.h"
30 void individual_subscribe();
31 void individuals_cleanup();
32 struct individual* make_individual_record(char* xref);
33 void individual_add_event(Gom_ctxt ctxt, struct event* evt);
34 void individual_add_attribute(Gom_ctxt ctxt, struct event* evt);
35 void individual_add_name(Gom_ctxt ctxt, struct personal_name* name);
36 void individual_add_lio(Gom_ctxt ctxt, struct lds_event* evt);
37 void individual_add_family_link(Gom_ctxt ctxt, int ctxt_type,
38 struct family_link* link);
39 void individual_add_association(Gom_ctxt ctxt, struct association* assoc);
40 void individual_add_citation(Gom_ctxt ctxt, struct source_citation* cit);
41 void individual_add_mm_link(Gom_ctxt ctxt, struct multimedia_link* link);
42 void individual_add_note(Gom_ctxt ctxt, struct note_sub* note);
43 void individual_add_user_ref(Gom_ctxt ctxt, struct user_ref_number* ref);
44 void individual_set_record_id(Gom_ctxt ctxt, char *rin);
45 void individual_set_change_date(Gom_ctxt ctxt, struct change_date* chan);
46 void individual_add_user_data(Gom_ctxt ctxt, struct user_data* data);
48 #endif /* __INDIVIDUAL_H */