Only try to delete address if present.
[gedcom-parse.git] / gom / source_description.h
1 /* Include file for the source description substructure in the gedcom object
2    model.
3    Copyright (C) 2002 The Genes Development Team
4    This file is part of the Gedcom parser library.
5    Contributed by Peter Verthez <Peter.Verthez@advalvas.be>, 2002.
6
7    The Gedcom parser library is free software; you can redistribute it
8    and/or modify it under the terms of the GNU Lesser General Public
9    License as published by the Free Software Foundation; either
10    version 2.1 of the License, or (at your option) any later version.
11
12    The Gedcom parser library is distributed in the hope that it will be
13    useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15    Lesser General Public License for more details.
16
17    You should have received a copy of the GNU Lesser General Public
18    License along with the Gedcom parser library; if not, write to the
19    Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
20    02111-1307 USA.  */
21
22 /* $Id$ */
23 /* $Name$ */
24
25 #ifndef __SOURCE_DESCRIPTION_H
26 #define __SOURCE_DESCRIPTION_H
27
28 #include "gom.h"
29 #include "gom_internal.h"
30
31 void source_description_subscribe();
32 int write_source_descriptions(Gedcom_write_hndl hndl, int parent,
33                               struct source_description *desc);
34
35 DECLARE_SUB_MAKEFUNC(source_description);
36
37 DECLARE_UNREFALLFUNC(source_description);
38 DECLARE_CLEANFUNC(source_description);
39 DECLARE_ADDFUNC2(source_description, user_data);
40
41 #endif /* __SOURCE_DESCRIPTION_H */