summaryrefslogtreecommitdiff
path: root/src/perl/common/Irssi.xs
blob: 67d5e96cda6911a2985635918cedb75b10ebc7f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#include "module.h"

static int initialized = FALSE;

MODULE = Irssi  PACKAGE = Irssi

PROTOTYPES: ENABLE

void
init()
CODE:
	if (initialized) return;
	perl_api_version_check("Irssi");
	initialized = TRUE;

        perl_settings_init();

void
deinit()
CODE:
	if (!initialized) return;
        perl_settings_deinit();

BOOT:
        irssi_boot(Channel);
	irssi_boot(Core);
	irssi_boot(Ignore);
	irssi_boot(Log);
	irssi_boot(Masks);
	irssi_boot(Query);
	irssi_boot(Rawlog);
	irssi_boot(Server);
	irssi_boot(Settings);