2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
7 #include "partition_support.h"
10 /* This is what we can always do */
11 static const struct PartitionAttribute defaultPartitionAttrs
[] =
13 {PT_GEOMETRY
, PLAM_READ
},
14 {PT_DOSENVEC
, PLAM_READ
},
15 {PT_POSITION
, PLAM_READ
},
16 {PT_STARTBLOCK
, PLAM_READ
},
17 {PT_ENDBLOCK
, PLAM_READ
},
21 /*****************************************************************************
24 #include <libraries/partition.h>
26 AROS_LH1(const struct PartitionAttribute
*, QueryPartitionAttrs
,
29 AROS_LHA(struct PartitionHandle
*, table
, A1
),
32 struct Library
*, PartitionBase
, 18, Partition
)
35 query partition attributes
38 ph - PartitionHandle to the table
41 list of NULL-terminated ULONGs with attributes
54 21-02-02 first version
56 *****************************************************************************/
62 struct PTFunctionTable
*handler
= table
->table
->handler
;
64 return handler
->partitionAttrs
;
67 return defaultPartitionAttrs
;