Merged silc_1_0_branch to trunk.
[silc.git] / apps / silcd / server_util.h
index 413bdeb97284c108dec09cb9f6a5b5052b5cd88c..1c9c5ee09a5291a1f6e2e8b72115a35bf7e6a294 100644 (file)
@@ -4,7 +4,7 @@
 
   Author: Pekka Riikonen <priikone@silcnet.org>
 
-  Copyright (C) 1997 - 2003 Pekka Riikonen
+  Copyright (C) 1997 - 2005 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
@@ -94,14 +94,6 @@ bool silc_server_client_on_channel(SilcClientEntry client,
                                   SilcChannelEntry channel,
                                   SilcChannelClientEntry *chl);
 
-/* Checks string for bad characters and returns TRUE if they are found. */
-bool silc_server_name_bad_chars(const char *name, SilcUInt32 name_len);
-bool silc_server_name_bad_chchars(const char *name, SilcUInt32 name_len);
-
-/* Modifies the `nick' if it includes bad characters and returns new
-   allocated nickname that does not include bad characters. */
-char *silc_server_name_modify_bad(const char *name, SilcUInt32 name_len);
-
 /* Find number of sockets by IP address indicated by `ip'. Returns 0 if
    socket connections with the IP address does not exist. */
 SilcUInt32 silc_server_num_sockets_by_ip(SilcServer server, const char *ip,
@@ -202,7 +194,7 @@ bool silc_server_inviteban_match(SilcServer server, SilcHashTable list,
                                 SilcUInt8 type, void *check);
 
 /* Process invite or ban information */
-void silc_server_inviteban_process(SilcServer server, SilcHashTable list,
+bool silc_server_inviteban_process(SilcServer server, SilcHashTable list,
                                   SilcUInt8 action, SilcArgumentPayload args);
 
 /* Destructor for invite or ban list entrys */