addition of silc.css
[silc.git] / apps / irssi / src / silc / core / silc-queries.h
1 #ifndef __SILC_QUERIES_H
2 #define __SILC_QUERIES_H
3
4 #include "chat-protocols.h"
5 #include "queries.h"
6 #include "silc-servers.h"
7
8 /* Returns SILC_QUERY_REC if it's SILC query, NULL if it isn't. */
9 #define SILC_QUERY(query) \
10         PROTO_CHECK_CAST(QUERY(query), QUERY_REC, chat_type, "SILC")
11 #define IS_SILC_QUERY(query) \
12         (SILC_QUERY(query) ? TRUE : FALSE)
13 #define silc_query_find(server, name) \
14         query_find(SERVER(server), name)
15
16 QUERY_REC *silc_query_create(const char *server_tag,
17                              const char *nick, int automatic);
18 void silc_queries_init(void);
19 void silc_queries_deinit(void);
20
21 #endif