* All rights reserved.
*
* $Log: zserver.c,v $
- * Revision 1.78 2000-04-05 09:49:35 adam
+ * Revision 1.82 2001-07-09 23:40:09 adam
+ * WIN32 fix.
+ *
+ * Revision 1.81 2001/02/14 21:42:07 adam
+ * Fixed versions as returned in INIT response.
+ *
+ * Revision 1.80 2000/09/05 14:04:05 adam
+ * Updates for prefix 'yaz_' for YAZ log functions.
+ *
+ * Revision 1.79 2000/05/09 10:56:50 adam
+ * Added call to xmalloc/nmem debugging functions.
+ *
+ * Revision 1.78 2000/04/05 09:49:35 adam
* On Unix, zebra/z'mbol uses automake.
*
* Revision 1.77 2000/03/20 19:08:36 adam
q->bend_fetch = bend_fetch;
q->bend_scan = bend_scan;
+#if ZMBOL
q->implementation_name = "Z'mbol Information Server";
- q->implementation_version = "Z'mbol 1.0";
+ q->implementation_version = "Z'mbol " ZEBRAVER;
+#else
+ q->implementation_name = "Zebra Information Server";
+ q->implementation_version = "Zebra " ZEBRAVER;
+#endif
logf (LOG_DEBUG, "bend_init");
void bend_close (void *handle)
{
zebra_close ((ZebraHandle) handle);
+ xmalloc_trav("bend_close");
+ nmem_print_list();
}
int bend_sort (void *handle, bend_sort_rr *rr)
odr_errmsg(odr_geterror(rr->decode)),
odr_offset(rr->decode));
yaz_log(LOG_LOG, "PDU dump:");
- odr_dumpBER(log_file(),
+ odr_dumpBER(yaz_log_file(),
r->u.single_ASN1_type->buf,
r->u.single_ASN1_type->len);
}
odr_errmsg(odr_geterror(rr->decode)),
odr_offset(rr->decode));
yaz_log(LOG_LOG, "PDU dump:");
- odr_dumpBER(log_file(),
+ odr_dumpBER(yaz_log_file(),
r->u.single_ASN1_type->buf,
r->u.single_ASN1_type->len);
}
rec->u.sutrs->len,
rec->u.sutrs->buf);
break;
- case Z_External_octet :
+ case Z_External_octet:
if (rec->u.octet_aligned->len > 170)
yaz_log (LOG_LOG, "%d bytes:\n%.168s ...",
rec->u.octet_aligned->len,