Cleaned up formatting of AutoDocs (mostly indentation).
[AROS.git] / rom / partition / loadfilesystem.c
blob162c28600ef6c2cdb8e8b6814bba8a79bce0b627
1 /*
2 Copyright © 2011-2017, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include "partition_support.h"
7 #include "platform.h"
9 /*****************************************************************************
11 NAME */
12 #include <libraries/partition.h>
14 AROS_LH1(BPTR, LoadFileSystem,
16 /* SYNOPSIS */
17 AROS_LHA(struct Node *, handle, A1),
19 /* LOCATION */
20 struct Library *, PartitionBase, 21, Partition)
22 /* FUNCTION
23 Load the specified filesystem as a DOS segment list.
25 INPUTS
26 handle - Filesystem handle obtained by FindFileSystemA()
28 RESULT
29 DOS seglist or NULL in case of failure.
31 NOTES
33 EXAMPLE
35 BUGS
37 SEE ALSO
39 INTERNALS
41 *****************************************************************************/
43 AROS_LIBFUNC_INIT
45 const struct FSFunctionTable *handler = ((struct FileSysHandle *)handle)->handler;
47 return handler->loadFileSystem((struct PartitionBase_intern *)PartitionBase, (struct FileSysHandle *)handle);
49 AROS_LIBFUNC_EXIT