X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fsorter%2Fconfig.c;h=8708f7e457eb1df0669c6bdba8d411e3bca9032c;hb=5f2e7e93768113f1e80ac2502e670632762fb696;hp=60dca3dae6507923b10b57dfb29f2c04af84142c;hpb=ae3892dc4f3c3a759315969e2ab5156f034707b2;p=libucw.git diff --git a/lib/sorter/config.c b/lib/sorter/config.c index 60dca3da..8708f7e4 100644 --- a/lib/sorter/config.c +++ b/lib/sorter/config.c @@ -13,18 +13,20 @@ #include "lib/sorter/common.h" uns sorter_trace; -uns sorter_presort_bufsize = 65536; +uns sorter_presort_bufsize = 65536; /* FIXME: kill after removing the old sorter */ uns sorter_stream_bufsize = 65536; u64 sorter_bufsize = 65536; uns sorter_debug; uns sorter_min_radix_bits; uns sorter_max_radix_bits; +struct fb_params sorter_fb_params; static struct cf_section sorter_config = { CF_ITEMS { CF_UNS("Trace", &sorter_trace), CF_UNS("PresortBuffer", &sorter_presort_bufsize), CF_UNS("StreamBuffer", &sorter_stream_bufsize), + CF_SECTION("FileAccess", &sorter_fb_params, &fbpar_cf), CF_U64("SortBuffer", &sorter_bufsize), CF_UNS("Debug", &sorter_debug), CF_UNS("MinRadixBits", &sorter_min_radix_bits),