X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilcd%2Fserver_query.h;fp=apps%2Fsilcd%2Fserver_query.h;h=0000000000000000000000000000000000000000;hb=72c2de619079457f7a68100eb13385275a424a23;hp=a9a0e02c90142549c388e1fbb4fc55b01264e509;hpb=e7b6c157b80152bf9fb9266e6bdd93f9fb0db776;p=runtime.git diff --git a/apps/silcd/server_query.h b/apps/silcd/server_query.h deleted file mode 100644 index a9a0e02c..00000000 --- a/apps/silcd/server_query.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - - server_query.h - - Author: Pekka Riikonen - - Copyright (C) 2002 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 - the Free Software Foundation; version 2 of the License. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - -*/ - -#ifndef SERVER_QUERY_H -#define SERVER_QUERY_H - -/* Processes query as command. The `query' is the command that is - being processed indicated by the `cmd'. The `query' can be one of - the following: SILC_COMMAND_WHOIS, SILC_COMMAND_WHOWAS or - SILC_COMMAND_IDENTIFY. This function handles the reply sending - to the entity who sent this query to us automatically. Returns - TRUE if the query is being processed or FALSE on error. */ -SilcBool silc_server_query_command(SilcServer server, SilcCommand querycmd, - SilcServerCommandContext cmd, - void *old_query); - -/* Find client by the Client ID indicated by the `client_id', and if not - found then query it by using WHOIS command. The client information - is also resolved if the cached information is incomplete or if the - `always_resolve' is set to TRUE. The indication whether requested - client was being resolved is saved into `resolved'. If the client - is not being resolved its entry is returned by this function. NULL - is returned if client is resolved. If the client was resovled the - caller may attach to the query by using silc_server_command_pending - function. The server->cmd_ident includes the query identifier. */ -SilcClientEntry silc_server_query_client(SilcServer server, - const SilcClientID *client_id, - SilcBool always_resolve, - SilcBool *resolved); - -#endif /* SERVER_QUERY_H */