Buffer class.
More...
#include "fileio.h"
#include <mutex>
#include <vector>
#include <stddef.h>
Go to the source code of this file.
◆ CACHE_CHECK_BIT
#define CACHE_CHECK_BIT |
( |
|
mask, |
|
|
|
var |
|
) |
| ((mask) == (mask & (var))) |
Check bit in bitmask.
Definition at line 43 of file buffer.h.
◆ CACHE_CLOSE_DELETE
Delete cache entry, will unlink cached file! Implies CACHE_CLOSE_FREE.
Definition at line 47 of file buffer.h.
◆ CACHE_CLOSE_FREE
#define CACHE_CLOSE_FREE 0x00000001 |
Free memory for cache entry.
Definition at line 46 of file buffer.h.
◆ CACHE_CLOSE_NOOPT
#define CACHE_CLOSE_NOOPT 0x00000000 |
Dummy, do nothing special.
Definition at line 45 of file buffer.h.
◆ CACHE_FLAG_RO
#define CACHE_FLAG_RO 0x00000001 |
Mark cache file read-only.
Definition at line 49 of file buffer.h.
◆ CACHE_FLAG_RW
#define CACHE_FLAG_RW 0x00000002 |
Mark cache file writeable, implies read permissions.
Definition at line 50 of file buffer.h.