added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / workbench / libs / partition / querypartitionattrs.c
blobabc4a8d6e37ad7dbecd83cf6e530a38c08506d61
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 */
6 #include "partition_support.h"
7 #include "platform.h"
9 /*****************************************************************************
11 NAME */
12 #include <libraries/partition.h>
14 AROS_LH1(struct PartitionAttribute *, QueryPartitionAttrs,
16 /* SYNOPSIS */
17 AROS_LHA(struct PartitionHandle *, table, A1),
19 /* LOCATION */
20 struct Library *, PartitionBase, 18, Partition)
22 /* FUNCTION
23 query partition attributes
25 INPUTS
26 ph - PartitionHandle to the table
28 RESULT
29 list of NULL-terminated ULONGs with attributes
31 NOTES
33 EXAMPLE
35 BUGS
37 SEE ALSO
39 INTERNALS
41 HISTORY
42 21-02-02 first version
44 *****************************************************************************/
46 AROS_LIBFUNC_INIT
48 if (table->table)
50 struct PTFunctionTable *handler = table->table->handler;
52 if (handler->queryPartitionAttrs)
53 return handler->queryPartitionAttrs(PartitionBase);
55 return 0;
56 AROS_LIBFUNC_EXIT