X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=data1%2Fd1_soif.c;h=e6dfc03e9ffdc1b36e4784cb6fae90303fe5e073;hp=3aaf857be0a0c592ad9c079f3cd13bf05dd3857f;hb=ecb3935e78cd9bcfdebafdee0834cfb1060d7b5e;hpb=519fefb91135ad52134b9fc4e82b3874f5525a2b diff --git a/data1/d1_soif.c b/data1/d1_soif.c index 3aaf857..e6dfc03 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.5 2006-05-10 08:13:18 adam Exp $ + Copyright (C) 1995-2005 + 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 Zebra; see the file LICENSE.zebra. If not, write to the +Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA +02111-1307, 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 + */ +