-$Id: CHANGELOG,v 1.13 1996-01-22 09:28:57 adam Exp $
+$Id: CHANGELOG,v 1.14 1996-01-29 11:35:17 adam Exp $
06/19/95 Release of ir-tcl-1.0b
------------------------------------------------------
19/01/96 Bug fix: When running in Windows NT/95 displayFormats wasn't
properly read from the subdirectory formats.
+29/01/96 Bug fix: cs_type member in ir-tclp.h renamed to comstackType to
+ avoid conflict with cs_type macro defined by YAZ.
+
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: ir-tcl.c,v $
- * Revision 1.72 1996-01-19 17:45:34 quinn
+ * Revision 1.73 1996-01-29 11:35:19 adam
+ * Bug fix: cs_type member renamed to comstackType to avoid conflict with
+ * cs_type macro defined by YAZ.
+ *
+ * Revision 1.72 1996/01/19 17:45:34 quinn
* Added debugging output
*
* Revision 1.71 1996/01/19 16:22:38 adam
}
if (ir_tcl_strdup (interp, &p->hostname, argv[2]) == TCL_ERROR)
return TCL_ERROR;
- if (!strcmp (p->cs_type, "tcpip"))
+ if (!strcmp (p->comstackType, "tcpip"))
{
p->cs_link = cs_create (tcpip_type, CS_BLOCK, p->protocol_type);
addr = tcpip_strtoaddr (argv[2]);
}
logf (LOG_DEBUG, "tcp/ip connect %s", argv[2]);
}
- else if (!strcmp (p->cs_type, "mosi"))
+ else if (!strcmp (p->comstackType, "mosi"))
{
#if MOSI
p->cs_link = cs_create (mosi_type, CS_BLOCK, p->protocol_type);
else
{
Tcl_AppendResult (interp, "Bad comstack type: ",
- p->cs_type, NULL);
+ p->comstackType, NULL);
return TCL_ERROR;
}
if ((r=cs_connect (p->cs_link, addr)) < 0)
IrTcl_Obj *obj = o;
if (argc == 0)
- return ir_tcl_strdup (interp, &obj->cs_type, "tcpip");
+ return ir_tcl_strdup (interp, &obj->comstackType, "tcpip");
else if (argc == -1)
- return ir_tcl_strdel (interp, &obj->cs_type);
+ return ir_tcl_strdel (interp, &obj->comstackType);
else if (argc == 3)
{
- free (obj->cs_type);
- if (ir_tcl_strdup (interp, &obj->cs_type, argv[2]) == TCL_ERROR)
+ free (obj->comstackType);
+ if (ir_tcl_strdup (interp, &obj->comstackType, argv[2]) == TCL_ERROR)
return TCL_ERROR;
}
- Tcl_AppendElement (interp, obj->cs_type);
+ Tcl_AppendElement (interp, obj->comstackType);
return TCL_OK;
}
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: ir-tclp.h,v $
- * Revision 1.23 1996-01-19 16:22:40 adam
+ * Revision 1.24 1996-01-29 11:35:27 adam
+ * Bug fix: cs_type member renamed to comstackType to avoid conflict with
+ * cs_type macro defined by YAZ.
+ *
+ * Revision 1.23 1996/01/19 16:22:40 adam
* New method: apduDump - returns information about last incoming APDU.
*
* Revision 1.22 1996/01/10 09:18:44 adam
typedef struct {
int ref_count;
- char *cs_type;
+ char *comstackType;
int protocol_type;
int failInfo;
COMSTACK cs_link;