Only try to delete address if present.
[gedcom-parse.git] / gom / multimedia_link.h
1 /* Include file for the multimedia link 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 __MULTIMEDIA_LINK_H
26 #define __MULTIMEDIA_LINK_H
27
28 #include "gom.h"
29 #include "gom_internal.h"
30
31 void multimedia_link_subscribe();
32 int write_multimedia_links(Gedcom_write_hndl hndl, int parent,
33                            struct multimedia_link* mm);
34
35 DECLARE_SUB_MAKEFUNC(multimedia_link);
36
37 DECLARE_UNREFALLFUNC(multimedia_link);
38 DECLARE_CLEANFUNC(multimedia_link);
39 DECLARE_ADDFUNC2(multimedia_link, note_sub);
40 DECLARE_ADDFUNC2(multimedia_link, user_data);
41
42 #endif /* __MULTIMEDIA_LINK_H */