# Copyright (C) 1995-1998, Index Data
# All rights reserved.
# Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile.in,v 1.3 1998-11-16 16:03:41 adam Exp $
+# $Id: Makefile.in,v 1.4 1999-02-15 08:52:37 adam Exp $
SHELL=/bin/sh
retrieve.o
O4 = hlvl.o hlvltest.o kcompare.o
O5 = apitest.o kcompare.o zrpn.o zsets.o attribute.o recindex.o \
- zlogs.o lockutil.o locksrv.o zinfo.o trunc.o sortidx.o rank1.o zebraapi.o \
+ lockutil.o locksrv.o zinfo.o trunc.o sortidx.o rank1.o zebraapi.o \
retrieve.o
all: $(TPROG1) $(TPROG2) $(TPROG3)
for (i = 0; i<noOfRecordsToFetch; i++)
records[i].position = i+1;
/* fetch them and request for GRS-1 records */
- zebra_records_retrieve (zh, odr_input, setname, NULL, VAL_GRS1,
+ zebra_records_retrieve (zh, odr_input, setname, NULL, VAL_SUTRS,
noOfRecordsToFetch, records);
/* status ... */
printf (" GRS-1\n");
display_grs1(grs_record, 0);
}
+ else if (records[i].format == VAL_SUTRS)
+ {
+ printf (" SUTRS\n");
+ printf ("%.*s", records[i].len, records[i].buf);
+ }
/* some other record we don't handle yet... */
else
{