2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
6 #ifndef HDTOOLBOX_SUPPORT_H
7 #define HDTOOLBOX_SUPPORT_H
9 #include <proto/partition.h>
10 #include <proto/alib.h>
11 #include <exec/nodes.h>
12 #include <exec/lists.h>
14 #include "partitions.h"
16 struct Node
*getNumNode(struct List
*, int);
17 ULONG
getNodeNum(struct Node
*);
18 ULONG
countNodes(struct List
*, UBYTE
);
19 LONG
RequestList(struct List
*, ULONG
*);
20 void typestrncpy(STRPTR
, STRPTR
, ULONG
);
21 void getSizeStr(STRPTR
, ULONG
);
22 ULONG
sizeStrToUL(STRPTR
);
23 UWORD
strcpyESC(STRPTR dst
, STRPTR fmt
);
25 #ifndef HDTB_HAVE_VARARGPROTOS
26 LONG
GetPartitionAttrsA(struct PartitionHandle
*, IPTR
, ... );
27 LONG
SetPartitionAttrsA(struct PartitionHandle
*, IPTR
, ... );
28 LONG
GetPartitionTableAttrsA(struct PartitionHandle
*, IPTR
, ... );
31 UWORD
strcpyESC(STRPTR dst
, STRPTR fmt
, ...);
32 LONG
GetPartitionAttrsA(struct PartitionHandle
*, IPTR
, ... ) __stackparm
;
33 LONG
SetPartitionAttrsA(struct PartitionHandle
*, IPTR
, ... ) __stackparm
;
34 LONG
GetPartitionTableAttrsA(struct PartitionHandle
*, IPTR
, ... ) __stackparm
;
36 ULONG
getAttrInfo(const struct PartitionAttribute
*, ULONG
);
37 UBYTE
getBitNum(ULONG
);