2 * This file has been modified for the cdrkit suite.
4 * The behaviour and appearence of the program code below can differ to a major
5 * extent from the version distributed by the original author(s).
7 * For details, see Changelog file distributed with the cdrkit package. If you
8 * received this file from another source then ask the distributing person for
9 * a log of modifications.
13 /* @(#)scsihelp.c 1.4 04/01/14 Copyright 2002 J. Schilling */
18 * Copyright (c) 2002 J. Schilling
21 * This program is free software; you can redistribute it and/or modify
22 * it under the terms of the GNU General Public License version 2
23 * as published by the Free Software Foundation.
25 * This program is distributed in the hope that it will be useful,
26 * but WITHOUT ANY WARRANTY; without even the implied warranty of
27 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28 * GNU General Public License for more details.
30 * You should have received a copy of the GNU General Public License along with
31 * this program; see the file COPYING. If not, write to the Free Software
32 * Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
40 #include <usal/scsitransp.h>
42 void __usal_help(FILE *f, char *name, char *tcomment, char *tind, char *tspec,
43 char *texample, BOOL mayscan, BOOL bydev);
46 __usal_help(FILE *f, char *name, char *tcomment, char *tind, char *tspec,
47 char *texample, BOOL mayscan, BOOL bydev)
49 fprintf(f, "\nTransport name: %s\n", name);
50 fprintf(f, "Transport descr.: %s\n", tcomment);
51 fprintf(f, "Transp. layer ind.: %s\n", tind);
52 fprintf(f, "Target specifier: %s\n", tspec);
53 fprintf(f, "Target example: %s\n", texample);
54 fprintf(f, "SCSI Bus scanning: %ssupported\n", mayscan? "":"not ");
55 fprintf(f, "Open via UNIX device: %ssupported\n", bydev? "":"not ");