X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcclient%2Fsilcclient_entry.h;fp=lib%2Fsilcclient%2Fsilcclient_entry.h;h=6ebe4129e35c93bf209560833da26c7597eacec8;hb=a71ca13285f67f081df53cf40a0170a723ebdec3;hp=aae2c0442fb05563439f298401a49f69a17aacae;hpb=0fe36aefe123f64c81e3982153fa49094132c1be;p=silc.git diff --git a/lib/silcclient/silcclient_entry.h b/lib/silcclient/silcclient_entry.h index aae2c044..6ebe4129 100644 --- a/lib/silcclient/silcclient_entry.h +++ b/lib/silcclient/silcclient_entry.h @@ -17,6 +17,25 @@ */ +/****h* silcclient/Client Library Interface + * + * DESCRIPTION + * + * This header file includes the SilcClientEntry, SilcChannelEntry and + * SilcServer entry structures and various routines to search, resolve and + * handle these structures. + * + * All entries (SilcClientEntry, SilcChannelEntry and SilcServerEntry) are + * reference counted. If application wishes to save an entry pointer it must + * always first acquire a reference. The reference must be released once the + * entry is not needed anymore. If application wants to read any data from + * the entry structure it must first lock the entry. This protects access to + * the entries in multithreaded environment. If threads are not used, locking + * the entries is not needed. They however still must be referenced even + * when threads are not used. + * + ***/ + #ifndef SILCCLIENT_ENTRY_H #define SILCCLIENT_ENTRY_H