Copyright © 2001 - 2002 SILC Project SILC Project Website | SILC Toolkit Reference Manual

SILC Toolkit Reference Manual SILC Core Library SILC Authentication Interface SILC Channel Interface SILC Command Interface SILC ID Interface SILC ID Cache Interface SILC Modes SILC Notify Interface SILC Argument Interface SILC Private Message Interface Packet Protocol Interface SILC Math Library SILC MP Interface SILC Math Interface SILC SFTP Library SILC SFTP Interface SFTP Filesystems Interface SILC Utility Library SILC Buffer Interface SILC Buffer Format Interface SILC Hash Table Interface SILC Logging Interface SILC Memory Interface SILC Mutex Interface SILC Thread Interface SILC Network Interface SILC Schedule Interface SILC Socket Interface SILC Protocol Interface SILC Config Interface SILC File Util Interface SILC Util Interface SILC List Interface SILC Dynamic List Interface SILC Zip API SILC Key Exchange Library SILC SKE Interface SKE Status Types SKE Diffie Hellman Groups SKE Payloads SILC Client Library Using SILC Client Library Client Library Interface SILC Crypto Library Introduction to SILC RNG SILC RNG Interface SILC Cipher API SILC Hash API SILC HMAC API SILC PKCS API Resource Links SILC Project Website SILC Protocol Documentation SILC White Paper SILC FAQ
Function silc_idcache_add SYNOPSIS
        bool silc_idcache_add(SilcIDCache cache, char *name, void *id,
                              void *context, int expire);
DESCRIPTION
        Add new entry to the cache. Returns TRUE if the entry was added and
        FALSE if it could not be added. The `name' is the name associated with
        the ID, the `id' the actual ID and the `context' a used specific context.
        If the `expire' is non-zero the entry expires in that specified time.
        If zero the entry never expires from the cache.

        If the `ret' is non-NULL the created ID Cache entry is returned to
        that pointer.
SilcIDCacheAPI SilcIDCacheEntry SilcIDCache SilcIDCacheList SilcIDCacheDestructor silc_idcache_alloc silc_idcache_free silc_idcache_add silc_idcache_del silc_idcache_del_by_id silc_idcache_del_by_id_ext silc_idcache_del_by_context silc_idcache_del_all silc_idcache_purge silc_idcache_by_context silc_idcache_get_all silc_idcache_find_by_id silc_idcache_find_by_id_one silc_idcache_find_by_id_one_ext silc_idcache_find_by_context silc_idcache_find_by_name silc_idcache_find_by_name_one silc_idcache_list_count silc_idcache_list_first silc_idcache_list_next silc_idcache_list_free

Copyright © 2001 - 2002 SILC Project SILC Project Website | SILC Toolkit Reference Manual