From: Sebastian Hammer Date: Mon, 29 May 1995 08:10:38 +0000 (+0000) Subject: Moved oid.c to util. X-Git-Tag: YAZ.1.8~1011 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=17428c7afa7e84d91e4529ba440a953317dc2b82 Moved oid.c to util. --- diff --git a/asn/Makefile b/asn/Makefile index 1bc5c9f..a37c56e 100644 --- a/asn/Makefile +++ b/asn/Makefile @@ -1,7 +1,7 @@ # Copyright (C) 1994, Index Data I/S # All rights reserved. # Sebastian Hammer, Adam Dickmeiss -# $Id: Makefile,v 1.11 1995-05-22 11:30:15 quinn Exp $ +# $Id: Makefile,v 1.12 1995-05-29 08:10:38 quinn Exp $ SHELL=/bin/sh INCLUDE=-I../include -I. @@ -11,7 +11,7 @@ LIBINCLUDE=-L$(LIBDIR) DEFS=$(INCLUDE) LIB=$(LIBDIR)/libasn.a LIBS=-lodr -lasn -PO = proto.o diagbib1.o oid.o zget.o +PO = proto.o diagbib1.o zget.o CPP=$(CC) -E all: $(LIB) diff --git a/client/client.c b/client/client.c index adf57cd..2ede5f1 100644 --- a/client/client.c +++ b/client/client.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: client.c,v $ - * Revision 1.4 1995-05-22 15:30:13 adam + * Revision 1.5 1995-05-29 08:10:47 quinn + * Moved oid.c to util. + * + * Revision 1.4 1995/05/22 15:30:13 adam * Client uses prefix query notation. * * Revision 1.3 1995/05/22 15:06:53 quinn @@ -181,7 +184,7 @@ int cmd_open(char *arg) fprintf(stderr, "Bad type: %s\n", type); return 0; } - if (!(conn = cs_create(t, 1, CS_Z3950))) + if (!(conn = cs_create(t, 1, protocol))) { perror("cs_create"); return 0; @@ -518,7 +521,11 @@ int cmd_quit(char *arg) static void initialize(void) { +#ifdef RPN_QUERY +#ifndef PREFIX_QUERY FILE *inf; +#endif +#endif if (!(out = odr_createmem(ODR_ENCODE)) || !(in = odr_createmem(ODR_DECODE)) ||