more rendering corrections
[AROS.git] / workbench / tools / HDToolBox / partitions.h
blob8f0f1a04dcd5ad644dfde466c6e5fc9a1e9ca661
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef PARTITIONS_H
7 #define PARTITIONS_H
9 #include <exec/nodes.h>
10 #include <intuition/intuition.h>
12 #include "gui.h"
13 #include "partitiontables.h"
15 struct HDTBPartition {
16 struct ListNode listnode;
17 struct HDTBPartition *root;
18 struct PartitionHandle *ph;
19 struct DriveGeometry dg;
20 struct DosEnvec de;
21 struct PartitionType type;
22 struct PartitionTable *table;
23 ULONG flags;
24 ULONG pos;
27 #define PNF_ACTIVE (1<<0)
28 #define PNF_BOOTABLE (1<<1)
29 #define PNF_AUTOMOUNT (1<<2)
31 void findPartitions(struct ListNode *, struct HDTBPartition *);
32 void freePartitionNode(struct HDTBPartition *);
33 void freePartitionList(struct List *);
34 BOOL validValue(struct HDTBPartition *, struct HDTBPartition *, ULONG);
35 struct HDTBPartition *addPartition(struct HDTBPartition *, struct DosEnvec *);
37 #endif