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.
11 #include "lib/conf2.h"
12 #include "lib/fastbuf.h"
15 #include <sys/fcntl.h>
17 #define SORT_DECLARE_ONLY
18 #include "lib/sorter.h"
21 uns sorter_presort_bufsize = 65536;
22 uns sorter_stream_bufsize = 65536;
24 static struct cf_section sorter_config = {
26 CF_UNS("Trace", &sorter_trace),
27 CF_UNS("PresortBuffer", &sorter_presort_bufsize),
28 CF_UNS("StreamBuffer", &sorter_stream_bufsize),
33 static void CONSTRUCTOR sorter_init_config(void)
35 cf_declare_section("Sorter", &sorter_config, 0);
38 uns sorter_pass_counter;