more rendering corrections
[AROS.git] / workbench / tools / HDToolBox / hdtoolbox_support.h
bloba9e43568330dcca3f0fb4ddd5a5032501a2b6dcc
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
4 */
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 #ifdef __AROS__
24 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, ... );
29 #endif
30 #else
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;
35 #endif
36 ULONG getAttrInfo(struct PartitionAttribute *, ULONG);
37 UBYTE getBitNum(ULONG);
38 #endif