[Pcsclite-cvs-commit] PCSC/src prothandler.h,1.5,1.6

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


Update of /cvsroot/pcsclite/PCSC/src
In directory haydn:/tmp/cvs-serv20190

Modified Files:
	prothandler.h 
Log Message:
define the constant SET_PROTOCOL_WRONG_ARGUMENT and
SET_PROTOCOL_PPS_FAILED


Index: prothandler.h
===================================================================
RCS file: /cvsroot/pcsclite/PCSC/src/prothandler.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- prothandler.h	18 Jun 2004 14:46:31 -0000	1.5
+++ prothandler.h	29 Jun 2004 07:49:00 -0000	1.6
@@ -5,6 +5,8 @@
  *
  * Copyright (C) 1999
  *  David Corcoran <corcoran@linuxnet.com>
+ * Copyright (C) 2004
+ *  Ludovic Rousseau <ludovic.rousseau@free.fr>
  *
  * $Id$
  */
@@ -20,6 +22,9 @@
 	UCHAR PHGetDefaultProtocol(PUCHAR, DWORD);
 	UCHAR PHGetAvailableProtocols(PUCHAR, DWORD);
 	DWORD PHSetProtocol(struct ReaderContext *, DWORD, UCHAR, UCHAR);
+
+#define SET_PROTOCOL_WRONG_ARGUMENT -1
+#define SET_PROTOCOL_PPS_FAILED -2
 
 #ifdef __cplusplus
 }