Listtree.mcc: update version and date
[AROS.git] / rom / partition / loadfilesystem.c
bloba2e82ea42f0aea8197c7657096b6f1b06fec6a93
1 /*
2 Copyright © 2011, 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(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 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 HISTORY
43 *****************************************************************************/
45 AROS_LIBFUNC_INIT
47 const struct FSFunctionTable *handler = ((struct FileSysHandle *)handle)->handler;
49 return handler->loadFileSystem((struct PartitionBase_intern *)PartitionBase, (struct FileSysHandle *)handle);
51 AROS_LIBFUNC_EXIT