X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Firssi%2Fsrc%2Fsilc%2Fcore%2Fsilc-queries.h;fp=apps%2Firssi%2Fsrc%2Fsilc%2Fcore%2Fsilc-queries.h;h=0000000000000000000000000000000000000000;hb=72c2de619079457f7a68100eb13385275a424a23;hp=76d31be14895a5b7b22c8c00af9d4c69ae56c2da;hpb=e7b6c157b80152bf9fb9266e6bdd93f9fb0db776;p=runtime.git diff --git a/apps/irssi/src/silc/core/silc-queries.h b/apps/irssi/src/silc/core/silc-queries.h deleted file mode 100644 index 76d31be1..00000000 --- a/apps/irssi/src/silc/core/silc-queries.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - - silc-queries.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 SILC_QUERIES_H -#define SILC_QUERIES_H - -#include "chat-protocols.h" -#include "queries.h" -#include "silc-servers.h" - -/* Returns SILC_QUERY_REC if it's SILC query, NULL if it isn't. */ -#define SILC_QUERY(query) \ - PROTO_CHECK_CAST(QUERY(query), QUERY_REC, chat_type, "SILC") -#define IS_SILC_QUERY(query) \ - (SILC_QUERY(query) ? TRUE : FALSE) -#define silc_query_find(server, name) \ - query_find(SERVER(server), name) - -QUERY_REC *silc_query_create(const char *server_tag, - const char *nick, int automatic); -void silc_queries_init(void); -void silc_queries_deinit(void); -void command_attr(const char *data, SILC_SERVER_REC *server, - WI_ITEM_REC *item); -void silc_query_attributes_default(SilcClient client, - SilcClientConnection conn); -void silc_query_attributes_print(SILC_SERVER_REC *server, - SilcClient client, - SilcClientConnection conn, - SilcDList attrs, - SilcClientEntry client_entry); - -#endif /* SILC_QUERIES_H */