X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fzeerex.c;h=e72fe53313c2ed045e53e0e37f2bbfc211854173;hb=eff19482adf3615c6b40a8d806a6b7c21b0305c2;hp=12f6daac352ff09a8c6effce212ac937649f1d66;hpb=93ecda59be42d85293c699061a51d55ac1ebadd7;p=pazpar2-moved-to-github.git diff --git a/src/zeerex.c b/src/zeerex.c index 12f6daa..e72fe53 100644 --- a/src/zeerex.c +++ b/src/zeerex.c @@ -1,4 +1,21 @@ -/* $Id: zeerex.c,v 1.5 2007-03-29 11:02:04 marc Exp $ */ +/* This file is part of Pazpar2. + Copyright (C) 2006-2009 Index Data + +Pazpar2 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. + +Pazpar2 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 + +*/ // Reads Zeerex records into a set of structures @@ -14,7 +31,8 @@ // Replace this with something that will take a callback static void fail(const char *s, xmlNode *n) { - yaz_log(YLOG_WARN, "Zeerex Err '%s'; elem '%s/%s'", s, n->parent->name, n->name); + yaz_log(YLOG_WARN, "Zeerex Err '%s'; elem '%s/%s'", + s, n->parent->name, n->name); } // returns an nmem-allocated string if attr is present, or null @@ -683,7 +701,9 @@ struct zr_explain *zr_read_file(NMEM m, const char *fn) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ +