updates.
[silc.git] / lib / silcclient / silcclient.h
index b9647bdf08bb705e159f6c947a9fc6a3ffb51e27..a1f8e48b87005a187c04321e5c385df244b60697 100644 (file)
@@ -345,7 +345,7 @@ typedef struct {
 
   /* Called to indicate that connection was either successfully established
      or connecting failed.  This is also the first time application receives
-     the SilcClientConnection objecet which it should save somewhere.
+     the SilcClientConnection object which it should save somewhere.
      If the `success' is FALSE the application must always call the function
      silc_client_close_connection. */
   void (*connect)(SilcClient client, SilcClientConnection conn, int success);
@@ -745,22 +745,15 @@ void silc_client_start_key_exchange(SilcClient client,
  * SYNOPSIS
  *
  *    void silc_client_close_connection(SilcClient client,
- *                                      SilcSocketConnection sock,
  *                                      SilcClientConnection conn);
  *
  * DESCRIPTION
  *
  *    Closes connection to remote end. Free's all allocated data except
  *    for some information such as nickname etc. that are valid at all time. 
- *    If the `sock' is NULL then the conn->sock will be used.  If `sock' is
- *    provided it will be checked whether the sock and `conn->sock' are the
- *    same (they can be different, ie. a socket can use `conn' as its
- *    connection but `conn->sock' might be actually a different connection
- *    than the `sock'). 
  *
  ***/
 void silc_client_close_connection(SilcClient client,
-                                 SilcSocketConnection sock,
                                  SilcClientConnection conn);