From 4ed0df89283b51f12daddfcce1eff246e6962a08 Mon Sep 17 00:00:00 2001 From: Sebastian Hammer Date: Mon, 7 Oct 1996 15:29:16 +0000 Subject: [PATCH] Added SOIF support --- include/data1.h | 6 +++++- include/oid.h | 8 ++++++-- include/proto.h | 9 ++++++--- retrieval/Makefile | 5 +++-- server/Makefile | 4 ++-- util/oid.c | 6 +++++- 6 files changed, 27 insertions(+), 11 deletions(-) diff --git a/include/data1.h b/include/data1.h index 5238c88..dd5ec34 100644 --- a/include/data1.h +++ b/include/data1.h @@ -24,7 +24,10 @@ * OF THIS SOFTWARE. * * $Log: data1.h,v $ - * Revision 1.17 1996-07-06 19:58:32 quinn + * Revision 1.18 1996-10-07 15:29:16 quinn + * Added SOIF support + * + * Revision 1.17 1996/07/06 19:58:32 quinn * System headerfiles gathered in yconfig * * Revision 1.16 1996/06/10 08:55:34 quinn @@ -391,5 +394,6 @@ char *data1_nodetomarc(data1_marctab *p, data1_node *n, int selected, int *len); char *data1_nodetoidsgml(data1_node *n, int select, int *len); Z_ExplainRecord *data1_nodetoexplain(data1_node *n, int select, ODR o); Z_BriefBib *data1_nodetosummary(data1_node *n, int select, ODR o); +char *data1_nodetosoif(data1_node *n, int select, int *len); #endif diff --git a/include/oid.h b/include/oid.h index a465b75..cd0d234 100644 --- a/include/oid.h +++ b/include/oid.h @@ -24,7 +24,10 @@ * OF THIS SOFTWARE. * * $Log: oid.h,v $ - * Revision 1.13 1996-02-20 17:57:53 adam + * Revision 1.14 1996-10-07 15:29:17 quinn + * Added SOIF support + * + * Revision 1.13 1996/02/20 17:57:53 adam * Added const to oid_getvalbyname. * * Revision 1.12 1996/02/20 12:52:37 quinn @@ -154,7 +157,8 @@ typedef enum oid_value VAL_SETM, VAL_SETG, VAL_VAR1, - VAL_ESPEC1 + VAL_ESPEC1, + VAL_SOIF } oid_value; typedef struct oident diff --git a/include/proto.h b/include/proto.h index 2a323fa..f19cfc6 100644 --- a/include/proto.h +++ b/include/proto.h @@ -24,7 +24,10 @@ * OF THIS SOFTWARE. * * $Log: proto.h,v $ - * Revision 1.35 1996-06-10 08:57:38 quinn + * Revision 1.36 1996-10-07 15:29:20 quinn + * Added SOIF support + * + * Revision 1.35 1996/06/10 08:57:38 quinn * Added OPAC, ResourceReport * * Revision 1.34 1996/06/10 08:55:36 quinn @@ -1029,10 +1032,10 @@ typedef struct Z_DeleteResultSetResponse Z_ReferenceId *referenceId; /* OPTIONAL */ int *deleteOperationStatus; int num_statuses; - Z_ListStatus *deleteListStatuses; /* OPTIONAL */ + Z_ListStatus **deleteListStatuses; /* OPTIONAL */ int *numberNotDeleted; /* OPTIONAL */ int num_bulkStatuses; - Z_ListStatus *bulkStatuses; /* OPTIONAL */ + Z_ListStatus **bulkStatuses; /* OPTIONAL */ char *deleteMessage; /* OPTIONAL */ #ifdef Z_95 Z_OtherInformation *otherInfo; diff --git a/retrieval/Makefile b/retrieval/Makefile index 5906c83..be43b46 100644 --- a/retrieval/Makefile +++ b/retrieval/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.7 1996-06-10 08:56:00 quinn Exp $ +# $Id: Makefile,v 1.8 1996-10-07 15:29:32 quinn Exp $ SHELL=/bin/sh RANLIB=ranlib @@ -7,7 +7,8 @@ DEFS=$(INCLUDE) LIB=../lib/libret.a PO = d1_read.o d1_attset.o d1_tagset.o d1_absyn.o d1_grs.o \ d1_sutrs.o d1_varset.o d1_espec.o \ - d1_doespec.o d1_map.o d1_marc.o d1_write.o d1_expout.o d1_sumout.o + d1_doespec.o d1_map.o d1_marc.o d1_write.o d1_expout.o d1_sumout.o \ + d1_soif.o CPP=$(CC) -E all: $(LIB) diff --git a/server/Makefile b/server/Makefile index ed422a8..f08d616 100644 --- a/server/Makefile +++ b/server/Makefile @@ -1,7 +1,7 @@ # Copyright (C) 1994, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.29 1996-05-22 08:36:02 adam Exp $ +# $Id: Makefile,v 1.30 1996-10-07 15:29:38 quinn Exp $ LIBDIR=../lib @@ -17,7 +17,7 @@ $(LIBDIR)/libcomstack.a $(LIBMOSI) $(LIBDIR)/libutil.a $(ELIBS) PO = eventl.o seshigh.o statserv.o requestq.o CPP=$(CC) -E PROG=ztest -PROGO=ztest.o read-grs.o +PROGO=ztest.o read-grs.o dawson.o RANLIB=ranlib all: $(LIBDIR) $(LIB) $(PROG) diff --git a/util/oid.c b/util/oid.c index f3d2993..6856de7 100644 --- a/util/oid.c +++ b/util/oid.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: oid.c,v $ - * Revision 1.14 1996-02-20 17:58:28 adam + * Revision 1.15 1996-10-07 15:29:43 quinn + * Added SOIF support + * + * Revision 1.14 1996/02/20 17:58:28 adam * Added const to oid_getvalbyname. * * Revision 1.13 1996/02/20 16:37:33 quinn @@ -121,6 +124,7 @@ static oident oids[] = #if 0 {PROTO_Z3950, CLASS_RECSYN, VAL_ID_SGML, {5,1000,81,1,-1},"ID-SGML" }, #endif + {PROTO_Z3950, CLASS_RECSYN, VAL_SOIF, {5,1000,81,2,-1},"SOIF" }, {PROTO_Z3950, CLASS_RESFORM, VAL_RESOURCE1, {7,1,-1}, "Resource-1" }, {PROTO_Z3950, CLASS_RESFORM, VAL_RESOURCE2, {7,2,-1}, "Resource-2" }, {PROTO_Z3950, CLASS_ACCFORM, VAL_PROMPT1, {8,1,-1}, "Prompt-1" }, -- 1.7.10.4