[Pcsclite-cvs-commit] r4829 - in /trunk/HandlerTest/Host: config.h debug.c debug.h debuglog.h handler_test.c misc.h

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Thu Mar 18 10:05:52 UTC 2010


Author: rousseau
Date: Thu Mar 18 10:05:42 2010
New Revision: 4829

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4829
Log:
use links from PCSC instead of duplicated files

Added:
    trunk/HandlerTest/Host/config.h
    trunk/HandlerTest/Host/debuglog.h   (with props)
    trunk/HandlerTest/Host/misc.h
Removed:
    trunk/HandlerTest/Host/debug.h
Modified:
    trunk/HandlerTest/Host/debug.c
    trunk/HandlerTest/Host/handler_test.c

Added: trunk/HandlerTest/Host/config.h
URL: http://svn.debian.org/wsvn/pcsclite/trunk/HandlerTest/Host/config.h?rev=4829&op=file
==============================================================================
    (empty)

Modified: trunk/HandlerTest/Host/debug.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/HandlerTest/Host/debug.c?rev=4829&op=diff
==============================================================================
--- trunk/HandlerTest/Host/debug.c (original)
+++ trunk/HandlerTest/Host/debug.c Thu Mar 18 10:05:42 2010
@@ -1,14 +1,14 @@
 /*
  * $Id$
  * GCdebug.c: log (or not) messages
- * Copyright (C) 2001 Ludovic Rousseau <ludovic.rousseau at free.fr>
+ * Copyright (C) 2001-2010 Ludovic Rousseau <ludovic.rousseau at free.fr>
  * 
  * License: this code is under a double licence COPYING.BSD and COPYING.GPL
  * 
  */
 
 
-#include "debug.h"
+#include "debuglog.h"
 
 #include <stdarg.h>
 #include <stdio.h>

Added: trunk/HandlerTest/Host/debuglog.h
URL: http://svn.debian.org/wsvn/pcsclite/trunk/HandlerTest/Host/debuglog.h?rev=4829&op=file
==============================================================================
--- trunk/HandlerTest/Host/debuglog.h (added)
+++ trunk/HandlerTest/Host/debuglog.h Thu Mar 18 10:05:42 2010
@@ -1,0 +1,1 @@
+link ../../PCSC/src/PCSC/debuglog.h

Propchange: trunk/HandlerTest/Host/debuglog.h
------------------------------------------------------------------------------
    svn:special = *

Modified: trunk/HandlerTest/Host/handler_test.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/HandlerTest/Host/handler_test.c?rev=4829&op=diff
==============================================================================
--- trunk/HandlerTest/Host/handler_test.c (original)
+++ trunk/HandlerTest/Host/handler_test.c Thu Mar 18 10:05:42 2010
@@ -31,7 +31,7 @@
 #include <PCSC/wintypes.h>
 #include <PCSC/ifdhandler.h>
 
-#include "debug.h"
+#include "debuglog.h"
 
 #undef CONTACTLESS
 #undef COMBI
@@ -54,6 +54,7 @@
 int extended_apdu(int lun);
 int short_apdu(int lun);
 
+#define DEBUG2(a, b) Log2(PCSC_LOG_ERROR, a, b)
 #define DLSYM(func)  f.func = dlsym(lib_handle, "" # func); \
 	if (f.func == NULL) { \
 	DEBUG2("dlsym: %s", dlerror()); \

Added: trunk/HandlerTest/Host/misc.h
URL: http://svn.debian.org/wsvn/pcsclite/trunk/HandlerTest/Host/misc.h?rev=4829&op=file
==============================================================================
    (empty)




More information about the Pcsclite-cvs-commit mailing list