# Europagate, 1995
#
# Makefile for the Zdist interface
-# $Id: Makefile,v 1.1 1995/07/03 08:21:42 adam Exp $
+# $Id: Makefile,v 1.2 1995/07/05 10:20:44 adam Exp $
#
SHELL=/bin/sh
+ZACC=zlayer-zdist
+ZINC=-I/home/proj/zdist/zdist102b1-1/libz3950
+ZLIB=/home/proj/zdist/zdist102b1-1/libz3950/libz3950.a
ZDEFS=-DLOW_TO_HIGH -Dfar=
-ZPRE=/home/proj/zdist/zdist102b1-1/libz3950
-ZINC=-I$(ZPRE)
-ZLIB=$(ZPRE)/libz3950.a
INCLUDE=-I. -I../include $(ZINC)
LIB=../lib/libzass.a
-PO=zaccess-yaz.o
+PO=zaccess.o
CPP=$(CC) -E
DEFS=$(INCLUDE)
* Z39.50 API for the Email gateway
*
* $Log: zaccess.c,v $
- * Revision 1.1 1995/07/03 08:21:43 adam
+ * Revision 1.2 1995/07/05 10:20:44 adam
+ * Edited ZDist zlayer to use new API.
+ *
+ * Revision 1.1 1995/07/03 08:21:43 adam
* Zdist layer moved to new sub directory.
*
* Revision 1.17 1995/05/16 09:41:47 adam
return 0;
}
-ZASS zass_open(char *host, int port, int *complete)
+ZASS zass_open(char *host, int port, int *complete, char *auth)
{
struct zass *p;
PINITREQUEST ireq;
}
const struct zass_searchent *zass_search(ZASS a, struct ccl_rpn_node *query,
- char *resname, char *databases)
+ char *resname, char *databases, int *complete)
{
static struct zass_searchent r;
char kwaqs[512], *p;
* Note that 1== first record.
*/
const struct zass_presentent *zass_present(ZASS a, char *resname, int start,
- int num)
+ int num, int *complete)
{
static struct zass_presentent r = {0, 0, 0, 0};
zass_record **rec = &r.records;