Structure SilcIDCacheEntry
NAME
typedef struct { ... } SilcIDCacheEntry;
DESCRIPTION
This is one entry in the SILC ID Cache system. Contents of this is
allocated outside the ID cache system, however, all the fields are
filled with ID cache utility functions. The ID cache system does not
allocate any of these fields nor free them.
void *id
The actual ID.
char name
A name associated with the ID.
SilcUInt32 expire
Time when this cache entry expires. This is normal time() value
plus the validity. Cache entry has expired if current time is
more than value in this field. If this value is zero (0) the
entry never expires.
void *context
Any caller specified context.
SOURCE
typedef struct {
void *id;
char *name;
SilcUInt32 expire;
void *context;
} *SilcIDCacheEntry;
|