opensc/src/common
martin ffb46d2573 core: reanimate the sc_dlopen API for dynamic loading
* shift libpkcs11 from src/pkcs11 to src/common as it is not used to implement the OpenSC PKCS#11 module
 * invent a "libscdl" mini library that implements either libltdl based dynamic loading or uses native interfaces
 * drop hard requirement for libltl to build OpenSC
 * native Windows build does not need libltdl any more
 * specify CNGSDK include dir to find cardmod.h. CNGSDK only registers with a handful of compilers

Deals with #323

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5201 c6295689-39f2-0310-b995-f0e70906c6a9
2011-02-16 19:02:11 +00:00
..
ChangeLog.compat_getopt Complete rewrite of OpenSC build system. 2008-03-06 16:06:59 +00:00
LICENSE.compat_getopt Complete rewrite of OpenSC build system. 2008-03-06 16:06:59 +00:00
Makefile.am core: reanimate the sc_dlopen API for dynamic loading 2011-02-16 19:02:11 +00:00
Makefile.mak core: reanimate the sc_dlopen API for dynamic loading 2011-02-16 19:02:11 +00:00
README.compat_getopt Complete rewrite of OpenSC build system. 2008-03-06 16:06:59 +00:00
README.compat_strlcpy Complete rewrite of OpenSC build system. 2008-03-06 16:06:59 +00:00
compat_dummy.c add a prototype for compat_dummy() 2008-05-22 12:14:39 +00:00
compat_getopt.3 Complete rewrite of OpenSC build system. 2008-03-06 16:06:59 +00:00
compat_getopt.c Trac #264: fix mingw32 build with mingw32-runtime versions <= 3.13 2010-11-08 11:17:09 +00:00
compat_getopt.h Amend r4871: prevent mingw32 from including an incompatible getopt version. 2010-11-08 12:29:15 +00:00
compat_getopt.txt Complete rewrite of OpenSC build system. 2008-03-06 16:06:59 +00:00
compat_getopt_main.c Use "const char *" instead of "char *" where needed. 2010-09-21 09:48:57 +00:00
compat_getpass.c Header file cleanup. 2010-03-04 08:14:36 +00:00
compat_getpass.h Complete rewrite of OpenSC build system. 2008-03-06 16:06:59 +00:00
compat_strlcat.c compat_strlcat: Avoid compiler warning 'no newline at end of file' 2010-12-06 18:51:23 +00:00
compat_strlcat.h strlcat(3) implementation 2010-08-18 13:42:26 +00:00
compat_strlcpy.3 Complete rewrite of OpenSC build system. 2008-03-06 16:06:59 +00:00
compat_strlcpy.c Header file cleanup. 2010-03-04 08:14:36 +00:00
compat_strlcpy.h Complete rewrite of OpenSC build system. 2008-03-06 16:06:59 +00:00
libpkcs11.c core: reanimate the sc_dlopen API for dynamic loading 2011-02-16 19:02:11 +00:00
libpkcs11.h core: reanimate the sc_dlopen API for dynamic loading 2011-02-16 19:02:11 +00:00
libscdl.c core: reanimate the sc_dlopen API for dynamic loading 2011-02-16 19:02:11 +00:00
libscdl.h core: reanimate the sc_dlopen API for dynamic loading 2011-02-16 19:02:11 +00:00
simclist.c simclist: build with mingw32, Visual Studio and gcc on Linux. By default dumprestore is OFF. 2010-12-02 08:59:26 +00:00
simclist.h Complete change, SIMCLIST_DUMPRESTORE is by default off. 2010-12-06 18:35:43 +00:00

README.compat_strlcpy

strncpy() is unsafe since it does not always add a final NUL-byte.
OpenBSD developped a safer version called strlcpy().

Use "man -l strlcpy.3" to read the manpage.

The files strlcpy.3 and strlcpy.c comes from
  ftp://ftp.openbsd.org/pub/OpenBSD/src/lib/libc/string/
and are Copyright (c) 1998, 2000 Todd C. Miller
<Todd.Miller@courtesan.com>