X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=asn%2Fzget.c;h=4d58e17a156678fffdce0e68f5ca82a40f78ab78;hb=c546a1218ae6a2ccda5dcf30809b18a0e335918c;hp=71477d0e6a2cbc81e0eea8eb837416abf69972e1;hpb=a8cbf4e58821b5a7e64063f6a1b50c453494167f;p=yaz-moved-to-github.git diff --git a/asn/zget.c b/asn/zget.c index 71477d0..4d58e17 100644 --- a/asn/zget.c +++ b/asn/zget.c @@ -4,7 +4,13 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: zget.c,v $ - * Revision 1.1 1995-05-22 11:30:20 quinn + * Revision 1.3 1995-06-05 10:52:06 quinn + * Fixed some negligences. + * + * Revision 1.2 1995/05/30 10:15:49 quinn + * Added our implementor's ID + * + * Revision 1.1 1995/05/22 11:30:20 quinn * Adding Z39.50-1992 stuff to proto.c. Adding zget.c * * @@ -27,7 +33,7 @@ Z_InitRequest *zget_InitRequest(ODR o) r->maximumRecordSize = odr_malloc(o, sizeof(int)); *r->maximumRecordSize = 30*1024; r->idAuthentication = 0; - r->implementationId = "YAZ"; + r->implementationId = "YAZ (id=81)"; r->implementationName = "Index Data/YAZ"; r->implementationVersion = YAZ_VERSION; r->userInformationField = 0; @@ -47,8 +53,10 @@ Z_InitResponse *zget_InitResponse(ODR o) *r->preferredMessageSize = 30*1024; r->maximumRecordSize = odr_malloc(o, sizeof(int)); *r->maximumRecordSize = 30*1024; - r->implementationId = "YAZ"; - r->implementationName = "Index Data YAZ Z39.50/SR implementation"; + r->result = odr_malloc(o, sizeof(bool_t)); + *r->result = 1; + r->implementationId = "YAZ (id=81)"; + r->implementationName = "Index Data/YAZ"; r->implementationVersion = YAZ_VERSION; r->userInformationField = 0; return r;