2 * UCW Library -- Universal Sorter
4 * (c) 2001--2002 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-globals.h"
16 #include <sys/fcntl.h>
19 uns sorter_presort_bufsize = 65536;
20 uns sorter_stream_bufsize = 65536;
22 static struct cf_section sorter_config = {
24 CF_UNS("Trace", &sorter_trace),
25 CF_UNS("PresortBuffer", &sorter_presort_bufsize),
26 CF_UNS("StreamBuffer", &sorter_stream_bufsize),
31 static void CONSTRUCTOR sorter_init_config(void)
33 cf_declare_section("Sorter", &sorter_config, 0);
36 uns sorter_pass_counter;