X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/878b5225122c8e43e29d60878867aaa5b4d517b3..702b285518f230a2f895dde67f1a457f9d126c89:/scard.h diff --git a/scard.h b/scard.h index a4303c37..c0aa9ed3 100644 --- a/scard.h +++ b/scard.h @@ -1,3 +1,5 @@ +/* $OpenBSD: scard.h,v 1.10 2002/03/25 17:34:27 markus Exp $ */ + /* * Copyright (c) 2001 Markus Friedl. All rights reserved. * @@ -22,15 +24,17 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* $OpenBSD: scard.h,v 1.4 2001/07/04 23:13:10 markus Exp $ */ - -#include - #ifndef SCARD_H #define SCARD_H -Key *sc_get_key(int); -ENGINE *sc_get_engine(void); +#include "key.h" + +#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*); #endif