Home
last modified time | relevance | path

Searched refs:mc (Results 1 – 5 of 5) sorted by relevance

/mOS-networking-stack/samples/lighttpd-1.4.32/src/
H A Dmod_cml_funcs.c190 struct memcache *mc; in f_memcache_exists() local
197 mc = lua_touserdata(L, lua_upvalueindex(1)); in f_memcache_exists()
209 if (NULL == (r = mc_aget(mc, in f_memcache_exists()
226 struct memcache *mc; in f_memcache_get_string() local
233 mc = lua_touserdata(L, lua_upvalueindex(1)); in f_memcache_get_string()
246 if (NULL == (r = mc_aget(mc, in f_memcache_get_string()
263 struct memcache *mc; in f_memcache_get_long() local
270 mc = lua_touserdata(L, lua_upvalueindex(1)); in f_memcache_get_long()
283 if (NULL == (r = mc_aget(mc, in f_memcache_get_long()
H A Dmod_trigger_b4_dl.c51 struct memcache *mc; member
110 if (s->mc) mc_free(s->mc); in FREE_FUNC()
217 s->mc = mc_new(); in SETDEFAULTS_FUNC()
266 PATCH(mc); in mod_trigger_b4_dl_patch_connection()
303 PATCH(mc); in mod_trigger_b4_dl_patch_connection()
335 if (p->conf.db && p->conf.mc) { in URIHANDLER_FUNC()
343 if (!p->conf.mc) return HANDLER_GO_ON; in URIHANDLER_FUNC()
387 if (p->conf.mc) { in URIHANDLER_FUNC()
400 if (0 != mc_set(p->conf.mc, in URIHANDLER_FUNC()
472 if (p->conf.mc) { in URIHANDLER_FUNC()
[all …]
H A Dmod_cml.c53 if (s->mc) mc_free(s->mc); in FREE_FUNC()
97 s->mc = NULL; in SETDEFAULTS_FUNC()
114 s->mc = mc_new(); in SETDEFAULTS_FUNC()
119 if (0 != mc_server_add4(s->mc, ds->value->ptr)) { in SETDEFAULTS_FUNC()
146 PATCH(mc); in mod_cml_patch_connection()
167 PATCH(mc); in mod_cml_patch_connection()
H A Dmod_cml.h23 struct memcache *mc; member
H A Dmod_cml_lua.c231 lua_pushlightuserdata(L, p->conf.mc); in cache_parse_lua()
236 lua_pushlightuserdata(L, p->conf.mc); in cache_parse_lua()
241 lua_pushlightuserdata(L, p->conf.mc); in cache_parse_lua()