Moved oid.c to util.
authorSebastian Hammer <quinn@indexdata.com>
Mon, 29 May 1995 08:10:38 +0000 (08:10 +0000)
committerSebastian Hammer <quinn@indexdata.com>
Mon, 29 May 1995 08:10:38 +0000 (08:10 +0000)
asn/Makefile
client/client.c

index 1bc5c9f..a37c56e 100644 (file)
@@ -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)
index adf57cd..2ede5f1 100644 (file)
@@ -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)) ||