diff options
author | stbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2015-09-18 15:15:18 +0000 |
---|---|---|
committer | stbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2015-09-18 15:15:18 +0000 |
commit | 8b2630a82fbecfd57fa38aebb397a755936690e5 (patch) | |
tree | a9cfcd7bb5bea87d63fc8ef81c8456a130a249bc /src/mod_magnet_cache.h | |
parent | e57c8295ebe92b58ca3e68fa8ea8f70d4b0b4cee (diff) | |
download | lighttpd-master.tar.gz |
git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@3041 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'src/mod_magnet_cache.h')
-rw-r--r-- | src/mod_magnet_cache.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/mod_magnet_cache.h b/src/mod_magnet_cache.h deleted file mode 100644 index 50c9e44a..00000000 --- a/src/mod_magnet_cache.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef _MOD_MAGNET_CACHE_H_ -#define _MOD_MAGNET_CACHE_H_ - -#include "buffer.h" -#include "base.h" - -#ifdef HAVE_LUA_H -#include <lua.h> - -typedef struct { - buffer *name; - buffer *etag; - - lua_State *L; - - time_t last_used; /* LRU */ -} script; - -typedef struct { - script **ptr; - - size_t used; - size_t size; -} script_cache; - -script_cache *script_cache_init(void); -void script_cache_free(script_cache *cache); - -lua_State *script_cache_get_script(server *srv, connection *con, - script_cache *cache, buffer *name); - -#endif -#endif |