X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=rset%2Frsprox.c;h=909049595b1e07a42483dd4a7427cf433e52b6e0;hp=6a43203b0c111a2cb68b04b15398a7d6432b496b;hb=70ba74c9bbf739fbe82d1bc2b0fb64a547c0c9e0;hpb=e6b40b4f140e8f7348fff1f7be78ac78946421ff diff --git a/rset/rsprox.c b/rset/rsprox.c index 6a43203..9090495 100644 --- a/rset/rsprox.c +++ b/rset/rsprox.c @@ -1,4 +1,4 @@ -/* $Id: rsprox.c,v 1.4 2004-08-03 12:15:45 heikki Exp $ +/* $Id: rsprox.c,v 1.5 2004-08-03 14:54:41 heikki Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -40,7 +40,6 @@ static void r_rewind (RSFD rfd); static int r_forward(RSET ct, RSFD rfd, void *buf, int *term_index, int (*cmpfunc)(const void *p1, const void *p2), const void *untilbuf); -/* 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); @@ -53,7 +52,7 @@ static const struct rset_control control_prox = r_delete, r_rewind, r_forward, - /* r_count, */ + rset_default_pos, r_read, r_write, }; @@ -370,12 +369,6 @@ static int r_forward (RSET ct, RSFD rfd, void *buf, int *term_index, return 0; } -/* -static int r_count (RSET ct) -{ - return 0; -} -*/ static int r_read (RSFD rfd, void *buf, int *term_index) {