X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=rset%2Frsm_or.c;h=953c9f86d375b410b1a67b97712c45dd50506a66;hb=a8b86c35a39ce9eb5279c46dd99ef7e91b83fb7b;hp=dd6abd58d0aaf55ec7ca730a078369587b9d2d67;hpb=9949fe7912e81ebf77d345a0581dc31a439bc2b8;p=idzebra-moved-to-github.git diff --git a/rset/rsm_or.c b/rset/rsm_or.c index dd6abd5..953c9f8 100644 --- a/rset/rsm_or.c +++ b/rset/rsm_or.c @@ -1,4 +1,4 @@ -/* $Id: rsm_or.c,v 1.14 2004-01-16 15:27:35 heikki Exp $ +/* $Id: rsm_or.c,v 1.17 2004-08-06 12:55:03 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Index Data Aps @@ -38,7 +38,6 @@ static RSFD r_open (RSET ct, int flag); static void r_close (RSFD rfd); static void r_delete (RSET ct); static void r_rewind (RSFD rfd); -static int r_count (RSET ct); static int r_read (RSFD rfd, void *buf, int *term_index); static int r_write (RSFD rfd, const void *buf); @@ -50,8 +49,8 @@ static const struct rset_control control = r_close, r_delete, r_rewind, - rset_default_forward, - r_count, + rset_default_forward, /* FIXME */ + rset_default_pos, /* FIXME */ r_read, r_write, }; @@ -90,7 +89,7 @@ struct rset_mor_rfd { struct rset_mor_rfd *next; struct rset_mor_info *info; struct trunc_info *ti; - int *countp; + zint *countp; char *pbuf; }; @@ -297,10 +296,6 @@ static void r_rewind (RSFD rfd) { } -static int r_count (RSET ct) -{ - return 0; -} static int r_read (RSFD rfd, void *buf, int *term_index) {