summaryrefslogtreecommitdiff
path: root/src/perl/xs/Irssi-settings.xs
blob: 6f5c0915f7ea0f0f9bdd47d3c7c36ab9a72f75f9 (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
34
35
36
37
38
39
MODULE = Irssi  PACKAGE = Irssi

char *
settings_get_str(key)
	char *key
CODE:
	RETVAL = (char *) settings_get_str(key);
OUTPUT:
	RETVAL

int
settings_get_int(key)
	char *key

int
settings_get_bool(key)
	char *key

void
settings_add_str(section, key, def)
	char *section
	char *key
	char *def

void
settings_add_int(section, key, def)
	char *section
	char *key
	int def

void
settings_add_bool(section, key, def)
	char *section
	char *key
	int def

void
settings_remove(key)
	char *key