projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added inclusion of oid_db.h
[yaz-moved-to-github.git]
/
zoom
/
zoomsh.c
diff --git
a/zoom/zoomsh.c
b/zoom/zoomsh.c
index
11b5698
..
0bbd70b
100644
(file)
--- a/
zoom/zoomsh.c
+++ b/
zoom/zoomsh.c
@@
-2,7
+2,7
@@
* Copyright (C) 1995-2007, Index Data ApS
* See the file LICENSE for details.
*
* Copyright (C) 1995-2007, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: zoomsh.c,v 1.44 2007-03-19 20:58:34 adam Exp $
+ * $Id: zoomsh.c,v 1.46 2007-04-12 13:52:58 adam Exp $
*/
/** \file zoomsh.c
*/
/** \file zoomsh.c
@@
-28,7
+28,6
@@
#include <yaz/log.h>
#include <yaz/nmem.h>
#include <yaz/zoom.h>
#include <yaz/log.h>
#include <yaz/nmem.h>
#include <yaz/zoom.h>
-#include <yaz/oid.h>
#define MAX_CON 100
#define MAX_CON 100
@@
-204,10
+203,8
@@
static void display_records (ZOOM_connection c,
/* if rec is non-null, we got a record for display */
if (rec)
{
/* if rec is non-null, we got a record for display */
if (rec)
{
- char oidbuf[100];
- (void) oid_name_to_dotstring(CLASS_RECSYN, syntax, oidbuf);
- printf ("%d %s %s (%s)\n",
- pos, (db ? db : "unknown"), syntax, oidbuf);
+ printf ("%d %s %s\n",
+ pos, (db ? db : "unknown"), syntax);
if (render)
fwrite (render, 1, len, stdout);
printf ("\n");
if (render)
fwrite (render, 1, len, stdout);
printf ("\n");
@@
-393,7
+390,7
@@
static void cmd_scan (ZOOM_connection *c, ZOOM_resultset *r,
for (i = 0; i<MAX_CON; i++)
{
if (c[i])
for (i = 0; i<MAX_CON; i++)
{
if (c[i])
- s[i] = ZOOM_connection_scan_pqf(c[i], start_term);
+ s[i] = ZOOM_connection_scan(c[i], start_term);
else
s[i] = 0;
}
else
s[i] = 0;
}