X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcclient%2Fclient_ops_example.c;h=4fe166a873b54004f30519bb3ffd58b1dfd550ce;hb=c257b555225193e54d85daf541d29578b3c93882;hp=c94692da3574ac644ee80aa42b5a21f797c17351;hpb=8f2750e8328ba881341f355dc8636d600c9d1797;p=silc.git diff --git a/lib/silcclient/client_ops_example.c b/lib/silcclient/client_ops_example.c index c94692da..4fe166a8 100644 --- a/lib/silcclient/client_ops_example.c +++ b/lib/silcclient/client_ops_example.c @@ -31,6 +31,7 @@ silc_say(SilcClient client, SilcClientConnection conn, static void silc_channel_message(SilcClient client, SilcClientConnection conn, SilcClientEntry sender, SilcChannelEntry channel, + SilcMessagePayload payload, SilcChannelPrivateKey key, SilcMessageFlags flags, const unsigned char *message, SilcUInt32 message_len) { @@ -39,15 +40,15 @@ silc_channel_message(SilcClient client, SilcClientConnection conn, /* Private message to the client. The `sender' is the sender of the - message. The message is `message'and maybe NULL. The `flags' + message. The message is `message'and maybe NULL. The `flags' indicates message flags and it is used to determine how the message can be interpreted (like it may tell the message is multimedia message). */ static void silc_private_message(SilcClient client, SilcClientConnection conn, - SilcClientEntry sender, SilcMessageFlags flags, - const unsigned char *message, + SilcClientEntry sender, SilcMessagePayload payload, + SilcMessageFlags flags, const unsigned char *message, SilcUInt32 message_len) {