[Pcsclite-cvs-commit] Drivers/ccid/src/openct proto-t1.c,1.2,1.3 proto-t1.h,1.2,1.3

rousseau@haydn.debian.org rousseau@haydn.debian.org


Update of /cvsroot/pcsclite/Drivers/ccid/src/openct
In directory haydn:/tmp/cvs-serv4295/openct

Modified Files:
	proto-t1.c proto-t1.h 
Log Message:
IFD_PROTOCOL_MORE -> IFD_PROTOCOL_T1_MORE
IFD_PROTOCOL_STATE -> IFD_PROTOCOL_T1_STATE
renamed to be in line with OpenCT


Index: proto-t1.c
===================================================================
RCS file: /cvsroot/pcsclite/Drivers/ccid/src/openct/proto-t1.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- proto-t1.c	9 Jul 2004 13:21:42 -0000	1.2
+++ proto-t1.c	10 Jul 2004 13:23:11 -0000	1.3
@@ -111,8 +111,8 @@
 {
 	t1_set_defaults(t1);
 	t1_set_param(t1, IFD_PROTOCOL_T1_CHECKSUM_LRC, 0);
-	t1_set_param(t1, IFD_PROTOCOL_STATE, SENDING);
-	t1_set_param(t1, IFD_PROTOCOL_MORE, FALSE);
+	t1_set_param(t1, IFD_PROTOCOL_T1_STATE, SENDING);
+	t1_set_param(t1, IFD_PROTOCOL_T1_MORE, FALSE);
 
 	return 0;
 }
@@ -143,10 +143,10 @@
 	case IFD_PROTOCOL_T1_IFSD:
 		t1->ifsd = value;
 		break;
-	case IFD_PROTOCOL_STATE:
+	case IFD_PROTOCOL_T1_STATE:
 		t1->state = value;
 		break;
-	case IFD_PROTOCOL_MORE:
+	case IFD_PROTOCOL_T1_MORE:
 		t1->more = value;
 		break;
 	default:

Index: proto-t1.h
===================================================================
RCS file: /cvsroot/pcsclite/Drivers/ccid/src/openct/proto-t1.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- proto-t1.h	1 Jul 2004 11:37:27 -0000	1.2
+++ proto-t1.h	10 Jul 2004 13:23:12 -0000	1.3
@@ -31,8 +31,8 @@
 	IFD_PROTOCOL_T1_CHECKSUM_LRC,
 	IFD_PROTOCOL_T1_IFSC,
 	IFD_PROTOCOL_T1_IFSD,
-	IFD_PROTOCOL_STATE,
-	IFD_PROTOCOL_MORE
+	IFD_PROTOCOL_T1_STATE,
+	IFD_PROTOCOL_T1_MORE
 };
 
 #define T1_BUFFER_SIZE		(3 + 254 + 2)