X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilcd%2Fserver_util.h;h=e072df4473a358f298ec8a66fac0151e32660c11;hb=bbc2071bac65ded8d5bc07831d768de254c55842;hp=c18b9c2061c020358a60eb500a4035d7f4e716be;hpb=1a0a520cc5149e30ab60fbd8d43892436e9c75cd;p=silc.git diff --git a/apps/silcd/server_util.h b/apps/silcd/server_util.h index c18b9c20..e072df44 100644 --- a/apps/silcd/server_util.h +++ b/apps/silcd/server_util.h @@ -195,4 +195,12 @@ 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); + #endif /* SERVER_UTIL_H */