mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
264697b010
* vfs/fish.c (fish_directory_timeout): Define new global variable. (FISH_DIRECTORY_TIMEOUT): Eliminate - this macro is not used anywhere. (fish_dir_load): Use `fish_directory_timeout' to calculate the expiration time of a newly created directory entries. * src/setup.c [USE_NETCODE]: Include fish.h . (int_options) [USE_NETCODE]: Add support for user configurable expiration timeout of FISH directory cache entries. * doc/mc.1.in: Document `fish_directory_timeout'.
7 lines
88 B
C
7 lines
88 B
C
#ifndef MC_VFS_FISH_H
|
|
#define MC_VFS_FISH_H
|
|
|
|
extern int fish_directory_timeout;
|
|
|
|
#endif
|