X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcclient%2Fclient_ops_example.c;h=32debf66de2333e99cb8bf4050d73add3690725b;hb=15b445f8a277f5884e0b8d2f920b8687e71fc5bc;hp=d7d922351a335562003f7d043bbfdeb201bae07c;hpb=6598e3df6635ec0e44caec364bc4f3bd58d2728f;p=silc.git diff --git a/lib/silcclient/client_ops_example.c b/lib/silcclient/client_ops_example.c index d7d92235..32debf66 100644 --- a/lib/silcclient/client_ops_example.c +++ b/lib/silcclient/client_ops_example.c @@ -124,10 +124,14 @@ silc_connect(SilcClient client, SilcClientConnection conn, } -/* Called to indicate that connection was disconnected to the server. */ +/* Called to indicate that connection was disconnected to the server. + The `status' may tell the reason of the disconnection, and if the + `message' is non-NULL it may include the disconnection message + received from server. */ static void -silc_disconnect(SilcClient client, SilcClientConnection conn) +silc_disconnect(SilcClient client, SilcClientConnection conn, + SilcStatus status, const char *message) { }