Hello,

pcsc-lite installs more and more header files. The list is now:
  debuglog.h
  ifdhandler.h
  mscdefines.h
  musclecard.h
  pcsclite.h
  winscard.h
  wintypes.h

I intend to move the .h files in /usr/include/PCSC/ instead of
/usr/include/ (or /usr/local/include/PCSC/ instead of
/usr/local/include/ if you use the default paths)

Pro:
- no more namespace polution (debuglog.h is quiet common and will
  conflict with another debuglog.h from another software)
- same application source code for MacOSX and other Unixes. Header files
  are included as:
    #if defined(__APPLE__)
    #include <PCSC/winscard.h>
    #else
    #include <winscard.h>
    #endif
  We could just use #include <PCSC/winscard.h> 

Cons:
- need to update the source code of applications (or add a
  -I/usr/include/PCSC compilation directive in the Makefile)
- application source code will be different for pcsc-lite and Microsoft
  PCSC (or add a -I/usr/include/PCSC compilation directive in the
  Unix Makefile).

Do you see a valid objection to such a change?

Regards,

-- 
 Dr. Ludovic Rousseau                        [EMAIL PROTECTED]
 -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --
_______________________________________________
Muscle mailing list
[EMAIL PROTECTED]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to