root/src/vfs/plugins_init.c

/* [previous][next][first][last][top][bottom][index][help]  */

DEFINITIONS

This source file includes following definitions.
  1. vfs_plugins_init

   1 /*
   2    Init VFS plugins.
   3 
   4    Copyright (C) 2011-2019
   5    Free Software Foundation, Inc.
   6 
   7    Written by:
   8    Slava Zanko <slavazanko@gmail.com>, 2011.
   9 
  10    This file is part of the Midnight Commander.
  11 
  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.
  16 
  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.
  21 
  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/>.
  24  */
  25 
  26 /** \file
  27  *  \brief This is a template file (here goes brief description).
  28  *  \author Author1
  29  *  \author Author2
  30  *  \date 20xx
  31  *
  32  *  Detailed description.
  33  */
  34 
  35 #include <config.h>
  36 
  37 #include "lib/global.h"
  38 
  39 #include "local/local.h"
  40 
  41 #ifdef ENABLE_VFS_CPIO
  42 #include "cpio/cpio.h"
  43 #endif
  44 
  45 #ifdef ENABLE_VFS_EXTFS
  46 #include "extfs/extfs.h"
  47 #endif
  48 
  49 #ifdef ENABLE_VFS_FISH
  50 #include "fish/fish.h"
  51 #endif
  52 
  53 #ifdef ENABLE_VFS_FTP
  54 #include "ftpfs/ftpfs.h"
  55 #endif
  56 
  57 #ifdef ENABLE_VFS_SFTP
  58 #include "sftpfs/init.h"
  59 #endif
  60 
  61 #ifdef ENABLE_VFS_SFS
  62 #include "sfs/sfs.h"
  63 #endif
  64 
  65 #ifdef ENABLE_VFS_SMB
  66 #include "smbfs/smbfs.h"
  67 #endif
  68 
  69 #ifdef ENABLE_VFS_TAR
  70 #include "tar/tar.h"
  71 #endif
  72 
  73 #ifdef ENABLE_VFS_UNDELFS
  74 #include "undelfs/undelfs.h"
  75 #endif
  76 
  77 #include "plugins_init.h"
  78 
  79 /*** global variables ****************************************************************************/
  80 
  81 /*** file scope macro definitions ****************************************************************/
  82 
  83 /*** file scope type declarations ****************************************************************/
  84 
  85 /*** file scope variables ************************************************************************/
  86 
  87 /*** file scope functions ************************************************************************/
  88 /* --------------------------------------------------------------------------------------------- */
  89 
  90 /* --------------------------------------------------------------------------------------------- */
  91 /*** public functions ****************************************************************************/
  92 /* --------------------------------------------------------------------------------------------- */
  93 
  94 void
  95 vfs_plugins_init (void)
     /* [previous][next][first][last][top][bottom][index][help]  */
  96 {
  97     /* localfs needs to be the first one */
  98     vfs_init_localfs ();
  99 
 100 #ifdef ENABLE_VFS_CPIO
 101     vfs_init_cpiofs ();
 102 #endif /* ENABLE_VFS_CPIO */
 103 #ifdef ENABLE_VFS_TAR
 104     vfs_init_tarfs ();
 105 #endif /* ENABLE_VFS_TAR */
 106 #ifdef ENABLE_VFS_SFS
 107     vfs_init_sfs ();
 108 #endif /* ENABLE_VFS_SFS */
 109 #ifdef ENABLE_VFS_EXTFS
 110     vfs_init_extfs ();
 111 #endif /* ENABLE_VFS_EXTFS */
 112 #ifdef ENABLE_VFS_UNDELFS
 113     vfs_init_undelfs ();
 114 #endif /* ENABLE_VFS_UNDELFS */
 115 
 116 #ifdef ENABLE_VFS_FTP
 117     vfs_init_ftpfs ();
 118 #endif /* ENABLE_VFS_FTP */
 119 #ifdef ENABLE_VFS_SFTP
 120     vfs_init_sftpfs ();
 121 #endif /* ENABLE_VFS_SFTP */
 122 #ifdef ENABLE_VFS_FISH
 123     vfs_init_fish ();
 124 #endif /* ENABLE_VFS_FISH */
 125 #ifdef ENABLE_VFS_SMB
 126     vfs_init_smbfs ();
 127 #endif /* ENABLE_VFS_SMB */
 128 
 129 }
 130 
 131 /* --------------------------------------------------------------------------------------------- */

/* [previous][next][first][last][top][bottom][index][help]  */