Remove unneeded `struct` keyword for typedef'd structs
[midnight-commander.git] / src / vfs / plugins_init.c
blob3a3895767988bfee81f5feb3d743d459d5131ba6
1 /*
2 Init VFS plugins.
4 Copyright (C) 2011-2016
5 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_SFTP
58 #include "sftpfs/init.h"
59 #endif
61 #ifdef ENABLE_VFS_SFS
62 #include "sfs/sfs.h"
63 #endif
65 #ifdef ENABLE_VFS_SMB
66 #include "smbfs/smbfs.h"
67 #endif
69 #ifdef ENABLE_VFS_TAR
70 #include "tar/tar.h"
71 #endif
73 #ifdef ENABLE_VFS_UNDELFS
74 #include "undelfs/undelfs.h"
75 #endif
77 #include "plugins_init.h"
79 /*** global variables ****************************************************************************/
81 /*** file scope macro definitions ****************************************************************/
83 /*** file scope type declarations ****************************************************************/
85 /*** file scope variables ************************************************************************/
87 /*** file scope functions ************************************************************************/
88 /* --------------------------------------------------------------------------------------------- */
90 /* --------------------------------------------------------------------------------------------- */
91 /*** public functions ****************************************************************************/
92 /* --------------------------------------------------------------------------------------------- */
94 void
95 vfs_plugins_init (void)
97 /* localfs needs to be the first one */
98 init_localfs ();
100 #ifdef ENABLE_VFS_CPIO
101 init_cpiofs ();
102 #endif /* ENABLE_VFS_CPIO */
103 #ifdef ENABLE_VFS_TAR
104 init_tarfs ();
105 #endif /* ENABLE_VFS_TAR */
106 #ifdef ENABLE_VFS_SFS
107 init_sfs ();
108 #endif /* ENABLE_VFS_SFS */
109 #ifdef ENABLE_VFS_EXTFS
110 init_extfs ();
111 #endif /* ENABLE_VFS_EXTFS */
112 #ifdef ENABLE_VFS_UNDELFS
113 init_undelfs ();
114 #endif /* ENABLE_VFS_UNDELFS */
116 #ifdef ENABLE_VFS_FTP
117 init_ftpfs ();
118 #endif /* ENABLE_VFS_FTP */
119 #ifdef ENABLE_VFS_SFTP
120 init_sftpfs ();
121 #endif /* ENABLE_VFS_SFTP */
122 #ifdef ENABLE_VFS_FISH
123 init_fish ();
124 #endif /* ENABLE_VFS_FISH */
125 #ifdef ENABLE_VFS_SMB
126 init_smbfs ();
127 #endif /* ENABLE_VFS_SMB */
131 /* --------------------------------------------------------------------------------------------- */