X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/637b033dde765bdd3b97fb5e0a74e8c93e2e66d0..5dec79269b347018cf9c6feb4fa8881a9b65c328:/scard.h diff --git a/scard.h b/scard.h index 480be076..82efe483 100644 --- a/scard.h +++ b/scard.h @@ -1,3 +1,5 @@ +/* $OpenBSD: scard.h,v 1.14 2006/08/03 03:34:42 deraadt Exp $ */ + /* * Copyright (c) 2001 Markus Friedl. All rights reserved. * @@ -22,14 +24,16 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* $OpenBSD: scard.h,v 1.3 2001/06/26 17:27:24 markus Exp $ */ - -#include - #ifndef SCARD_H #define SCARD_H -Key *sc_get_key(int); -ENGINE *sc_get_engine(void); +#define SCARD_ERROR_FAIL -1 +#define SCARD_ERROR_NOCARD -2 +#define SCARD_ERROR_APPLET -3 + +Key **sc_get_keys(const char *, const char *); +void sc_close(void); +int sc_put_key(Key *, const char *); +char *sc_get_key_label(Key *); #endif