X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Frsisams.h;h=4fabf750aac16360dc0b6cc2137d3fd14f2d4b92;hb=56131846f59919027a4d3c59efb485afb6efb0de;hp=6fa58c9d66ab7ce02c702d0e91cb3cd14fa75b89;hpb=896c0427df9d8eff5de6a1735dcd992e067df844;p=idzebra-moved-to-github.git diff --git a/include/rsisams.h b/include/rsisams.h index 6fa58c9..4fabf75 100644 --- a/include/rsisams.h +++ b/include/rsisams.h @@ -1,4 +1,4 @@ -/* $Id: rsisams.h,v 1.2 2002-08-02 19:26:55 adam Exp $ +/* $Id: rsisams.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 @@ -32,14 +32,12 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA extern "C" { #endif +#error "do not use rsisams.h, it is all in rset.h" extern const struct rset_control *rset_kind_isams; -typedef struct rset_isams_parms -{ - ISAMS is; - ISAMS_P pos; - RSET_TERM rset_term; -} rset_isams_parms; +RSET rsisams_create( NMEM nmem, int key_size, + int (*cmp)(const void *p1, const void *p2), + ISAMS is, ISAMS_P pos); #ifdef __cplusplus }