addition of silc.css
[silc.git] / apps / irssi / src / silc / core / silc-queries.c
1 /*
2  silc-queries.c : irssi
3
4     Copyright (C) 2000 Timo Sirainen
5
6     This program is free software; you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by
8     the Free Software Foundation; either version 2 of the License, or
9     (at your option) any later version.
10
11     This program is distributed in the hope that it will be useful,
12     but WITHOUT ANY WARRANTY; without even the implied warranty of
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14     GNU General Public License for more details.
15
16     You should have received a copy of the GNU General Public License
17     along with this program; if not, write to the Free Software
18     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19 */
20
21 #include "module.h"
22 #include "signals.h"
23 #include "misc.h"
24
25 #include "silc-queries.h"
26
27 QUERY_REC *silc_query_create(const char *server_tag,
28                              const char *nick, int automatic)
29 {
30   QUERY_REC *rec;
31
32   g_return_val_if_fail(nick != NULL, NULL);
33
34   rec = g_new0(QUERY_REC, 1);
35   rec->chat_type = SILC_PROTOCOL;
36   rec->name = g_strdup(nick);
37   rec->server_tag = g_strdup(server_tag);
38   query_init(rec, automatic);
39   return rec;
40 }
41
42 void silc_queries_init(void)
43 {
44 }
45
46 void silc_queries_deinit(void)
47 {
48 }