X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Frsisamb.h;h=8cd45bcc91a13bd9b476b8eb777a301a3cfb3dbd;hb=56131846f59919027a4d3c59efb485afb6efb0de;hp=01f2dd300c26586aa1616a6f58aba5a8062a2d5d;hpb=764b78fb481cf1084a5a583ffefbe8a0f32af28c;p=idzebra-moved-to-github.git diff --git a/include/rsisamb.h b/include/rsisamb.h index 01f2dd3..8cd45bc 100644 --- a/include/rsisamb.h +++ b/include/rsisamb.h @@ -1,9 +1,26 @@ -/* - * Copyright (C) 2001-2002, Index Data - * All rights reserved. - * - * $Id: rsisamb.h,v 1.1 2002-04-16 22:31:42 adam Exp $ - */ +/* $Id: rsisamb.h,v 1.5 2004-09-01 15:01:32 heikki Exp $ + Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 + 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 RSET_ISAMB_H #define RSET_ISAMB_H @@ -15,16 +32,13 @@ extern "C" { #endif -extern const struct rset_control *rset_kind_isamb; +#error "Never mind rsisamb.h, it is all in rset.h " +/* extern const struct rset_control *rset_kind_isamb; */ + +RSET rsisamb_create( NMEM nmem, int key_size, + int (*cmp)(const void *p1, const void *p2), + ISAMB is, ISAMB_P pos); -typedef struct rset_isamb_parms -{ - int (*cmp)(const void *p1, const void *p2); - int key_size; - ISAMB is; - ISAMB_P pos; - RSET_TERM rset_term; -} rset_isamb_parms; #ifdef __cplusplus }