Moved to gedcom subdirectory.
[gedcom-parse.git] / gedcom / interface.h
diff --git a/gedcom/interface.h b/gedcom/interface.h
new file mode 100644 (file)
index 0000000..db1a048
--- /dev/null
@@ -0,0 +1,28 @@
+/*  This program is free software; you can redistribute it and/or modify  *
+ *  it under the terms of the GNU General Public License as published by  *
+ *  the Free Software Foundation; either version 2 of the License, or     *
+ *  (at your option) any later version.                                   *
+
+ (C) 2001 by The Genes Development Team
+ Original author: Peter Verthez (Peter.Verthez@advalvas.be)
+*/
+
+/* $Id$ */
+/* $Name$ */
+
+#ifndef __INTERFACE_H
+#define __INTERFACE_H
+
+#include "gedcom.h"
+
+Gedcom_ctxt start_record(Gedcom_rec rec, int level, char *xref, char *tag);
+void        end_record(Gedcom_rec rec, Gedcom_ctxt self);
+
+Gedcom_ctxt start_element(Gedcom_elt elt, Gedcom_ctxt parent,
+                         int level, char *tag, char *raw_value,
+                         Gedcom_val parsed_value);
+void        end_element(Gedcom_elt elt, Gedcom_ctxt parent, Gedcom_ctxt self,
+                       Gedcom_val parsed_value);
+
+
+#endif /* __INTERFACE_H */