* Copyright (c) 1995-2002, Index Data
* See the file LICENSE for details.
*
- * $Id: seshigh.c,v 1.126 2002-01-23 22:40:36 adam Exp $
+ * $Id: seshigh.c,v 1.128 2002-03-20 14:36:00 adam Exp $
*/
/*
assoc->init->auth = req->idAuthentication;
assoc->init->referenceId = req->referenceId;
assoc->init->implementation_version = 0;
+ assoc->init->implementation_id = 0;
assoc->init->implementation_name = 0;
assoc->init->bend_sort = NULL;
assoc->init->bend_search = NULL;
resp->implementationName = "GFS/YAZ";
+ if (assoc->init->implementation_id)
+ {
+ char *nv = (char *)
+ odr_malloc (assoc->encode,
+ strlen(assoc->init->implementation_id) + 10 +
+ strlen(resp->implementationId));
+ sprintf (nv, "%s / %s",
+ resp->implementationId, assoc->init->implementation_id);
+ resp->implementationId = nv;
+ }
if (assoc->init->implementation_name)
{
char *nv = (char *)
bsrr->errcode = 0;
bsrr->hits = 0;
bsrr->errstring = NULL;
+ bsrr->search_info = NULL;
(assoc->init->bend_search)(assoc->backend, bsrr);
if (!bsrr->request)
return 0;
resp->presentStatus = 0;
}
}
+ resp->additionalSearchInfo = bsrt->search_info;
return apdu;
}