void empathy_server_sasl_handler_cancel (EmpathyServerSASLHandler *handler) { EmpathyServerSASLHandlerPriv *priv; g_return_if_fail (EMPATHY_IS_SERVER_SASL_HANDLER (handler)); priv = handler->priv; DEBUG ("Cancelling SASL mechanism..."); tp_cli_channel_interface_sasl_authentication_call_abort_sasl ( priv->channel, -1, TP_SASL_ABORT_REASON_USER_ABORT, "User cancelled the authentication", NULL, NULL, NULL, NULL); }
void hev_impathy_server_sasl_handler_cancel( HevImpathyServerSASLHandler *self) { HevImpathyServerSASLHandlerPrivate * priv = NULL; g_debug("%s:%d[%s]", __FILE__, __LINE__, __FUNCTION__); g_return_if_fail(HEV_IS_IMPATHY_SERVER_SASL_HANDLER(self)); priv = HEV_IMPATHY_SERVER_SASL_HANDLER_GET_PRIVATE(self); tp_cli_channel_interface_sasl_authentication_call_abort_sasl( priv->channel, -1, TP_SASL_ABORT_REASON_USER_ABORT, "User cancelled the authentication", NULL, NULL, NULL, NULL); }