bool silc_idcache_purge_by_context(SilcIDCache cache, void *context);
Purges the cache by context and removes expired cache entires. Returns TRUE if the puring was successful. The destructor function is called for the purged cache entry.