X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=data1%2Fd1_soif.c;h=71336f04b201846160f51d7cf8662a8abe3f0110;hp=3aaf857be0a0c592ad9c079f3cd13bf05dd3857f;hb=89d16cf15eda0e4802d18b8ad09bd3653508ebfc;hpb=519fefb91135ad52134b9fc4e82b3874f5525a2b diff --git a/data1/d1_soif.c b/data1/d1_soif.c index 3aaf857..71336f0 100644 --- a/data1/d1_soif.c +++ b/data1/d1_soif.c @@ -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 -#include /* * This module generates SOIF (Simple Object Interchange Format) records @@ -15,6 +24,9 @@ * concatenating the tag names at each level. */ +#include +#include + 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 + */ +