diff options
author | Timo Sirainen <cras@irssi.org> | 2001-12-11 00:07:18 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-12-11 00:07:18 +0000 |
commit | d08830f9cb8a387cfebc769c004803369356736e (patch) | |
tree | 48ea6dfb96f9ff71e5a6e6058bc1f93bde9c8434 /src/perl | |
parent | 020861c698967b156c52473a91b2f61d2e965ee1 (diff) | |
download | irssi-d08830f9cb8a387cfebc769c004803369356736e.zip |
Added Irssi::settings_add_...(), patch by peder@ifi.uio.no
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2235 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl')
-rw-r--r-- | src/perl/common/Settings.xs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/perl/common/Settings.xs b/src/perl/common/Settings.xs index 8d72a18e..a7c5e6f6 100644 --- a/src/perl/common/Settings.xs +++ b/src/perl/common/Settings.xs @@ -85,6 +85,21 @@ settings_get_bool(key) char *key void +settings_set_str(key, value) + char *key + char *value + +void +settings_set_int(key, value) + char *key + int value + +void +settings_set_bool(key, value) + char *key + int value + +void settings_add_str(section, key, def) char *section char *key |