Moved to gedcom subdirectory.
[gedcom-parse.git] / gedcom / interface.h
1 /*  This program is free software; you can redistribute it and/or modify  *
2  *  it under the terms of the GNU General Public License as published by  *
3  *  the Free Software Foundation; either version 2 of the License, or     *
4  *  (at your option) any later version.                                   *
5
6  (C) 2001 by The Genes Development Team
7  Original author: Peter Verthez (Peter.Verthez@advalvas.be)
8 */
9
10 /* $Id$ */
11 /* $Name$ */
12
13 #ifndef __INTERFACE_H
14 #define __INTERFACE_H
15
16 #include "gedcom.h"
17
18 Gedcom_ctxt start_record(Gedcom_rec rec, int level, char *xref, char *tag);
19 void        end_record(Gedcom_rec rec, Gedcom_ctxt self);
20
21 Gedcom_ctxt start_element(Gedcom_elt elt, Gedcom_ctxt parent,
22                           int level, char *tag, char *raw_value,
23                           Gedcom_val parsed_value);
24 void        end_element(Gedcom_elt elt, Gedcom_ctxt parent, Gedcom_ctxt self,
25                         Gedcom_val parsed_value);
26
27
28 #endif /* __INTERFACE_H */