#include <assert.h>
#include "tcache.h"
#include "gossip.h"
Functions | |
| int | check_expiration (struct PINT_tcache *tcache, struct PINT_tcache_entry *entry, struct timeval *tv) |
| int | tcache_lookup_oldest (struct PINT_tcache *tcache, struct PINT_tcache_entry **entry, int *status) |
| PINT_tcache * | PINT_tcache_initialize (int(*compare_key_entry)(void *key, struct qhash_head *link), int(*hash_key)(void *key, int table_size), int(*free_payload)(void *payload), int table_size) |
| void | PINT_tcache_finalize (struct PINT_tcache *tcache) |
| int | PINT_tcache_get_info (struct PINT_tcache *tcache, enum PINT_tcache_options option, unsigned int *arg) |
| int | PINT_tcache_set_info (struct PINT_tcache *tcache, enum PINT_tcache_options option, unsigned int arg) |
| int | PINT_tcache_insert_entry (struct PINT_tcache *tcache, void *key, void *payload, int *purged) |
| int | PINT_tcache_lookup (struct PINT_tcache *tcache, void *key, struct PINT_tcache_entry **entry, int *status) |
| int | PINT_tcache_reclaim (struct PINT_tcache *tcache, int *reclaimed) |
| int | PINT_tcache_delete (struct PINT_tcache *tcache, struct PINT_tcache_entry *entry) |
| int | PINT_tcache_refresh_entry (struct PINT_tcache *tcache, struct PINT_tcache_entry *entry) |
|
||||||||||||||||
|
time interval to check expiration against
|
|
||||||||||||||||
|
indicates if the entry is expired or not Subsequent tcache function calls may destroy the entry and payload. Therefore the caller should copy the payload data if it intends to use it after another tcache function call.
|
Here is the call graph for this function:

1.3.5