X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilcd%2Fserver_util.h;fp=apps%2Fsilcd%2Fserver_util.h;h=5a531037f7e6dfddba77861227531daee756e702;hb=275e2f50c1cbe4a0eec582cf490ef485049541af;hp=1545c1fd72053cdc88080114a4fa76326ec02340;hpb=7039cf461d3d2951acc2f3e123ccc1d68a55931d;p=silc.git diff --git a/apps/silcd/server_util.h b/apps/silcd/server_util.h index 1545c1fd..5a531037 100644 --- a/apps/silcd/server_util.h +++ b/apps/silcd/server_util.h @@ -134,4 +134,19 @@ bool silc_server_check_umode_rights(SilcServer server, SilcClientEntry client, SilcUInt32 mode); +/* This function is used to send the notify packets and motd to the + incoming client connection. */ +void silc_server_send_connect_notifys(SilcServer server, + SilcSocketConnection sock, + SilcClientEntry client); + +/* Kill the client indicated by `remote_client' sending KILLED notify + to the client, to all channels client has joined and to primary + router if needed. The killed client is also removed from all channels. */ +void silc_server_kill_client(SilcServer server, + SilcClientEntry remote_client, + const char *comment, + void *killer_id, + SilcIdType killer_id_type); + #endif /* SERVER_UTIL_H */