X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcclient%2Fsilcapi.h;h=5bcf556d9171cf49a8622784c6e1e4890d631b99;hb=d0d5587d9aa92c4c402eab683e61c8076037cc6a;hp=11851aff98a354b3aa275f0e2a7fb2da8f78c7c9;hpb=5e9cca5db4342c3aaa741b26b4d1b0f644bb506c;p=silc.git diff --git a/lib/silcclient/silcapi.h b/lib/silcclient/silcapi.h index 11851aff..5bcf556d 100644 --- a/lib/silcclient/silcapi.h +++ b/lib/silcclient/silcapi.h @@ -670,9 +670,9 @@ void silc_client_del_socket(SilcClient client, SilcSocketConnection sock); * * SYNOPSIS * - * int silc_client_start_key_exchange(SilcClient client, - * SilcClientConnection conn, - * int fd); + * void silc_client_start_key_exchange(SilcClient client, + * SilcClientConnection conn, + * int fd); * * DESCRIPTION * @@ -685,7 +685,7 @@ void silc_client_del_socket(SilcClient client, SilcSocketConnection sock); * if the key exchange could not be started. * ***/ -bool silc_client_start_key_exchange(SilcClient client, +void silc_client_start_key_exchange(SilcClient client, SilcClientConnection conn, int fd); @@ -1227,23 +1227,6 @@ void silc_client_command_send(SilcClient client, SilcClientConnection conn, SilcCommand command, uint16 ident, uint32 argc, ...); -/****f* silcclient/SilcClientAPI/SilcClientPendingDestructor - * - * SYNOPSIS - * - * typedef void (*SilcClientPendingDestructor)(void *context); - * - * DESCRIPTION - * - * Pending Command callback destructor. This is called after calling the - * pending callback or if error occurs while processing the pending command. - * If error occurs then the callback won't be called at all, and only this - * destructor is called. The `context' is the context given for the function - * silc_client_command_pending. - * - ***/ -typedef void (*SilcClientPendingDestructor)(void *context); - /****f* silcclient/SilcClientAPI/silc_client_command_pending * * SYNOPSIS @@ -1251,7 +1234,6 @@ typedef void (*SilcClientPendingDestructor)(void *context); * void silc_client_command_pending(SilcClientConnection conn, * SilcCommand reply_cmd, * uint16 ident, - * SilcClientPendingDestructor destructor, * SilcCommandCb callback, * void *context); * @@ -1271,7 +1253,6 @@ typedef void (*SilcClientPendingDestructor)(void *context); void silc_client_command_pending(SilcClientConnection conn, SilcCommand reply_cmd, uint16 ident, - SilcClientPendingDestructor destructor, SilcCommandCb callback, void *context);