summaryrefslogtreecommitdiff
path: root/lib/libsectok/sc7816.h
diff options
context:
space:
mode:
authorJim Rees <rees@cvs.openbsd.org>2001-07-20 15:51:46 +0000
committerJim Rees <rees@cvs.openbsd.org>2001-07-20 15:51:46 +0000
commit64082bdb2f68e549273791bfb1839af205b5b0cd (patch)
tree4542f4b5f5ad14be8b387392bcbdd7b16ecb9280 /lib/libsectok/sc7816.h
parentc629cb72863bd875965219e7aef179b373814ec9 (diff)
parse_atr -> sectok_parse_atr
remove sc7816.h from installed includes move struct scparam to sectok.h lookup_cmdname -> sectok_get_ins
Diffstat (limited to 'lib/libsectok/sc7816.h')
-rw-r--r--lib/libsectok/sc7816.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/libsectok/sc7816.h b/lib/libsectok/sc7816.h
index 962eab89bc6..5bf71d93911 100644
--- a/lib/libsectok/sc7816.h
+++ b/lib/libsectok/sc7816.h
@@ -1,4 +1,4 @@
-/* $Id: sc7816.h,v 1.1 2001/07/02 20:11:25 rees Exp $ */
+/* $Id: sc7816.h,v 1.2 2001/07/20 15:51:45 rees Exp $ */
/*
copyright 1997, 2000
@@ -69,12 +69,7 @@ such damages.
#define SCEUNKNOWN 13
extern char *scerrtab[];
-
-extern struct scparam {
- int t, etu, cwt, bwt, n;
-} scparam[];
-
-extern unsigned char root_fid[];
+extern struct scparam scparam[];
/* forward declarations */
@@ -100,7 +95,6 @@ void scdrain(int fd);
int scioT1(int fd, int cla, int ins, int p1, int p2, int ilen, unsigned char *ibuf, int olen, unsigned char *obuf, int *sw1p, int *sw2p);
int scioT1Iblk(int fd, int ilen, unsigned char *ibuf, unsigned char *obuf);
int scioT1pkt(int fd, unsigned char *ibuf, unsigned char *obuf);
-int parse_atr(int fd, int flags, unsigned char *atr, int len, struct scparam *param);
int parse_input(char *ibuf, unsigned char *obuf, int olen);
#ifndef __palmos__
int get_input(FILE *f, unsigned char *obuf, int omin, int olen);
@@ -109,7 +103,6 @@ int dump_reply(unsigned char *p, int n, int r1, int r2);
#endif
void print_r1r2(int r1, int r2);
char *get_r1r2s(int r1, int r2);
-char *lookup_cmdname(int ins);
/* SCPERF - performance evaluation */
#ifdef SCPERF