Some fixes for libgedcom.so
[gedcom-parse.git] / 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 #include "external.h"
18
19 Gedcom_ctxt start_record(Gedcom_rec rec, int level, char *xref, char *tag);
20 void        end_record(Gedcom_rec rec, Gedcom_ctxt self);
21
22 Gedcom_ctxt start_element(Gedcom_elt elt, Gedcom_ctxt parent,
23                           int level, char *tag, char *raw_value,
24                           Gedcom_val parsed_value);
25 void        end_element(Gedcom_elt elt, Gedcom_ctxt parent, Gedcom_ctxt self,
26                         Gedcom_val parsed_value);
27
28
29 #endif /* __INTERFACE_H */