* SYNOPSIS
*
* typedef void (*SilcIDCacheDestructor)(SilcIDCache cache,
- * SilcIDCacheEntry entry);
+ * SilcIDCacheEntry entry,
+ * void *context);
*
* DESCRIPTION
*
*
***/
typedef void (*SilcIDCacheDestructor)(SilcIDCache cache,
- SilcIDCacheEntry entry);
+ SilcIDCacheEntry entry,
+ void *context);
#define SILC_ID_CACHE_EXPIRE 3600
#define SILC_ID_CACHE_EXPIRE_DEF (time(NULL) + SILC_ID_CACHE_EXPIRE)
* SYNOPSIS
*
* SilcIDCache silc_idcache_alloc(SilcUInt32 count, SilcIdType id_type,
- * SilcIDCacheDestructor destructor);
+ * SilcIDCacheDestructor destructor,
+ * void *destructor_context,
+ * bool delete_id, bool delete_name);
*
* DESCRIPTION
*
***/
SilcIDCache silc_idcache_alloc(SilcUInt32 count, SilcIdType id_type,
SilcIDCacheDestructor destructor,
+ void *destructor_context,
bool delete_id, bool delete_name);
/****f* silccore/SilcIDCacheAPI/silc_idcache_free