diff options
Diffstat (limited to 'src/perl/common/Settings.xs')
-rw-r--r-- | src/perl/common/Settings.xs | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/perl/common/Settings.xs b/src/perl/common/Settings.xs index a7c5e6f6..f545befd 100644 --- a/src/perl/common/Settings.xs +++ b/src/perl/common/Settings.xs @@ -99,6 +99,21 @@ settings_set_bool(key, value) char *key int value +int +settings_set_time(key, value) + char *key + char *value + +int +settings_set_level(key, value) + char *key + char *value + +int +settings_set_size(key, value) + char *key + char *value + void settings_add_str(section, key, def) char *section @@ -127,6 +142,33 @@ CODE: settings_add_bool_module(MODULE_NAME"/scripts", section, key, def); void +settings_add_time(section, key, def) + char *section + char *key + char *def +CODE: + perl_settings_add(key); + settings_add_time_module(MODULE_NAME"/scripts", section, key, def); + +void +settings_add_level(section, key, def) + char *section + char *key + char *def +CODE: + perl_settings_add(key); + settings_add_level_module(MODULE_NAME"/scripts", section, key, def); + +void +settings_add_size(section, key, def) + char *section + char *key + char *def +CODE: + perl_settings_add(key); + settings_add_size_module(MODULE_NAME"/scripts", section, key, def); + +void settings_remove(key) char *key CODE: |