#define _UCW_QACHE_H
struct qache_params {
- byte *file_name;
+ char *file_name;
uns block_size; /* Cache block size (a power of two) */
uns cache_size; /* Size of the whole cache */
uns max_entries; /* Maximum number of cached entries */
/* Insert new item to the cache with a given key and data. If pos_hint is non-zero, it serves
* as a hint about the position of the entry (if it's known that an entry with the particular key
- * was located there a moment ago. Returns position of the new entry.
+ * was located there a moment ago). Returns position of the new entry.
*/
uns qache_insert(struct qache *q, qache_key_t *key, uns pos_hint, void *data, uns size);