bool -> SilcBool.
[silc.git] / lib / silcclient / client_internal.h
index 4155d61ed93e77a40f49d779d8f81329e2a96bb8..f676873e85289d290229c7e2296d34447b2b44c8 100644 (file)
@@ -4,7 +4,7 @@
 
   Author: Pekka Riikonen <priikone@silcnet.org>
 
-  Copyright (C) 1997 - 2001, 2003 Pekka Riikonen
+  Copyright (C) 1997 - 2004 Pekka Riikonen
 
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -36,7 +36,7 @@ typedef struct {
   unsigned char *send_enc_key;
   SilcUInt32 enc_key_len;
   int ske_group;
-  bool pfs;
+  SilcBool pfs;
   SilcUInt32 timeout;
   void *context;
 } *SilcClientRekey;
@@ -152,7 +152,7 @@ struct SilcClientConnectionInternalStruct {
 /* Session resuming callback */
 typedef void (*SilcClientResumeSessionCallback)(SilcClient client,
                                                SilcClientConnection conn,
-                                               bool success,
+                                               SilcBool success,
                                                void *context);
 
 /* Rekey must be performed at the lastest when this many packets is sent */
@@ -221,10 +221,10 @@ void silc_client_packet_send(SilcClient client,
                              SilcHmac hmac,
                              unsigned char *data,
                              SilcUInt32 data_len,
-                             bool force_send);
+                             SilcBool force_send);
 int silc_client_packet_send_real(SilcClient client,
                                 SilcSocketConnection sock,
-                                bool force_send);
+                                SilcBool force_send);
 void silc_client_ftp_free_sessions(SilcClient client,
                                   SilcClientConnection conn);
 void silc_client_ftp_session_free(SilcClientFtpSession session);
@@ -271,6 +271,9 @@ void silc_client_notify_by_server(SilcClient client,
 void silc_client_private_message(SilcClient client,
                                 SilcSocketConnection sock,
                                 SilcPacketContext *packet);
+void silc_client_private_message_key(SilcClient client,
+                                    SilcSocketConnection sock,
+                                    SilcPacketContext *packet);
 void silc_client_connection_auth_request(SilcClient client,
                                         SilcSocketConnection sock,
                                         SilcPacketContext *packet);
@@ -279,7 +282,7 @@ void silc_client_ftp(SilcClient client,
                     SilcPacketContext *packet);
 SilcBuffer silc_client_get_detach_data(SilcClient client,
                                       SilcClientConnection conn);
-bool silc_client_process_detach_data(SilcClient client,
+SilcBool silc_client_process_detach_data(SilcClient client,
                                     SilcClientConnection conn,
                                     unsigned char **old_id,
                                     SilcUInt16 *old_id_len);
@@ -293,5 +296,9 @@ SilcBuffer silc_client_attributes_process(SilcClient client,
 void silc_client_packet_queue_purge(SilcClient client,
                                    SilcSocketConnection sock);
 SILC_TASK_CALLBACK_GLOBAL(silc_client_rekey_callback);
+void
+silc_client_command_reply_whois_save(SilcClientCommandReplyContext cmd,
+                                    SilcStatus status,
+                                    SilcBool notify);
 
 #endif