summaryrefslogtreecommitdiff
path: root/scard.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-08-06 21:22:10 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-08-06 21:22:10 +0000
commit30b00be24f3e60dcb6d3113a8507d8b81e895460 (patch)
tree481aa9c40c07326592ec57f709e8af7ce1435ca3 /scard.h
parent50e22c937f73319bd2eee30abc166b8bd403598f (diff)
- jakob@cvs.openbsd.org 2001/07/30 16:06:07
[scard.c scard.h] better errorcodes from sc_*; ok markus@
Diffstat (limited to 'scard.h')
-rw-r--r--scard.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/scard.h b/scard.h
index a4303c37..4a653158 100644
--- a/scard.h
+++ b/scard.h
@@ -22,13 +22,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 $ */
+/* $OpenBSD: scard.h,v 1.5 2001/07/30 16:06:07 jakob Exp $ */
#include <openssl/engine.h>
#ifndef SCARD_H
#define SCARD_H
+#define SCARD_ERROR_FAIL -1
+#define SCARD_ERROR_NOCARD -2
+#define SCARD_ERROR_APPLET -3
+
Key *sc_get_key(int);
ENGINE *sc_get_engine(void);
void sc_close(void);