Call the connection callback in disconnection always as the last
[silc.git] / lib / silcclient / silcclient.h
index a6d246841142018282d93fe6f4b4a2e3f58c5b8c..dc4af8b4fca47c46c5aaef5542bc5b80c289628b 100644 (file)
@@ -135,7 +135,9 @@ typedef void (*SilcClientStopped)(SilcClient client, void *context);
  *    by the `status'.  It is called after the connection has been
  *    established to the remote host and when connection is disconnected
  *    by the remote host.  The `context' is the context given as argument
- *    to the connecting function.
+ *    to the connecting function.  If the `status' is an error the `error'
+ *    may indicate more detailed error.  If `error' is SILC_STATUS_OK no
+ *    detailed error message is available.
  *
  *    When the `status' is SILC_CLIENT_CONN_DISCONNECTED the `error' will
  *    indicate the reason for disconnection.  If the `message' is non-NULL