X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=include%2Fbset.h;h=6933920bf3dd18d85257c19bc3c0e40c01a9174a;hp=f61d4b5f4a6221c7c2c3b05b3a2ad78a7dfd3f7b;hb=250de4ed23a44f5eb3552db317eef0d0fbe3265c;hpb=c0c85097014e5b007075ab71d9b5bee412e28dd5 diff --git a/include/bset.h b/include/bset.h index f61d4b5..6933920 100644 --- a/include/bset.h +++ b/include/bset.h @@ -1,23 +1,28 @@ -/* - * 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. - * - */ +/* This file is part of the Zebra server. + Copyright (C) 2004-2013 Index Data + +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 this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 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 +54,15 @@ 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 + * c-file-style: "Stroustrup" + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +