|
myMPD
Internal API documentation
|
General disk cache handling. More...


Go to the source code of this file.
Enumerations | |
| enum | cache_disk_conf { CACHE_DISK_NO_PRUNE = -1 , CACHE_DISK_DISABLED = 0 } |
Functions | |
| void | cache_disk_clear (struct t_config *config) |
| void | cache_disk_crop (struct t_config *config) |
General disk cache handling.
| enum cache_disk_conf |
| void cache_disk_clear | ( | struct t_config * | config | ) |
Clears the caches unconditionally
| config | pointer to static config |
| void cache_disk_crop | ( | struct t_config * | config | ) |
Crops the caches respecting the keep_days settings
| config | pointer to static config |