Ticket #2779: Active VFS directories list contain incorrect current path
[midnight-commander.git] / src / vfs / plugins_init.c
blob6c60f1ec2f301435e9a4a9b353751c05d59c181f
1 /*
2 Init VFS plugins.
4 Copyright (C) 2011
5 The Free Software Foundation, Inc.
7 Written by:
8 Slava Zanko <slavazanko@gmail.com>, 2011.
10 This file is part of the Midnight Commander.
12 The Midnight Commander is free software: you can redistribute it
13 and/or modify it under the terms of the GNU General Public License as
14 published by the Free Software Foundation, either version 3 of the License,
15 or (at your option) any later version.
17 The Midnight Commander is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 GNU General Public License for more details.
22 You should have received a copy of the GNU General Public License
23 along with this program. If not, see <http://www.gnu.org/licenses/>.
26 /** \file
27 * \brief This is a template file (here goes brief description).
28 * \author Author1
29 * \author Author2
30 * \date 20xx
32 * Detailed description.
35 #include <config.h>
37 #include "lib/global.h"
39 #include "local/local.h"
41 #ifdef ENABLE_VFS_CPIO
42 #include "cpio/cpio.h"
43 #endif
45 #ifdef ENABLE_VFS_EXTFS
46 #include "extfs/extfs.h"
47 #endif
49 #ifdef ENABLE_VFS_FISH
50 #include "fish/fish.h"
51 #endif
53 #ifdef ENABLE_VFS_FTP
54 #include "ftpfs/ftpfs.h"
55 #endif
57 #ifdef ENABLE_VFS_SFS
58 #include "sfs/sfs.h"
59 #endif
61 #ifdef ENABLE_VFS_SMB
62 #include "smbfs/smbfs.h"
63 #endif
65 #ifdef ENABLE_VFS_TAR
66 #include "tar/tar.h"
67 #endif
69 #ifdef ENABLE_VFS_UNDELFS
70 #include "undelfs/undelfs.h"
71 #endif
73 #include "plugins_init.h"
75 /*** global variables ****************************************************************************/
77 /*** file scope macro definitions ****************************************************************/
79 /*** file scope type declarations ****************************************************************/
81 /*** file scope variables ************************************************************************/
83 /*** file scope functions ************************************************************************/
84 /* --------------------------------------------------------------------------------------------- */
86 /* --------------------------------------------------------------------------------------------- */
87 /*** public functions ****************************************************************************/
88 /* --------------------------------------------------------------------------------------------- */
90 void
91 vfs_plugins_init (void)
93 /* localfs needs to be the first one */
94 init_localfs ();
96 #ifdef ENABLE_VFS_CPIO
97 init_cpiofs ();
98 #endif /* ENABLE_VFS_CPIO */
99 #ifdef ENABLE_VFS_TAR
100 init_tarfs ();
101 #endif /* ENABLE_VFS_TAR */
102 #ifdef ENABLE_VFS_SFS
103 init_sfs ();
104 #endif /* ENABLE_VFS_SFS */
105 #ifdef ENABLE_VFS_EXTFS
106 init_extfs ();
107 #endif /* ENABLE_VFS_EXTFS */
108 #ifdef ENABLE_VFS_UNDELFS
109 init_undelfs ();
110 #endif /* ENABLE_VFS_UNDELFS */
112 #ifdef ENABLE_VFS_FTP
113 init_ftpfs ();
114 #endif /* ENABLE_VFS_FTP */
115 #ifdef ENABLE_VFS_FISH
116 init_fish ();
117 #endif /* ENABLE_VFS_FISH */
118 #ifdef ENABLE_VFS_SMB
119 init_smbfs ();
120 #endif /* ENABLE_VFS_SMB */
124 /* --------------------------------------------------------------------------------------------- */