X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fbset.h;h=78b99578aaab002f062c7b15112e2fb1b870bcf1;hb=553ce0f9320b097b962ddd961989f5c8ad7fcf9f;hp=8f5a89fac64090cc4c69525cdcf88dbb77a67aa6;hpb=3c5f6226f97612c0d6ac40591f600587c5ffa858;p=idzebra-moved-to-github.git diff --git a/include/bset.h b/include/bset.h index 8f5a89f..78b9957 100644 --- a/include/bset.h +++ b/include/bset.h @@ -1,26 +1,31 @@ -/* - * Copyright (C) 1994-1999, Index Data - * All rights reserved. - * Sebastian Hammer, Adam Dickmeiss - * - * $Log: bset.h,v $ - * Revision 1.3 1999-02-02 14:50:30 adam - * Updated WIN32 code specific sections. Changed header. - * - * 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.7 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. +*/ + #ifndef BSET_H #define BSET_H -#ifdef __cplusplus -extern "C" { -#endif +#include + +YAZ_BEGIN_CDECL typedef unsigned short BSetWord; typedef BSetWord *BSet; @@ -52,8 +57,14 @@ 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 +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +