X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilcd%2Fserver_util.h;h=6b421f238d0e86b3f1c8a9f477981a62b4c99eb3;hb=da3a876c26b6d697ee6446ad81a8edfff1828cab;hp=5a531037f7e6dfddba77861227531daee756e702;hpb=346885ee9466a6f1d5ecc99a5401aa3043acf7c0;p=silc.git diff --git a/apps/silcd/server_util.h b/apps/silcd/server_util.h index 5a531037..6b421f23 100644 --- a/apps/silcd/server_util.h +++ b/apps/silcd/server_util.h @@ -149,4 +149,17 @@ void silc_server_kill_client(SilcServer server, void *killer_id, SilcIdType killer_id_type); +/* This function checks whether the `client' nickname is being watched + by someone, and notifies the watcher of the notify change of notify + type indicated by `notify'. */ +bool silc_server_check_watcher_list(SilcServer server, + SilcClientEntry client, + const char *new_nick, + SilcNotifyType notify); + +/* Remove the `client' from watcher list. After calling this the `client' + is not watching any nicknames. */ +bool silc_server_del_from_watcher_list(SilcServer server, + SilcClientEntry client); + #endif /* SERVER_UTIL_H */