2 Copyright © 2011-2017, The AROS Development Team. All rights reserved.
6 #include "partition_support.h"
9 /*****************************************************************************
12 #include <libraries/partition.h>
14 AROS_LH2(struct Node
*, FindFileSystemA
,
17 AROS_LHA(struct PartitionHandle
*, table
, A1
),
18 AROS_LHA(const struct TagItem
*, taglist
, A2
),
21 struct Library
*, PartitionBase
, 20, Partition
)
24 Locate a filesystem handler in the partition.
27 ph - PartitionHandle to the table
28 taglist - Taglist specifying arguments. Possible tags are:
30 FST_ID - specify ID of the filesystem.
31 FST_NAME - specify name of the filesystem.
33 If more than one condition is specified for the search, logical
34 AND will be applied to them. Empty taglist will give you the
35 first filesystem in the list.
38 Abstract handle of a filesystem or NULL if the filesystem with the
39 given parameters was not located in the partition.
51 *****************************************************************************/
57 struct PTFunctionTable
*handler
= table
->table
->handler
;
59 if (handler
->findFileSystem
)
60 return handler
->findFileSystem(PartitionBase
, table
, taglist
);