Support for SILC 1.2 INVITE and BAN commands. Client supports
[silc.git] / apps / silcd / packet_send.h
index 491fc5dba8d4c3b8d18da2731073da3f779212ef..2dac801278ab9638f91c8df138fd1d1c291e9cba 100644 (file)
@@ -60,9 +60,8 @@ void silc_server_packet_route(SilcServer server,
                              SilcSocketConnection sock,
                              SilcPacketContext *packet);
 void silc_server_packet_send_clients(SilcServer server,
-                                    SilcClientEntry *clients,
-                                    SilcUInt32 clients_count,
-                                    SilcPacketType type, 
+                                    SilcHashTable clients,
+                                    SilcPacketType type,
                                     SilcPacketFlags flags,
                                     bool route,
                                     unsigned char *data, 
@@ -150,7 +149,8 @@ void silc_server_send_notify_cumode(SilcServer server,
                                    SilcChannelEntry channel,
                                    SilcUInt32 mode_mask,
                                    void *id, SilcIdType id_type,
-                                   SilcClientID *target);
+                                   SilcClientID *target,
+                                   SilcPublicKey founder_key);
 void silc_server_send_notify_signoff(SilcServer server,
                                     SilcSocketConnection sock,
                                     bool broadcast,
@@ -184,13 +184,15 @@ void silc_server_send_notify_ban(SilcServer server,
                                 SilcSocketConnection sock,
                                 bool broadcast,
                                 SilcChannelEntry channel,
-                                char *add, char *del);
+                                unsigned char *action,
+                                SilcBuffer list);
 void silc_server_send_notify_invite(SilcServer server,
                                    SilcSocketConnection sock,
                                    bool broadcast,
                                    SilcChannelEntry channel,
                                    SilcClientID *client_id,
-                                   char *add, char *del);
+                                   unsigned char *action,
+                                   SilcBuffer list);
 void silc_server_send_notify_watch(SilcServer server,
                                   SilcSocketConnection sock,
                                   SilcClientEntry watcher,
@@ -267,5 +269,17 @@ void silc_server_send_connection_auth_request(SilcServer server,
                                              SilcAuthMethod auth_meth);
 void silc_server_packet_queue_purge(SilcServer server,
                                    SilcSocketConnection sock);
+void silc_server_send_opers(SilcServer server,
+                           SilcPacketType type,
+                           SilcPacketFlags flags,
+                           bool route, bool local,
+                           unsigned char *data, 
+                           SilcUInt32 data_len,
+                           bool force_send);
+void silc_server_send_opers_notify(SilcServer server,
+                                  bool route,
+                                  bool local,
+                                  SilcNotifyType type,
+                                  SilcUInt32 argc, ...);
 
 #endif