Fixed some bugs in Requested Attributes support.
[silc.git] / lib / silcclient / client.h
index 2073bc5a0db7e5d09eb8f75048b647bd63b50f95..6b9965bee0b4deabb41cdf0c683466be927428d6 100644 (file)
@@ -131,6 +131,9 @@ struct SilcClientConnectionStruct {
   SilcUInt32 next_session_id;
   SilcClientFtpSession active_session;
 
+  /* Requested Attributes */
+  SilcHashTable attrs;
+
   /* Pointer back to the SilcClient. This object is passed to the application
      and the actual client object is accesible through this pointer. */
   SilcClient client;
@@ -164,6 +167,10 @@ struct SilcClientStruct {
      touch this. This the context sent as argument to silc_client_alloc. */
   void *application;
 
+  /* Generic hash context for application usage */
+  SilcHash md5hash;
+  SilcHash sha1hash;
+
   /* Internal data for client library. Application cannot access this
      data at all. */
   SilcClientInternal internal;