From c5bfca9645ed82143cb6ac941ccb4312b557fd3f Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Tue, 12 Mar 2002 19:30:47 +0000 Subject: [PATCH] updates. --- lib/silccore/silcidcache.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/silccore/silcidcache.h b/lib/silccore/silcidcache.h index ccdbb345..71f8f445 100644 --- a/lib/silccore/silcidcache.h +++ b/lib/silccore/silcidcache.h @@ -171,10 +171,15 @@ void silc_idcache_free(SilcIDCache cache); * * 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. + * the ID, the `id' the actual ID and the `context' a user specific context. * If the `expire' is non-zero the entry expires in that specified time. * If zero the entry never expires from the cache. * + * The `name', `id' and `context' pointers will be saved in the cache, + * and if the caller frees these pointers the caller is also responsible + * of deleting the cache entry. Otherwise the cache will have the freed + * pointers stored. + * * If the `ret' is non-NULL the created ID Cache entry is returned to * that pointer. * -- 2.43.0