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
Dates
[yaz-moved-to-github.git]
/
ztest
/
ztest.c
diff --git
a/ztest/ztest.c
b/ztest/ztest.c
index
a021b64
..
7d497df
100644
(file)
--- a/
ztest/ztest.c
+++ b/
ztest/ztest.c
@@
-1,8
+1,8
@@
/*
/*
- * Copyright (c) 1995-2002, Index Data.
+ * Copyright (c) 1995-2003, Index Data.
* See the file LICENSE for details.
*
* See the file LICENSE for details.
*
- * $Id: ztest.c,v 1.52 2002-03-18 21:33:48 adam Exp $
+ * $Id: ztest.c,v 1.55 2003-02-20 15:14:10 adam Exp $
*/
/*
*/
/*
@@
-16,9
+16,7
@@
#include <yaz/backend.h>
#include <yaz/log.h>
#include <yaz/backend.h>
#include <yaz/log.h>
-#if YAZ_MODULE_ill
#include <yaz/ill.h>
#include <yaz/ill.h>
-#endif
Z_GenericRecord *dummy_grs_record (int num, ODR o);
char *dummy_marc_record (int num, ODR odr);
Z_GenericRecord *dummy_grs_record (int num, ODR o);
char *dummy_marc_record (int num, ODR odr);
@@
-99,7
+97,6
@@
int ztest_esrequest (void *handle, bend_esrequest_rr *rr)
yaz_log(LOG_LOG, "setId: %s", n->resultSetItem->resultSetId);
yaz_log(LOG_LOG, "item: %d", *n->resultSetItem->item);
}
yaz_log(LOG_LOG, "setId: %s", n->resultSetItem->resultSetId);
yaz_log(LOG_LOG, "item: %d", *n->resultSetItem->item);
}
-#if YAZ_MODULE_ill
if (n->itemRequest)
{
Z_External *r = (Z_External*) n->itemRequest;
if (n->itemRequest)
{
Z_External *r = (Z_External*) n->itemRequest;
@@
-177,7
+174,6
@@
int ztest_esrequest (void *handle, bend_esrequest_rr *rr)
*item_req->protocol_version_num);
}
}
*item_req->protocol_version_num);
}
}
-#endif
if (k)
{
if (k)
{
@@
-603,7
+599,8
@@
int ztest_scan(void *handle, bend_scan_rr *q)
bend_initresult *bend_init(bend_initrequest *q)
{
bend_initresult *bend_init(bend_initrequest *q)
{
- bend_initresult *r = (bend_initresult *) odr_malloc (q->stream, sizeof(*r));
+ bend_initresult *r = (bend_initresult *)
+ odr_malloc (q->stream, sizeof(*r));
int *counter = (int *) xmalloc (sizeof(int));
*counter = 0;
int *counter = (int *) xmalloc (sizeof(int));
*counter = 0;