X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=rset%2Frsm_or.c;h=953c9f86d375b410b1a67b97712c45dd50506a66;hb=a8b86c35a39ce9eb5279c46dd99ef7e91b83fb7b;hp=0e4cd986327f4ab1f06ce04c80d988b52dc5ef02;hpb=e6b40b4f140e8f7348fff1f7be78ac78946421ff;p=idzebra-moved-to-github.git diff --git a/rset/rsm_or.c b/rset/rsm_or.c index 0e4cd98..953c9f8 100644 --- a/rset/rsm_or.c +++ b/rset/rsm_or.c @@ -1,4 +1,4 @@ -/* $Id: rsm_or.c,v 1.15 2004-08-03 12:15:45 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,12 +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) {