X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcclient%2Fclient_internal.h;h=294e003a165ce76048daabc25a3fd4920fc76ec5;hb=a818c5b5411bbc4436d1c5f011236985c96bb787;hp=f796cb108958ea1ca1395199d6e75f112d87b6cb;hpb=6394d86063413bc1c473723f3ef971840195bcd3;p=silc.git diff --git a/lib/silcclient/client_internal.h b/lib/silcclient/client_internal.h index f796cb10..294e003a 100644 --- a/lib/silcclient/client_internal.h +++ b/lib/silcclient/client_internal.h @@ -61,14 +61,14 @@ struct SilcClientInternalStruct { /* Table of connections in client. All the connection data is saved here. */ SilcClientConnection *conns; - uint32 conns_count; + SilcUInt32 conns_count; /* Table of listenning sockets in client. Client can have listeners (like key agreement protocol server) and those sockets are saved here. This table is checked always if the connection object cannot be found from the `conns' table. */ SilcSocketConnection *sockets; - uint32 sockets_count; + SilcUInt32 sockets_count; /* Registered commands */ SilcList commands; @@ -109,7 +109,7 @@ do { \ SILC_TASK_WRITE)); \ } while(0) -/* Finds socket connection object by file descriptor */ \ +/* Finds socket connection object by file descriptor */ #define SILC_CLIENT_GET_SOCK(__x, __fd, __sock) \ do { \ int __i; \ @@ -153,7 +153,7 @@ void silc_client_packet_send(SilcClient client, SilcCipher cipher, SilcHmac hmac, unsigned char *data, - uint32 data_len, + SilcUInt32 data_len, int force_send); void silc_client_disconnected_by_server(SilcClient client, SilcSocketConnection sock, @@ -164,12 +164,8 @@ void silc_client_error_by_server(SilcClient client, void silc_client_receive_new_id(SilcClient client, SilcSocketConnection sock, SilcIDPayload idp); -SilcChannelEntry silc_client_new_channel_id(SilcClient client, - SilcSocketConnection sock, - char *channel_name, - uint32 mode, - SilcIDPayload idp); -void silc_client_save_channel_key(SilcClientConnection conn, +void silc_client_save_channel_key(SilcClient client, + SilcClientConnection conn, SilcBuffer key_payload, SilcChannelEntry channel); void silc_client_receive_channel_key(SilcClient client,