added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / workbench / libs / partition / querypartitiontableattrs.c
blob546157af078e963abd7407eef68b6ff8ae5d678a
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 *, QueryPartitionTableAttrs,
16 /* SYNOPSIS */
17 AROS_LHA(struct PartitionHandle *, table, A1),
19 /* LOCATION */
20 struct Library *, PartitionBase, 17, Partition)
22 /* FUNCTION
23 query partition table attributes
25 INPUTS
26 ph - PartitionHandle of a partition 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->queryPartitionTableAttrs)
53 return handler->queryPartitionTableAttrs(PartitionBase);
55 return 0;
56 AROS_LIBFUNC_EXIT