updates.
authorPekka Riikonen <priikone@silcnet.org>
Tue, 12 Mar 2002 19:30:47 +0000 (19:30 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Tue, 12 Mar 2002 19:30:47 +0000 (19:30 +0000)
lib/silccore/silcidcache.h

index ccdbb345619c414f13f0bc521f617163bf90aea7..71f8f445635bb152451898c4cdcdbb32a0338d8d 100644 (file)
@@ -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.
  *