cache_entry_t Struct Reference

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.

Detailed Description

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.


Field Documentation

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().


The documentation for this struct was generated from the following file:

Generated for fsvs by  doxygen 1.6.1