diff options
author | Timo Sirainen <cras@irssi.org> | 2000-10-03 19:10:24 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-10-03 19:10:24 +0000 |
commit | 391a419a1fce87ea4fef199390e23cbf0dbee589 (patch) | |
tree | 4c5d7bfd3c10e3616bba6fba7b2d0d8e62bb8412 /src/perl/common/Settings.xs | |
parent | 6fc2a3412178385f241efa4c16d7e8b10d392042 (diff) | |
download | irssi-391a419a1fce87ea4fef199390e23cbf0dbee589.zip |
s/core/common/ - because make clean tried to delete it :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@715 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/common/Settings.xs')
-rw-r--r-- | src/perl/common/Settings.xs | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/perl/common/Settings.xs b/src/perl/common/Settings.xs new file mode 100644 index 00000000..6f5c0915 --- /dev/null +++ b/src/perl/common/Settings.xs @@ -0,0 +1,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 |