Merged from silc_1_0_branch (second merge).
[silc.git] / apps / silcd / server_util.h
index c18b9c2061c020358a60eb500a4035d7f4e716be..489abf8781633deda10323812360d2bf4b199866 100644 (file)
@@ -195,4 +195,19 @@ 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);
+
+/* Creates connections accoring to configuration. */
+void silc_server_create_connections(SilcServer server);
+
 #endif /* SERVER_UTIL_H */