root/src/filemanager/cmd.h

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

INCLUDED FROM


   1 /** \file cmd.h
   2  *  \brief Header: routines invoked by a function key
   3  *
   4  *  They normally operate on the current panel.
   5  */
   6 
   7 #ifndef MC__CMD_H
   8 #define MC__CMD_H
   9 
  10 #include "lib/global.h"
  11 
  12 /*** typedefs(not structures) and defined constants **********************************************/
  13 
  14 /*** enums ***************************************************************************************/
  15 
  16 typedef enum
  17 {
  18     LINK_HARDLINK = 0,
  19     LINK_SYMLINK_ABSOLUTE,
  20     LINK_SYMLINK_RELATIVE
  21 } link_type_t;
  22 
  23 /*** structures declarations (and typedefs of structures)*****************************************/
  24 
  25 /*** global variables defined in .c file *********************************************************/
  26 
  27 /*** declarations of public functions ************************************************************/
  28 
  29 #ifdef ENABLE_VFS_FTP
  30 void ftplink_cmd (void);
  31 #endif
  32 #ifdef ENABLE_VFS_SFTP
  33 void sftplink_cmd (void);
  34 #endif
  35 #ifdef ENABLE_VFS_FISH
  36 void fishlink_cmd (void);
  37 #endif
  38 #ifdef ENABLE_VFS_SMB
  39 void smblink_cmd (void);
  40 #endif
  41 void undelete_cmd (void);
  42 void help_cmd (void);
  43 void smart_dirsize_cmd (void);
  44 void single_dirsize_cmd (void);
  45 void dirsizes_cmd (void);
  46 gboolean view_file_at_line (const vfs_path_t * filename_vpath, gboolean plain_view,
  47                             gboolean internal, long start_line, off_t search_start,
  48                             off_t search_end);
  49 gboolean view_file (const vfs_path_t * filename_vpath, gboolean normal, gboolean internal);
  50 void view_cmd (void);
  51 void view_file_cmd (void);
  52 void view_raw_cmd (void);
  53 void view_filtered_cmd (void);
  54 void edit_file_at_line (const vfs_path_t * what_vpath, gboolean internal, long start_line);
  55 void edit_cmd (void);
  56 void edit_cmd_new (void);
  57 #ifdef USE_INTERNAL_EDIT
  58 void edit_cmd_force_internal (void);
  59 #endif
  60 void copy_cmd (void);
  61 void copy_cmd_local (void);
  62 void rename_cmd (void);
  63 void rename_cmd_local (void);
  64 void mkdir_cmd (void);
  65 void delete_cmd (void);
  66 void delete_cmd_local (void);
  67 void find_cmd (void);
  68 void filter_cmd (void);
  69 void reread_cmd (void);
  70 void vfs_list (void);
  71 void ext_cmd (void);
  72 void edit_mc_menu_cmd (void);
  73 void edit_fhl_cmd (void);
  74 void hotlist_cmd (void);
  75 void compare_dirs_cmd (void);
  76 #ifdef USE_DIFF_VIEW
  77 void diff_view_cmd (void);
  78 #endif
  79 void panel_tree_cmd (void);
  80 void link_cmd (link_type_t link_type);
  81 void edit_symlink_cmd (void);
  82 void swap_cmd (void);
  83 void quick_cd_cmd (void);
  84 void save_setup_cmd (void);
  85 void user_file_menu_cmd (void);
  86 void info_cmd (void);
  87 void listing_cmd (void);
  88 void setup_listing_format_cmd (void);
  89 void quick_cmd_no_menu (void);
  90 void info_cmd_no_menu (void);
  91 void quick_view_cmd (void);
  92 #ifdef HAVE_CHARSET
  93 void encoding_cmd (void);
  94 #endif
  95 
  96 /*** inline functions ****************************************************************************/
  97 #endif /* MC__CMD_H */

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