Searched refs:cache_base_dir (Results 1 – 2 of 2) sorted by relevance
/external/libwebsockets/lib/misc/ |
D | diskcache.c | 121 lws_diskcache_prepare(const char *cache_base_dir, int mode, int uid) in lws_diskcache_prepare() argument 126 (void)mkdir(cache_base_dir, mode); in lws_diskcache_prepare() 127 if (chown(cache_base_dir, uid, -1)) in lws_diskcache_prepare() 129 cache_base_dir, uid); in lws_diskcache_prepare() 132 lws_snprintf(dir, sizeof(dir), "%s/%c", cache_base_dir, hex[n]); in lws_diskcache_prepare() 139 cache_base_dir, hex[n], hex[m]); in lws_diskcache_prepare()
|
/external/libwebsockets/include/libwebsockets/ |
D | lws-diskcache.h | 103 lws_diskcache_prepare(const char *cache_base_dir, int mode, int uid);
|