myMPD
Internal API documentation
Loading...
Searching...
No Matches
interface_caches.h File Reference

Lua interface for caches. More...

#include <lauxlib.h>
#include <lua.h>
#include <lualib.h>
Include dependency graph for interface_caches.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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)
 

Detailed Description

Lua interface for caches.

Function Documentation

◆ lua_caches_images_write()

int lua_caches_images_write ( lua_State *  lua_vm)

Renames a file for the images cache

Parameters
lua_vmlua instance
Returns
number of elements pushed to lua stack

◆ lua_caches_lyrics_write()

int lua_caches_lyrics_write ( lua_State *  lua_vm)

Writes a file to the lyrics cache

Parameters
lua_vmlua instance
Returns
number of elements pushed to lua stack

◆ lua_caches_tmp_file()

int lua_caches_tmp_file ( lua_State *  lua_vm)

Creates a temporary file in the misc cache folder

Parameters
lua_vmlua instance
Returns
number of elements pushed to lua stack

◆ lua_caches_update_mtime()

int lua_caches_update_mtime ( lua_State *  lua_vm)

Updates the timestamp of a file

Parameters
lua_vmlua instance
Returns
number of elements pushed to lua stack