#ifndef h_sortstack #define h_sortstack /****************************************************************************** * * UniVerse/QUERY sort processor stack data structure definitions * * Module %M% Version %I% Date %H% * * (c) Copyright 1998 Ardent Software Inc. - All Rights Reserved * This is unpublished proprietary source code of Ardent Software Inc. * The copyright notice above does not evidence any actual or intented * publication of such source code. * ******************************************************************************* * * Maintenence log - insert most recent change descriptions at top * * Date.... GTAR# WHO Description......................................... * 10/14/98 23801 SAP Change copyrights. * 07/15/94 14459 JWT Improve qsorter performance by changing sort * algorithm * 11/25/92 10646 ENF Add Qcomptype for numeric sort capability * 02/19/91 7699 JSM Added SELFILE pointer selstk for qsorter * 11/15/90 7742 DPB Added code and structures to make qsorter reentrant. * *****************************************************************************/ #define SRTSTK struct sort_stack struct sort_stack { int *Qjust, *Qdir, *Qcomptype, *ldepth, *msource, *qsave_heapsizes, selcnt, uniopt, srtkey, nextmf, nexttf, stilldata, nextmd, stripkey, mrglen, csptr, eqflg, curheapsize, qsave_heapcnt, nextfetchbuf, moutf; uint slen, *sllen, *mlength; char **slist, *lm0str, **mtext, **fetchbufs, *minfetchbuf, *maxfetchbuf; char (*fnames)[128]; char (*lnames)[128]; STRING *curheap; STRING **qsave_heaps; FILE **minf; SELFILE *selstk; }; #endif /* end of sortstack.h */