From 8b2630a82fbecfd57fa38aebb397a755936690e5 Mon Sep 17 00:00:00 2001 From: stbuehler Date: Fri, 18 Sep 2015 15:15:18 +0000 Subject: add README to point to lighttpd-1.4.x as stable git-svn-id: svn://svn.lighttpd.net/lighttpd/trunk@3041 152afb58-edef-0310-8abb-c4023f1b3aa9 --- src/mod_magnet_cache.h | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 src/mod_magnet_cache.h (limited to 'src/mod_magnet_cache.h') 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 - -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 -- cgit v1.2.1