diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-07-06 22:03:59 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-07-06 22:03:59 +0000 |
commit | a5f370d9b14b190b154fddc12987b9255cd20e10 (patch) | |
tree | 5fe5b6313389e07437218fbd238ab58870475e4f /sbin | |
parent | 9454c300fef336579ebf23cff6b4f12af9c8838f (diff) |
protos
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/scsi/scsi.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sbin/scsi/scsi.c b/sbin/scsi/scsi.c index e1b594dae15..6e2e2ca3c67 100644 --- a/sbin/scsi/scsi.c +++ b/sbin/scsi/scsi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scsi.c,v 1.12 2003/06/26 15:41:12 mickey Exp $ */ +/* $OpenBSD: scsi.c,v 1.13 2003/07/06 22:03:58 deraadt Exp $ */ /* $FreeBSD: scsi.c,v 1.11 1996/04/06 11:00:28 joerg Exp $ */ /* @@ -77,7 +77,15 @@ int modepage = 0; /* Read this mode page */ int pagectl = 0; /* Mode sense page control */ int seconds = 2; -void +void procargs(int *argc_p, char ***argv_p); +int iget(void *hook, char *name); +char *cget(void *hook, char *name); +void arg_put(void *hook, int letter, void *arg, int count, char *name); +int arg_get (void *hook, char *field_name); +void mode_sense(int fd, u_char *data, int len, int pc, int page); +void mode_select(int fd, u_char *data, int len, int perm); + +static void usage(void) { fprintf(stderr, |