[Pcsclite-cvs-commit] r2303 - trunk/PCSC/src

Ludovic Rousseau rousseau at alioth.debian.org
Sat Jan 6 19:02:13 CET 2007


Author: rousseau
Date: 2007-01-06 19:02:13 +0100 (Sat, 06 Jan 2007)
New Revision: 2303

Modified:
   trunk/PCSC/src/parser.h
   trunk/PCSC/src/tokenparser.l
Log:
change prototype of LTPBundleFindValueWithKey() from "char *fileName,
char *tokenKey, ..." to "const char *fileName, const char *tokenKey,
..."


Modified: trunk/PCSC/src/parser.h
===================================================================
--- trunk/PCSC/src/parser.h	2007-01-06 17:57:58 UTC (rev 2302)
+++ trunk/PCSC/src/parser.h	2007-01-06 18:02:13 UTC (rev 2303)
@@ -27,7 +27,7 @@
 #define TOKEN_TYPE_KEY         1
 #define TOKEN_TYPE_STRING      2
 
-int LTPBundleFindValueWithKey(char *fileName, char *tokenKey,
+int LTPBundleFindValueWithKey(const char *fileName, const char *tokenKey,
                               char *tokenValue, int tokenIndice);
 
 #ifdef __cplusplus

Modified: trunk/PCSC/src/tokenparser.l
===================================================================
--- trunk/PCSC/src/tokenparser.l	2007-01-06 17:57:58 UTC (rev 2302)
+++ trunk/PCSC/src/tokenparser.l	2007-01-06 18:02:13 UTC (rev 2303)
@@ -112,7 +112,7 @@
  * @retval 0 OK
  * @retval 1 key not found
  */
-int LTPBundleFindValueWithKey(char *fileName, char *tokenKey,
+int LTPBundleFindValueWithKey(const char *fileName, const char *tokenKey,
                               char *tokenValue, int tokenIndice)
 {
 	FILE *file = NULL;




More information about the Pcsclite-cvs-commit mailing list