X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=data1%2Fd1_soif.c;h=7686be7ee9408176eb7634edee316e7104b3890b;hp=3aaf857be0a0c592ad9c079f3cd13bf05dd3857f;hb=1b8e1d7dfece31918056f76819c18675ed6e781e;hpb=519fefb91135ad52134b9fc4e82b3874f5525a2b diff --git a/data1/d1_soif.c b/data1/d1_soif.c index 3aaf857..7686be7 100644 --- a/data1/d1_soif.c +++ b/data1/d1_soif.c @@ -1,13 +1,25 @@ -/* - * 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 $ - */ +/* $Id: d1_soif.c,v 1.7 2007-01-15 15:10:14 adam Exp $ + Copyright (C) 1995-2007 + Index Data ApS + +This file is part of the Zebra server. + +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 +27,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 +89,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 + */ +