Merged from silc_1_0_branch.
[silc.git] / apps / irssi / src / silc / core / client_ops.h
index 9fbf84bcaff5bcb1397676ccd1f2fbfa933df88b..8c3f7630e0d5d6236496b7c196fa561c8c56e7dc 100644 (file)
@@ -27,11 +27,13 @@ void silc_say_error(char *msg, ...);
 void silc_channel_message(SilcClient client, SilcClientConnection conn,
                          SilcClientEntry sender, 
                          SilcChannelEntry channel, 
+                         SilcMessagePayload payload,
                          SilcMessageFlags flags, 
                          const unsigned char *message,
                          SilcUInt32 message_len);
 void silc_private_message(SilcClient client, SilcClientConnection conn,
                          SilcClientEntry sender, 
+                         SilcMessagePayload payload,
                          SilcMessageFlags flags, 
                          const unsigned char *message,
                          SilcUInt32 message_len);
@@ -58,10 +60,10 @@ void silc_get_auth_method(SilcClient client, SilcClientConnection conn,
                          SilcGetAuthMeth completion, void *context);
 void silc_failure(SilcClient client, SilcClientConnection conn, 
                  SilcProtocol protocol, void *failure);
-int silc_key_agreement(SilcClient client, SilcClientConnection conn,
-                      SilcClientEntry client_entry, const char *hostname,
-                      SilcUInt16 port, SilcKeyAgreementCallback *completion,
-                      void **context);
+bool silc_key_agreement(SilcClient client, SilcClientConnection conn,
+                       SilcClientEntry client_entry, const char *hostname,
+                       SilcUInt16 port, SilcKeyAgreementCallback *completion,
+                       void **context);
 void silc_ftp(SilcClient client, SilcClientConnection conn,
              SilcClientEntry client_entry, SilcUInt32 session_id,
              const char *hostname, SilcUInt16 port);