-/* $Id: rsprox.c,v 1.4 2004-08-03 12:15:45 heikki Exp $
+/* $Id: rsprox.c,v 1.7 2004-08-06 13:36:24 adam Exp $
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
Index Data Aps
#include <string.h>
#include <assert.h>
-#include <rsprox.h>
#include <zebrautl.h>
+#include <rsprox.h>
#ifndef RSET_DEBUG
#define RSET_DEBUG 0
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);
r_delete,
r_rewind,
r_forward,
- /* r_count, */
+ rset_default_pos,
r_read,
r_write,
};
int i;
char prox_term[512];
int length_prox_term = 0;
- int min_nn = 10000000;
+ zint min_nn = 10000000;
const char *flags = NULL;
int term_type = 0;
return 0;
}
-/*
-static int r_count (RSET ct)
-{
- return 0;
-}
-*/
static int r_read (RSFD rfd, void *buf, int *term_index)
{