2 * UCW Library -- Universal Sorter: Configuration
4 * (c) 2007 Martin Mares <mj@ucw.cz>
6 * This software may be freely distributed and used according to the terms
7 * of the GNU Lesser General Public License.
12 #include "lib/fastbuf.h"
13 #include "lib/sorter/common.h"
16 uns sorter_presort_bufsize = 65536;
17 uns sorter_stream_bufsize = 65536;
18 u64 sorter_bufsize = 65536;
21 static struct cf_section sorter_config = {
23 CF_UNS("Trace", &sorter_trace),
24 CF_UNS("PresortBuffer", &sorter_presort_bufsize),
25 CF_UNS("StreamBuffer", &sorter_stream_bufsize),
26 CF_U64("SortBuffer", &sorter_bufsize),
27 CF_UNS("Debug", &sorter_debug),
32 static void CONSTRUCTOR sorter_init_config(void)
34 cf_declare_section("Sorter", &sorter_config, 0);