X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fzebrautl.h;h=3393468ce286a6367d5e65f2704e7dcb3d836b4b;hb=b09c1d0aa414cb43fb667be54a29b3cc7279ea85;hp=c18c9f1554450603ecf135668992c2ea6f530c3a;hpb=c0c85097014e5b007075ab71d9b5bee412e28dd5;p=idzebra-moved-to-github.git diff --git a/include/zebrautl.h b/include/zebrautl.h index c18c9f1..3393468 100644 --- a/include/zebrautl.h +++ b/include/zebrautl.h @@ -1,28 +1,40 @@ -/* - * Copyright (C) 1995-1997, Index Data I/S - * All rights reserved. - * Sebastian Hammer, Adam Dickmeiss - * - * $Log: zebrautl.h,v $ - * Revision 1.2 1997-09-05 15:30:06 adam - * Changed prototype for chr_map_input - added const. - * Added support for C++, headers uses extern "C" for public definitions. - * - * Revision 1.1 1996/10/29 13:46:12 adam - * Removed obsolete headers alexpath, alexutil. Created zebrautl.h as - * a replacement. - * - */ +/* $Id: zebrautl.h,v 1.13 2005-01-15 19:38:24 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. +*/ #ifndef ZEBRA_UTIL_H #define ZEBRA_UTIL_H -#include -#include -#include -#include -#include +#include + +#include +#include + +/* check that we don't have all too old yaz */ +#ifndef YLOG_ERRNO +#error Need a modern yaz with YLOG_ defines +#endif -#include +YAZ_BEGIN_CDECL +zint atoi_zn (const char *buf, zint len); +YAZ_END_CDECL #endif