Lines Matching +full:- +full:- +full:disk
2 * libwebsockets - small server side websockets and web server implementation
4 * Copyright (C) 2010 - 2019 Andy Green <andy@warmcat.com>
25 /*! \defgroup diskcache LWS disk cache
26 * ## Disk cache API
28 * Lws provides helper apis useful if you need a disk cache containing hashed
37 * an opaque struct that represents the disk cache.
64 * lws_diskcache_create() - creates an opaque struct representing the disk cache
67 * \param cache_size_limit: maximum size on disk the cache is allowed to use
70 * disk cache, the trim scanning state and so on. You should use
77 * lws_diskcache_destroy() - destroys the pointer returned by ...create()
88 * lws_diskcache_prepare() - ensures the cache dir structure exists on disk
95 * the cache directory structure on disk as necessary, enforce the given access
111 * lws_diskcache_query() - ensures the cache dir structure exists on disk
113 * \param lds: The opaque struct representing the disk cache
124 * - LWS_DISKCACHE_QUERY_NO_CACHE: It's not in the cache and you can't create
126 * - LWS_DISKCACHE_QUERY_EXISTS: It exists in the cache. It's open RDONLY and
130 * - LWS_DISKCACHE_QUERY_CREATING: It didn't exist, but a temp file has been
134 * - LWS_DISKCACHE_QUERY_ONGOING: not returned by this api, but you may find it
146 * lws_diskcache_query() - ensures the cache dir structure exists on disk
159 * lws_diskcache_trim() - performs one or more file checks in the cache for size management
163 * This should be called periodically to statefully walk the cache on disk
178 * lws_diskcache_secs_to_idle() - see how long to idle before calling trim