179110Sjoerg/*
279110Sjoerg * Copyright (c) 2001 Joerg Wunsch
379110Sjoerg *
479110Sjoerg * All rights reserved.
579110Sjoerg *
679110Sjoerg * Redistribution and use in source and binary forms, with or without
779110Sjoerg * modification, are permitted provided that the following conditions
879110Sjoerg * are met:
979110Sjoerg * 1. Redistributions of source code must retain the above copyright
1079110Sjoerg *    notice, this list of conditions and the following disclaimer.
1179110Sjoerg * 2. Redistributions in binary form must reproduce the above copyright
1279110Sjoerg *    notice, this list of conditions and the following disclaimer in the
1379110Sjoerg *    documentation and/or other materials provided with the distribution.
1479110Sjoerg *
1579110Sjoerg * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR
1679110Sjoerg * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1779110Sjoerg * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
1879110Sjoerg * IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
1979110Sjoerg * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2079110Sjoerg * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2179110Sjoerg * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2279110Sjoerg * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2379110Sjoerg * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2479110Sjoerg * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2579110Sjoerg *
2679110Sjoerg * $FreeBSD: releng/11.0/usr.sbin/fdread/fdutil.h 87992 2001-12-15 19:09:04Z joerg $
2779110Sjoerg */
2879110Sjoerg
2987992Sjoerg
3079110Sjoergvoid	printstatus(struct fdc_status *fdcsp, int terse);
3187992Sjoergvoid	parse_fmt(const char *, enum fd_drivetype,
3287992Sjoerg		     struct fd_type, struct fd_type *);
3387992Sjoergstruct	fd_type *get_fmt(int, enum fd_drivetype);
3487992Sjoergvoid	print_fmt(struct fd_type);
3587992Sjoergint	getnum(const char *, int *);
3687992Sjoergvoid	getname(enum fd_drivetype, const char **, const char **);
3787992Sjoerg
38