Happy new year
[idzebra-moved-to-github.git] / data1 / d1_soif.c
index 3aaf857..71336f0 100644 (file)
@@ -1,13 +1,22 @@
-/*
- * Copyright (c) 1995-2002, Index Data.
- * See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
- *
- * $Id: d1_soif.c,v 1.1 2002-10-22 12:53:33 adam Exp $
- */
+/* This file is part of the Zebra server.
+   Copyright (C) 1994-2009 Index Data
+
+Zebra 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, or (at your option) any later
+version.
+
+Zebra 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 General Public License
+for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+
+*/
 
-#include <yaz/wrbuf.h>
-#include <data1.h>
 
 /*
  * This module generates SOIF (Simple Object Interchange Format) records
@@ -15,6 +24,9 @@
  * concatenating the tag names at each level.
  */
 
+#include <yaz/wrbuf.h>
+#include <idzebra/data1.h>
+
 static int nodetoelement(data1_node *n, int select, char *prefix, WRBUF b)
 {
     data1_node *c;
@@ -74,3 +86,11 @@ char *data1_nodetosoif (data1_handle dh, data1_node *n, int select, int *len)
     *len = wrbuf_len(b);
     return wrbuf_buf(b);
 }
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+