|
myMPD
Internal API documentation
|
Lua interface for caches. More...
#include "compile_time.h"#include "src/scripts/interface_caches.h"#include "src/lib/cache/cache_disk_images.h"#include "src/lib/cache/cache_disk_lyrics.h"#include "src/lib/config_def.h"#include "src/lib/filehandler.h"#include "src/lib/log.h"#include "src/lib/mimetype.h"#include "src/lib/random.h"#include "src/lib/sds_extras.h"#include "src/scripts/interface.h"#include <string.h>
Functions | |
| int | lua_caches_tmp_file (lua_State *lua_vm) |
| int | lua_caches_update_mtime (lua_State *lua_vm) |
| int | lua_caches_images_write (lua_State *lua_vm) |
| int | lua_caches_lyrics_write (lua_State *lua_vm) |
Lua interface for caches.
| int lua_caches_images_write | ( | lua_State * | lua_vm | ) |
Renames a file for the images cache
| lua_vm | lua instance |
| int lua_caches_lyrics_write | ( | lua_State * | lua_vm | ) |
Writes a file to the lyrics cache
| lua_vm | lua instance |
| int lua_caches_tmp_file | ( | lua_State * | lua_vm | ) |
Creates a temporary file in the misc cache folder
| lua_vm | lua instance |
| int lua_caches_update_mtime | ( | lua_State * | lua_vm | ) |
Updates the timestamp of a file
| lua_vm | lua instance |