What an internal cache entry looks like. More...
#include <cache.h>
Data Fields | |
cache_value_t | id |
ID of entry. | |
cache_value_t | hash_data |
User-data for hashes. | |
int | len |
Length of data. | |
char | data [1] |
Copy of data. |
What an internal cache entry looks like.
Is more or less a buffer with (allocated) length; the real length is normally specified via some \0 byte, by the caller. (A string.)
Definition at line 26 of file cache.h.
char cache_entry_t::data[1] |
Copy of data.
Definition at line 38 of file cache.h.
Referenced by cch__entry_set(), cch__find(), cch__hash_find(), hlp___do_convert(), ops__build_path(), and waa__get_tmp_name().
User-data for hashes.
Definition at line 30 of file cache.h.
Referenced by cch__hash_add(), and cch__hash_find().
ID of entry.
Definition at line 28 of file cache.h.
Referenced by cch__entry_set(), cch__find(), and ops__build_path().
Length of data.
Definition at line 32 of file cache.h.
Referenced by cch__entry_set(), cch__find(), cm___absolute_path(), hlp___do_convert(), and waa__get_tmp_name().