diff options
-rw-r--r-- | lib/torture/torture.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/torture/torture.c b/lib/torture/torture.c index 392cb0ad4c..672726ebf2 100644 --- a/lib/torture/torture.c +++ b/lib/torture/torture.c @@ -425,6 +425,14 @@ int torture_setting_int(struct torture_context *test, const char *name, return lp_parm_int(test->lp_ctx, NULL, "torture", name, default_value); } +unsigned long torture_setting_ulong(struct torture_context *test, + const char *name, + unsigned long default_value) +{ + return lp_parm_ulong(test->lp_ctx, NULL, "torture", name, + default_value); +} + double torture_setting_double(struct torture_context *test, const char *name, double default_value) { |