Revision history for Perl extension Net::Z3950::SimpleServer
+0.08 (IN PROGRESS)
+ - Support for IMP_ID parameter in Init responses. This was
+ actually written a long time ago, but left commented out as
+ the underlying YAZ back-end server didn't support
+ implementation-ID setting. Now that it does (and has done
+ for a long while), I've finally removed the comments.
+
0.07 Fri Jan 03 10:12:15 2003
- Applied Dave Mitchell's (davem@fdgroup.com) GRS-1 parsing patch.
Thanks Dave, and sorry it didn't find its way to release 0.06,
##
## $Log: SimpleServer.pm,v $
-## Revision 1.16 2003-01-03 09:01:51 sondberg
+## Revision 1.17 2003-09-09 11:40:10 mike
+## (Finally!) support implementation-ID
+##
+## Revision 1.16 2003/01/03 09:01:51 sondberg
## Version 0.07.
##
## Revision 1.15 2002/09/16 14:00:16 sondberg
@EXPORT = qw(
);
-$VERSION = '0.07';
+$VERSION = '0.08';
bootstrap Net::Z3950::SimpleServer $VERSION;
$args = {
## Response parameters:
+ IMP_ID => "", ## Z39.50 Implementation ID
IMP_NAME => "", ## Z39.50 Implementation name
IMP_VER => "", ## Z39.50 Implementation version
ERR_CODE => 0, ## Error code, cnf. Z39.50 manual
it is always best to store them in a private session structure -
rather than leaving them in global variables in your script.
-The Implementation name and version are only really used by Z39.50
+The Implementation ID, name and version are only really used by Z39.50
client developers to see what kind of server they're dealing with.
Filling these in is optional.
*/
/*$Log: SimpleServer.xs,v $
-/*Revision 1.18 2003-01-03 09:05:41 sondberg
+/*Revision 1.19 2003-09-09 11:40:10 mike
+/*(Finally!) support implementation-ID
+/*
+/*Revision 1.18 2003/01/03 09:05:41 sondberg
/*Applied Dave's GRS-1 patch - actually this was already done in revision 1.17.
/*
/*Revision 1.16 2002/11/26 17:09:18 mike
zhandle->handle = handle;
r->errcode = SvIV(status);
r->handle = zhandle;
-#if 0 /* implementation_id support is not yet in mainstream Yaz */
ptr = SvPV(id, len);
q->implementation_id = (char *)xmalloc(len + 1);
strcpy(q->implementation_id, ptr);
-#endif
ptr = SvPV(name, len);
q->implementation_name = (char *)xmalloc(len + 1);
strcpy(q->implementation_name, ptr);