Fixed binary search: no more infinite loops when vendor is unknown.
[tangerine.git] / workbench / c / Partition / args.h
blob9b5e024cd963beb0ab45241fa16cce8484fb01b4
1 #ifndef _ARGS_H_
2 #define _ARGS_H_
4 /*
5 Copyright © 2004-2008, The AROS Development Team. All rights reserved.
6 $Id$
7 */
9 #include <exec/types.h>
11 /*** Structures *************************************************************/
12 enum Argument
14 DEVICE,
15 UNIT,
16 SYSSIZE, /* Size of System partition in MBs */
17 SYSTYPE, /* Type of filesystem on System partition [FFSIntl, SFS] */
18 WORKSIZE, /* Size of Work partition in MBs */
19 MAXWORK, /* Create maximum-sized Work partition */
20 WORKTYPE, /* Type of filesystem on Work partition [FFSIntl, SFS] */
21 WIPE, /* Destroy all existing partitions */
22 FORCE, /* Don't ask the user for permission */
23 QUIET, /* Don't print anything */
24 COUNT /* Number of arguments */
27 /*** Prototypes *************************************************************/
28 BOOL ReadArguments(VOID);
29 VOID FreeArguments(VOID);
30 IPTR GetArgument(enum Argument arg);
32 /*** Macros *****************************************************************/
33 #define ARG(a) GetArgument((a))
35 #endif /* _ARGS_H_ */