2 * \brief Header: extension dependent execution
7 /*** typedefs(not structures) and defined constants **********************************************/
9 /*** enums ***************************************************************************************/
11 /*** structures declarations (and typedefs of structures)*****************************************/
13 /*** global variables defined in .c file *********************************************************/
15 /*** declarations of public functions ************************************************************/
17 int regex_command_for (void *target
, const vfs_path_t
* filename_vpath
, const char *action
,
18 vfs_path_t
** script_vpath
);
20 /* Call it after the user has edited the mc.ext file,
21 * to flush the cached mc.ext file
23 void flush_extension_file (void);
25 /*** inline functions ****************************************************************************/
28 regex_command (const vfs_path_t
*filename_vpath
, const char *action
)
30 return regex_command_for (NULL
, filename_vpath
, action
, NULL
);
33 #endif /* MC__EXT_H */