(get_paragraph): fix of pointer difference.
[midnight-commander.git] / src / vfs / plugins_init.c
blob78deeeb62a6153bdf4a75b770dfece6a3a9e289c
1 /*
2 Init VFS plugins.
4 Copyright (C) 2011 The Free Software Foundation, Inc.
6 Written by:
7 Slava Zanko <slavazanko@gmail.com>, 2011.
9 This file is part of the Midnight Commander.
11 The Midnight Commander is free software; you can redistribute it
12 and/or modify it under the terms of the GNU General Public License as
13 published by the Free Software Foundation; either version 2 of the
14 License, or (at your option) any later version.
16 The Midnight Commander is distributed in the hope that it will be
17 useful, but WITHOUT ANY WARRANTY; without even the implied warranty
18 of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, write to the Free Software
23 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
24 MA 02110-1301, USA.
27 /** \file
28 * \brief This is a template file (here goes brief description).
29 * \author Author1
30 * \author Author2
31 * \date 20xx
33 * Detailed description.
36 #include <config.h>
38 #include "lib/global.h"
40 #include "local/local.h"
42 #ifdef ENABLE_VFS_CPIO
43 #include "cpio/cpio.h"
44 #endif
46 #ifdef ENABLE_VFS_EXTFS
47 #include "extfs/extfs.h"
48 #endif
50 #ifdef ENABLE_VFS_FISH
51 #include "fish/fish.h"
52 #endif
54 #ifdef ENABLE_VFS_FTP
55 #include "ftpfs/ftpfs.h"
56 #endif
58 #ifdef ENABLE_VFS_SFS
59 #include "sfs/sfs.h"
60 #endif
62 #ifdef ENABLE_VFS_SMB
63 #include "smbfs/smbfs.h"
64 #endif
66 #ifdef ENABLE_VFS_TAR
67 #include "tar/tar.h"
68 #endif
70 #ifdef ENABLE_VFS_UNDELFS
71 #include "undelfs/undelfs.h"
72 #endif
74 #include "plugins_init.h"
76 /*** global variables ****************************************************************************/
78 /*** file scope macro definitions ****************************************************************/
80 /*** file scope type declarations ****************************************************************/
82 /*** file scope variables ************************************************************************/
84 /*** file scope functions ************************************************************************/
85 /* --------------------------------------------------------------------------------------------- */
87 /* --------------------------------------------------------------------------------------------- */
88 /*** public functions ****************************************************************************/
89 /* --------------------------------------------------------------------------------------------- */
91 void
92 vfs_plugins_init(void)
94 /* localfs needs to be the first one */
95 init_localfs ();
97 #ifdef ENABLE_VFS_CPIO
98 init_cpiofs ();
99 #endif /* ENABLE_VFS_CPIO */
100 #ifdef ENABLE_VFS_TAR
101 init_tarfs ();
102 #endif /* ENABLE_VFS_TAR */
103 #ifdef ENABLE_VFS_SFS
104 init_sfs ();
105 #endif /* ENABLE_VFS_SFS */
106 #ifdef ENABLE_VFS_EXTFS
107 init_extfs ();
108 #endif /* ENABLE_VFS_EXTFS */
109 #ifdef ENABLE_VFS_UNDELFS
110 init_undelfs ();
111 #endif /* ENABLE_VFS_UNDELFS */
113 #ifdef ENABLE_VFS_FTP
114 init_ftpfs ();
115 #endif /* ENABLE_VFS_FTP */
116 #ifdef ENABLE_VFS_FISH
117 init_fish ();
118 #endif /* ENABLE_VFS_FISH */
119 #ifdef ENABLE_VFS_SMB
120 init_smbfs ();
121 #endif /* ENABLE_VFS_SMB */
125 /* --------------------------------------------------------------------------------------------- */