Merged from silc_1_0_branch.
[silc.git] / apps / irssi / src / fe-common / silc / fe-common-silc.c
1 /*
2
3   fe-common-silc.c
4
5   Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
6
7   Copyright (C) 2001 Pekka Riikonen
8
9   This program is free software; you can redistribute it and/or modify
10   it under the terms of the GNU General Public License as published by
11   the Free Software Foundation; either version 2 of the License, or
12   (at your option) any later version.
13   
14   This program is distributed in the hope that it will be useful,
15   but WITHOUT ANY WARRANTY; without even the implied warranty of
16   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17   GNU General Public License for more details.
18
19 */
20
21 #include "module.h"
22 #include "module-formats.h"
23 #include "modules.h"
24 #include "signals.h"
25 #include "themes.h"
26
27 void fe_silc_channels_init(void);
28 void fe_silc_channels_deinit(void);
29
30 void fe_silc_modules_init(void);
31 void fe_silc_modules_deinit(void);
32
33 void fe_silc_messages_init(void);
34 void fe_silc_messages_deinit(void);
35
36 void fe_silc_init(void)
37 {
38   theme_register(fecommon_silc_formats);
39
40   fe_silc_channels_init();
41   fe_silc_modules_init();
42   fe_silc_messages_init();
43
44   module_register("silc", "fe");
45 }
46
47 void fe_silc_deinit(void)
48 {
49   fe_silc_messages_deinit();
50   fe_silc_modules_deinit();
51   fe_silc_channels_deinit();
52
53   theme_unregister();
54 }