[BACK]Return to sc.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / sectok

Annotation of src/usr.bin/sectok/sc.h, Revision 1.11

1.11    ! rees        1: /* $Id: sc.h,v 1.10 2001/10/02 16:22:40 rees Exp $ */
1.1       rees        2:
                      3: /*
                      4:  * Smartcard commander.
                      5:  * Written by Jim Rees and others at University of Michigan.
                      6:  */
                      7:
                      8: /*
                      9: copyright 2001
                     10: the regents of the university of michigan
                     11: all rights reserved
                     12:
                     13: permission is granted to use, copy, create derivative works
                     14: and redistribute this software and such derivative works
                     15: for any purpose, so long as the name of the university of
                     16: michigan is not used in any advertising or publicity
                     17: pertaining to the use or distribution of this software
                     18: without specific, written prior authorization.  if the
                     19: above copyright notice or any other identification of the
                     20: university of michigan is included in any copy of any
                     21: portion of this software, then the disclaimer below must
                     22: also be included.
                     23:
                     24: this software is provided as is, without representation
                     25: from the university of michigan as to its fitness for any
                     26: purpose, and without warranty by the university of
                     27: michigan of any kind, either express or implied, including
                     28: without limitation the implied warranties of
                     29: merchantability and fitness for a particular purpose. the
                     30: regents of the university of michigan shall not be liable
                     31: for any damages, including special, indirect, incidental, or
                     32: consequential damages, with respect to any claim arising
                     33: out of or in connection with the use of the software, even
                     34: if it has been or is hereafter advised of the possibility of
                     35: such damages.
                     36: */
                     37:
1.3       rees       38: extern int port, fd, cla, aut0_vfyd;
1.1       rees       39: extern FILE *cmdf;
1.8       rees       40:
                     41: extern struct dispatchtable {
                     42:     char *cmd, *help;
                     43:     int (*action) (int ac, char *av[]);
                     44: } dispatch_table[];
1.1       rees       45:
                     46: int dispatch(int ac, char *av[]);
                     47: int help(int ac, char *av[]);
                     48: int reset(int ac, char *av[]);
                     49: int dclose(int ac, char *av[]);
                     50: int quit(int ac, char *av[]);
                     51: int apdu(int ac, char *av[]);
                     52: int selfid(int ac, char *av[]);
1.2       rees       53: int isearch(int ac, char *av[]);
1.10      rees       54: int csearch(int ac, char *av[]);
1.1       rees       55: int class(int ac, char *av[]);
                     56: int dread(int ac, char *av[]);
                     57: int dwrite(int ac, char *av[]);
1.9       rees       58: int challenge(int ac, char *av[]);
1.11    ! rees       59: int vfypin(int ac, char *av[]);
        !            60: int chpin(int ac, char *av[]);
1.1       rees       61: int ls(int ac, char *av[]);
1.6       rees       62: int acl(int ac, char *av[]);
1.2       rees       63: int jcreate(int ac, char *av[]);
                     64: int jdelete(int ac, char *av[]);
1.1       rees       65: int jdefault(int ac, char *av[]);
                     66: int jatr(int ac, char *av[]);
                     67: int jdata(int ac, char *av[]);
1.5       rees       68: int jlogin(int ac, char *av[]);
1.1       rees       69: int jaut(int ac, char *av[]);
                     70: int jload(int ac, char *av[]);
                     71: int junload(int ac, char *av[]);
1.4       rees       72: int jsetpass(int ac, char *av[]);