Home
last modified time | relevance | path

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

/lighttpd1.4/src/
H A Dmod_magnet_cache.c23 if (!sc) return; in script_free()
24 lua_close(sc->L); in script_free()
25 free(sc->name.ptr); in script_free()
26 free(sc->etag.ptr); in script_free()
27 free(sc); in script_free()
81 int rc = luaL_loadbuffer(sc->L, buf, (size_t)sz, sc->name.ptr); in script_cache_load_script()
86 return sc->L; in script_cache_load_script()
90 return sc->L; in script_cache_load_script()
107 return sc; in __attribute_nonnull__()
115 return sc; in script_cache_get_script()
[all …]
H A Dstat_cache.c57 static stat_cache sc; variable
886 splay_tree *sptree = sc.files; in stat_cache_free()
891 sc.files = NULL; in stat_cache_free()
894 stat_cache_free_fam(sc.scf); in stat_cache_free()
895 sc.scf = NULL; in stat_cache_free()
1105 splay_tree **sptree = &sc.files; in stat_cache_update_entry()
1212 splay_tree *sptree = sc.files; in stat_cache_prune_dir_tree()
1228 sc.files = sptree; in stat_cache_prune_dir_tree()
1287 splay_tree *sptree = sc.files = splaytree_splay(sc.files, file_ndx); in stat_cache_get_entry()
1499 splay_tree *sptree = sc.files; in stat_cache_periodic_cleanup()
[all …]
H A Dmod_authn_sasl.c259 sasl_conn_t *sc; in mod_authn_sasl_query() local
277 realm, NULL, NULL, cb, 0, &sc); in mod_authn_sasl_query()
279 rc = sasl_checkpass(sc, BUF_PTR_LEN(username), pw, strlen(pw)); in mod_authn_sasl_query()
280 sasl_dispose(&sc); in mod_authn_sasl_query()
H A Dmod_magnet_cache.h39 lua_State *script_cache_check_script(script * const sc, int etag_flags);
H A Dmod_magnet.c3153 magnet_script_setup (request_st * const r, plugin_data * const p, script * const sc) in magnet_script_setup() argument
3155 lua_State * const L = sc->L; in magnet_script_setup()
3186 "loading script %s failed: %s", sc->name.ptr, in magnet_script_setup()
3190 "loading script %s failed", sc->name.ptr); in magnet_script_setup()
3203 magnet_attract (request_st * const r, plugin_data * const p, script * const sc) in magnet_attract() argument
3205 lua_State * const L = sc->L; in magnet_attract()
3214 if (!magnet_script_setup(r, p, sc)) in magnet_attract()
3304 sc->name.ptr); in magnet_attract()