Code auditing weekend results and fixes committing.
[silc.git] / apps / silcd / packet_send.h
index 793605475e275806fde65655bbaf075ad69c439d..17b4a64daae751f0b81684a9a87cc60d7815d938 100644 (file)
@@ -4,7 +4,7 @@
 
   Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
 
-  Copyright (C) 1997 - 2000 Pekka Riikonen
+  Copyright (C) 1997 - 2001 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
@@ -42,14 +42,14 @@ void silc_server_packet_send_dest(SilcServer server,
                                  unsigned char *data, 
                                  unsigned int data_len,
                                  int force_send);
-void silc_server_packet_forward(SilcServer server,
-                               SilcSocketConnection sock,
-                               unsigned char *data, unsigned int data_len,
-                               int force_send);
 void silc_server_packet_broadcast(SilcServer server,
                                  SilcSocketConnection sock,
                                  SilcPacketContext *packet);
+void silc_server_packet_route(SilcServer server,
+                             SilcSocketConnection sock,
+                             SilcPacketContext *packet);
 void silc_server_packet_send_to_channel(SilcServer server,
+                                       SilcSocketConnection sender,
                                        SilcChannelEntry channel,
                                        SilcPacketType type,
                                        unsigned char route,
@@ -92,6 +92,7 @@ void silc_server_send_notify_dest(SilcServer server,
                                  SilcNotifyType type,
                                  unsigned int argc, ...);
 void silc_server_send_notify_to_channel(SilcServer server,
+                                       SilcSocketConnection sender,
                                        SilcChannelEntry channel,
                                        unsigned char route_notify,
                                        SilcNotifyType type,
@@ -130,11 +131,22 @@ void silc_server_send_new_channel_user(SilcServer server,
                                       void *client_id,
                                       unsigned int client_id_len);
 void silc_server_send_channel_key(SilcServer server,
+                                 SilcSocketConnection sender,
                                  SilcChannelEntry channel,
                                  unsigned char route);
 void silc_server_send_command(SilcServer server, 
                              SilcSocketConnection sock,
                              SilcCommand command, 
                              unsigned int argc, ...);
+void silc_server_send_remove_id(SilcServer server,
+                               SilcSocketConnection sock,
+                               int broadcast,
+                               void *id, unsigned int id_len,
+                               SilcIdType id_type);
+void silc_server_send_set_mode(SilcServer server,
+                              SilcSocketConnection sock,
+                              int broadcast,
+                              int mode_type, unsigned int mode_mask,
+                              unsigned int argc, ...);
 
 #endif