00001 /* 00002 sort.h: 00003 00004 Copyright (C) 1991 Barry Vercoe, John ffitch 00005 00006 This file is part of Csound. 00007 00008 The Csound Library is free software; you can redistribute it 00009 and/or modify it under the terms of the GNU Lesser General Public 00010 License as published by the Free Software Foundation; either 00011 version 2.1 of the License, or (at your option) any later version. 00012 00013 Csound is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 GNU Lesser General Public License for more details. 00017 00018 You should have received a copy of the GNU Lesser General Public 00019 License along with Csound; if not, write to the Free Software 00020 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 00021 02111-1307 USA 00022 */ 00023 00024 #include <stdio.h> /* SORT.H */ 00025 #ifndef MYFLT 00026 #include "sysdep.h" 00027 #endif 00028 #define SP ' ' 00029 #define LF '\n' 00030 00031 typedef struct srtblk { 00032 struct srtblk *nxtblk; 00033 struct srtblk *prvblk; 00034 short insno; 00035 short pcnt; 00036 MYFLT p1val; 00037 MYFLT p2val; 00038 MYFLT p3val; 00039 MYFLT newp2; 00040 MYFLT newp3; 00041 char preced; 00042 char text[9]; 00043 } SRTBLK; 00044