Use Gedcom_val for the xref in the record start callback too.
[gedcom-parse.git] / ansel / ANSI_Z39.47.c
index 5826d39519c723aeafd3735c5e68e5903c874dcb..8136734f4b5761188fab5fda59753a23b5a89ebd 100644 (file)
@@ -1,3 +1,26 @@
+/* Conversion for ANSI_Z39.47 aka ANSEL.
+   Copyright (C) 2001 The Genes Development Team
+   This file is part of the Gedcom parser library.
+   Contributed by Peter Verthez <Peter.Verthez@advalvas.be>, 2001.
+
+   The Gedcom parser library is free software; you can redistribute it
+   and/or modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The Gedcom parser library is distributed in the hope that it will be
+   useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the Gedcom parser library; if not, write to the
+   Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+/* $Id$ */
+/* $Name$ */
+
 /* Generic conversion to and from ANSI Z39.47 (also known as ANSEL)
    Based on the ansi_x3.110.c file from the glibc sources
    Data coming from:
@@ -11,7 +34,6 @@
 #include <gconv.h>
 #include <stdint.h>
 #include <string.h>
-#include <stdio.h>
 
 static const uint32_t to_ucs4[256] =
 {