Merged from silc_1_0_branch.
[silc.git] / apps / silcd / server_util.h
index c18b9c2061c020358a60eb500a4035d7f4e716be..393f09003e6f558b70cdfefe8be4c5956104e912 100644 (file)
@@ -195,4 +195,16 @@ silc_server_find_socket_by_host(SilcServer server,
                                SilcSocketType type,
                                const char *ip, SilcUInt16 port);
 
+/* This function can be used to match the invite and ban lists. */
+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,
+                                  SilcUInt8 action, SilcArgumentPayload args);
+
+/* Destructor for invite or ban list entrys */
+void silc_server_inviteban_destruct(void *key, void *context,
+                                   void *user_context);
+
 #endif /* SERVER_UTIL_H */