X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=lib%2Fsilcclient%2Fsilcclient.h;h=d87dff84b92f2054edc34d15498df2fa459195e0;hp=f2bc667ccff0b7d1acf678de235fac05415489c1;hb=382d15d447b7a95390decfa783836ae4fe255b3d;hpb=3cf38201f9ffaad2da53757ed48a5546e1d03636 diff --git a/lib/silcclient/silcclient.h b/lib/silcclient/silcclient.h index f2bc667c..d87dff84 100644 --- a/lib/silcclient/silcclient.h +++ b/lib/silcclient/silcclient.h @@ -538,7 +538,7 @@ typedef struct { (like it may tell the message is multimedia message). */ void (*channel_message)(SilcClient client, SilcClientConnection conn, SilcClientEntry sender, SilcChannelEntry channel, - SilcMessageFlags flags, + SilcMessagePayload payload, SilcMessageFlags flags, const unsigned char *message, SilcUInt32 message_len); @@ -548,7 +548,8 @@ typedef struct { can be interpreted (like it may tell the message is multimedia message). */ void (*private_message)(SilcClient client, SilcClientConnection conn, - SilcClientEntry sender, SilcMessageFlags flags, + SilcClientEntry sender, SilcMessagePayload payload, + SilcMessageFlags flags, const unsigned char *message, SilcUInt32 message_len); @@ -1126,6 +1127,9 @@ void silc_client_close_connection(SilcClient client, * keys are set then the first key (the key that was added first as * private key) is used. * + * If the `flags' includes SILC_MESSAGE_FLAG_SIGNED the message will be + * digitally signed with the SILC key pair. + * ***/ void silc_client_send_channel_message(SilcClient client, SilcClientConnection conn, @@ -1158,6 +1162,9 @@ void silc_client_send_channel_message(SilcClient client, * message. The `data' is the private message. If the `force_send' is * TRUE the packet is sent immediately. * + * If the `flags' includes SILC_MESSAGE_FLAG_SIGNED the message will be + * digitally signed with the SILC key pair. + * ***/ void silc_client_send_private_message(SilcClient client, SilcClientConnection conn,