projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updates. New data types.
[silc.git]
/
lib
/
silcclient
/
client_channel.c
diff --git
a/lib/silcclient/client_channel.c
b/lib/silcclient/client_channel.c
index 186b1e452d115736413eb91e517516e28faf4dad..408f3fc9871635de4704fe33661a8965060a7de8 100644
(file)
--- a/
lib/silcclient/client_channel.c
+++ b/
lib/silcclient/client_channel.c
@@
-38,7
+38,7
@@
void silc_client_send_channel_message(SilcClient client,
SilcChannelPrivateKey key,
SilcMessageFlags flags,
unsigned char *data,
SilcChannelPrivateKey key,
SilcMessageFlags flags,
unsigned char *data,
- u
nsigned int
data_len,
+ u
int32
data_len,
int force_send)
{
int i;
int force_send)
{
int i;
@@
-48,7
+48,7
@@
void silc_client_send_channel_message(SilcClient client,
SilcCipher cipher;
SilcHmac hmac;
unsigned char *id_string;
SilcCipher cipher;
SilcHmac hmac;
unsigned char *id_string;
- u
nsigned int
iv_len;
+ u
int32
iv_len;
SILC_LOG_DEBUG(("Sending packet to channel"));
SILC_LOG_DEBUG(("Sending packet to channel"));
@@
-252,7
+252,7
@@
void silc_client_save_channel_key(SilcClientConnection conn,
SilcChannelEntry channel)
{
unsigned char *id_string, *key, *cipher, hash[32];
SilcChannelEntry channel)
{
unsigned char *id_string, *key, *cipher, hash[32];
- u
nsigned int
tmp_len;
+ u
int32
tmp_len;
SilcChannelID *id;
SilcIDCacheEntry id_cache = NULL;
SilcChannelKeyPayload payload;
SilcChannelID *id;
SilcIDCacheEntry id_cache = NULL;
SilcChannelKeyPayload payload;
@@
-362,7
+362,7
@@
int silc_client_add_channel_private_key(SilcClient client,
char *cipher,
char *hmac,
unsigned char *key,
char *cipher,
char *hmac,
unsigned char *key,
- u
nsigned int
key_len)
+ u
int32
key_len)
{
SilcChannelPrivateKey entry;
unsigned char hash[32];
{
SilcChannelPrivateKey entry;
unsigned char hash[32];
@@
-516,10
+516,10
@@
SilcChannelPrivateKey *
silc_client_list_channel_private_keys(SilcClient client,
SilcClientConnection conn,
SilcChannelEntry channel,
silc_client_list_channel_private_keys(SilcClient client,
SilcClientConnection conn,
SilcChannelEntry channel,
- u
nsigned int
*key_count)
+ u
int32
*key_count)
{
SilcChannelPrivateKey *keys = NULL, entry;
{
SilcChannelPrivateKey *keys = NULL, entry;
- u
nsigned int
count = 0;
+ u
int32
count = 0;
if (!channel->private_keys)
return NULL;
if (!channel->private_keys)
return NULL;
@@
-540,7
+540,7
@@
silc_client_list_channel_private_keys(SilcClient client,
/* Frees the SilcChannelPrivateKey array. */
void silc_client_free_channel_private_keys(SilcChannelPrivateKey *keys,
/* Frees the SilcChannelPrivateKey array. */
void silc_client_free_channel_private_keys(SilcChannelPrivateKey *keys,
- u
nsigned int
key_count)
+ u
int32
key_count)
{
silc_free(keys);
}
{
silc_free(keys);
}