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 #include "panel.h"
  13 
  14 /*** typedefs(not structures) and defined constants **********************************************/
  15 
  16 /*** enums ***************************************************************************************/
  17 
  18 typedef enum
  19 {
  20     LINK_HARDLINK = 0,
  21     LINK_SYMLINK_ABSOLUTE,
  22     LINK_SYMLINK_RELATIVE
  23 } link_type_t;
  24 
  25 /*** structures declarations (and typedefs of structures)*****************************************/
  26 
  27 /*** global variables defined in .c file *********************************************************/
  28 
  29 /*** declarations of public functions ************************************************************/
  30 
  31 #ifdef ENABLE_VFS_FTP
  32 void ftplink_cmd (void);
  33 #endif
  34 #ifdef ENABLE_VFS_SFTP
  35 void sftplink_cmd (void);
  36 #endif
  37 #ifdef ENABLE_VFS_FISH
  38 void fishlink_cmd (void);
  39 #endif
  40 #ifdef ENABLE_VFS_SMB
  41 void smblink_cmd (void);
  42 #endif
  43 void undelete_cmd (void);
  44 void help_cmd (void);
  45 void smart_dirsize_cmd (WPanel * panel);
  46 void single_dirsize_cmd (WPanel * panel);
  47 void dirsizes_cmd (WPanel * panel);
  48 gboolean view_file_at_line (const vfs_path_t * filename_vpath, gboolean plain_view,
  49                             gboolean internal, long start_line, off_t search_start,
  50                             off_t search_end);
  51 gboolean view_file (const vfs_path_t * filename_vpath, gboolean plain_view, gboolean internal);
  52 void view_cmd (WPanel * panel);
  53 void view_file_cmd (const WPanel * panel);
  54 void view_raw_cmd (WPanel * panel);
  55 void view_filtered_cmd (const WPanel * panel);
  56 void edit_file_at_line (const vfs_path_t * what_vpath, gboolean internal, long start_line);
  57 void edit_cmd (const WPanel * panel);
  58 void edit_cmd_new (void);
  59 #ifdef USE_INTERNAL_EDIT
  60 void edit_cmd_force_internal (const WPanel * panel);
  61 #endif
  62 void copy_cmd (WPanel * panel);
  63 void copy_cmd_local (WPanel * panel);
  64 void rename_cmd (WPanel * panel);
  65 void rename_cmd_local (WPanel * panel);
  66 void mkdir_cmd (WPanel * panel);
  67 void delete_cmd (WPanel * panel);
  68 void delete_cmd_local (WPanel * panel);
  69 void filter_cmd (void);
  70 void reread_cmd (void);
  71 void vfs_list (WPanel * panel);
  72 void ext_cmd (void);
  73 void edit_mc_menu_cmd (void);
  74 void edit_fhl_cmd (void);
  75 void hotlist_cmd (WPanel * panel);
  76 void compare_dirs_cmd (void);
  77 #ifdef USE_DIFF_VIEW
  78 void diff_view_cmd (void);
  79 #endif
  80 void panel_tree_cmd (void);
  81 void link_cmd (link_type_t link_type);
  82 void edit_symlink_cmd (void);
  83 void swap_cmd (void);
  84 void quick_cd_cmd (WPanel * panel);
  85 void save_setup_cmd (void);
  86 void user_file_menu_cmd (void);
  87 void info_cmd (void);
  88 void listing_cmd (void);
  89 void setup_listing_format_cmd (void);
  90 void quick_cmd_no_menu (void);
  91 void info_cmd_no_menu (void);
  92 void quick_view_cmd (void);
  93 #ifdef HAVE_CHARSET
  94 void encoding_cmd (void);
  95 #endif
  96 /* achown.c */
  97 void advanced_chown_cmd (WPanel * panel);
  98 /* chmod.c */
  99 void chmod_cmd (WPanel * panel);
 100 /* chown.c */
 101 void chown_cmd (WPanel * panel);
 102 #ifdef ENABLE_EXT2FS_ATTR
 103 /* chattr.c */
 104 void chattr_cmd (WPanel * panel);
 105 const char *chattr_get_as_str (unsigned long attr);
 106 #endif
 107 /* find.c */
 108 void find_cmd (WPanel * panel);
 109 
 110 /*** inline functions ****************************************************************************/
 111 #endif /* MC__CMD_H */

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