grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / c / Partition / args.h
blob1ce0799009244372d26c5793a54046c722555134
1 #ifndef _ARGS_H_
2 #define _ARGS_H_
4 /*
5 Copyright © 2004-2010, 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 SYSNAME, /* Name of System partition */
19 WORKSIZE, /* Size of Work partition in MBs */
20 MAXWORK, /* Create maximum-sized Work partition */
21 WORKTYPE, /* Type of filesystem on Work partition [FFSIntl, SFS] */
22 WORKNAME, /* Name of Work partition */
23 WIPE, /* Destroy all existing partitions */
24 FORCE, /* Don't ask the user for permission */
25 QUIET, /* Don't print anything */
26 RDB, /* Create only RDB partitions */
27 COUNT /* Number of arguments */
30 /*** Prototypes *************************************************************/
31 BOOL ReadArguments(VOID);
32 VOID FreeArguments(VOID);
33 IPTR GetArgument(enum Argument arg);
35 /*** Macros *****************************************************************/
36 #define ARG(a) GetArgument((a))
38 #endif /* _ARGS_H_ */