1255570Strasz/*
2255570Strasz * Copyright (c) 2001 Joerg Wunsch
3255570Strasz *
4255570Strasz * All rights reserved.
5255570Strasz *
6255570Strasz * Redistribution and use in source and binary forms, with or without
7255570Strasz * modification, are permitted provided that the following conditions
8255570Strasz * are met:
9255570Strasz * 1. Redistributions of source code must retain the above copyright
10255570Strasz *    notice, this list of conditions and the following disclaimer.
11255570Strasz * 2. Redistributions in binary form must reproduce the above copyright
12255570Strasz *    notice, this list of conditions and the following disclaimer in the
13255570Strasz *    documentation and/or other materials provided with the distribution.
14255570Strasz *
15255570Strasz * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR
16255570Strasz * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17255570Strasz * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18255570Strasz * IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
19255570Strasz * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20255570Strasz * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21255570Strasz * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22255570Strasz * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23255570Strasz * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24255570Strasz * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25255570Strasz *
26255570Strasz * $FreeBSD$
27255570Strasz */
28255570Strasz
29255570Strasz
30255570Straszvoid	printstatus(struct fdc_status *fdcsp, int terse);
31255570Straszvoid	parse_fmt(const char *, enum fd_drivetype,
32255570Strasz		     struct fd_type, struct fd_type *);
33255570Straszstruct	fd_type *get_fmt(int, enum fd_drivetype);
34255570Straszvoid	print_fmt(struct fd_type);
35255570Straszint	getnum(const char *, int *);
36255570Straszvoid	getname(enum fd_drivetype, const char **, const char **);
37255570Strasz
38255570Strasz