Added SILC errno API. Added SilcResult, generic error code and
[silc.git] / lib / silcclient / silcclient.h
index 1edc5e90a12c98db512d5caf4524bb0dac9857c5..5e6c0d42f822bf861a193f5d64dbc9c342ae4e37 100644 (file)
@@ -1083,11 +1083,11 @@ silc_client_connect_to_client(SilcClient client,
  *                                  stream_create_cb, app);
  *
  *    // Stream callback delivers our new SilcStream context
- *    void stream_create_cb(SilcSocketStreamStatus status, SilcStream stream,
+ *    void stream_create_cb(SilcResult status, SilcStream stream,
  *                          void *context)
  *    {
  *      ...
- *      if (status != SILC_SOCKET_OK)
+ *      if (status != SILC_OK)
  *        error(status);
  *
  *      // Start key exchange