Merge remote-tracking branch 'origin/master'
[unleashed/lotheac.git] / usr / src / cmd / format / prompts.h
blob1f58fce23ca62e53299768b83d579012500018f0
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
20 * CDDL HEADER END
23 * Copyright 1991-2002 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
27 #ifndef _PROMPTS_H
28 #define _PROMPTS_H
30 #pragma ident "%Z%%M% %I% %E% SMI"
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
37 int get_ncyl(void);
38 uint64_t get_mlba(void);
39 int get_acyl(int n_cyls);
40 int get_pcyl(int n_cyls, int p_cyls);
41 int get_nhead(void);
42 int get_phead(int n_heads, ulong_t *option);
43 int get_nsect(void);
44 int get_psect(ulong_t *option);
45 int get_bpt(int n_sects, ulong_t *option);
46 int get_rpm(void);
47 int get_fmt_time(ulong_t *option);
48 int get_cyl_skew(ulong_t *option);
49 int get_trk_skew(ulong_t *option);
50 int get_trks_zone(ulong_t *option);
51 int get_atrks(ulong_t *option);
52 int get_asect(ulong_t *option);
53 int get_cache(ulong_t *option);
54 int get_threshold(ulong_t *option);
55 int get_min_prefetch(ulong_t *option);
56 int get_max_prefetch(int min_prefetch, ulong_t *option);
57 int get_bps(void);
58 char *get_asciilabel(void);
60 #ifdef __cplusplus
62 #endif
64 #endif /* _PROMPTS_H */