X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fbset.h;h=de9eea700820ed8fbdb7b197378d538a00a734ea;hb=c944571888712854653be0d2debf903b8651c8e2;hp=f61d4b5f4a6221c7c2c3b05b3a2ad78a7dfd3f7b;hpb=c0c85097014e5b007075ab71d9b5bee412e28dd5;p=idzebra-moved-to-github.git diff --git a/include/bset.h b/include/bset.h index f61d4b5..de9eea7 100644 --- a/include/bset.h +++ b/include/bset.h @@ -1,23 +1,31 @@ -/* - * Copyright (C) 1994-1997, Index Data I/S - * All rights reserved. - * Sebastian Hammer, Adam Dickmeiss - * - * $Log: bset.h,v $ - * Revision 1.2 1997-09-05 15:29:59 adam - * Changed prototype for chr_map_input - added const. - * Added support for C++, headers uses extern "C" for public definitions. - * - * Revision 1.1 1994/09/26 10:17:42 adam - * Dfa-module header files. - * - */ +/* $Id: bset.h,v 1.6 2005-01-15 21:45:42 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 BSET_H #define BSET_H -#ifdef __cplusplus -extern "C" { -#endif +#include + +YAZ_BEGIN_CDECL typedef unsigned short BSetWord; typedef BSetWord *BSet; @@ -49,8 +57,6 @@ unsigned hash_BSet (BSetHandle *sh, BSet src); int eq_BSet (BSetHandle *sh, BSet dst, BSet src); void pr_charBSet (BSetHandle *sh, BSet src, void (*f)(int)); -#ifdef __cplusplus -} -#endif +YAZ_END_CDECL #endif