summaryrefslogtreecommitdiff
path: root/usr.bin/sectok/sc.h
diff options
context:
space:
mode:
authorJim Rees <rees@cvs.openbsd.org>2001-08-02 17:09:20 +0000
committerJim Rees <rees@cvs.openbsd.org>2001-08-02 17:09:20 +0000
commitaefe568b0d71b6a07fe087eb9a30b4a941656db1 (patch)
tree0f6b8cbea694ad60e5bc313252e3dbf9555a79cb /usr.bin/sectok/sc.h
parent68d6b9fe3cbf15afeeed672a3e917bb2f525c9a8 (diff)
Mods for PalmOS
Diffstat (limited to 'usr.bin/sectok/sc.h')
-rw-r--r--usr.bin/sectok/sc.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/sectok/sc.h b/usr.bin/sectok/sc.h
index 64032ef6bd8..36537d7ab10 100644
--- a/usr.bin/sectok/sc.h
+++ b/usr.bin/sectok/sc.h
@@ -1,4 +1,4 @@
-/* $Id: sc.h,v 1.7 2001/07/26 16:10:01 rees Exp $ */
+/* $Id: sc.h,v 1.8 2001/08/02 17:09:19 rees Exp $ */
/*
* Smartcard commander.
@@ -38,6 +38,11 @@ such damages.
extern int port, fd, cla, aut0_vfyd;
extern FILE *cmdf;
+extern struct dispatchtable {
+ char *cmd, *help;
+ int (*action) (int ac, char *av[]);
+} dispatch_table[];
+
int dispatch(int ac, char *av[]);
int help(int ac, char *av[]);
int reset(int ac, char *av[]);