Annotation of capa/capa51/pProj/capaRQO.h, revision 1.2

1.2     ! albertel    1: /* broken start on constants/structs for the random question orderer
        !             2:    Copyright (C) 1992-2000 Michigan State University
        !             3: 
        !             4:    The CAPA system is free software; you can redistribute it and/or
        !             5:    modify it under the terms of the GNU Library General Public License as
        !             6:    published by the Free Software Foundation; either version 2 of the
        !             7:    License, or (at your option) any later version.
        !             8: 
        !             9:    The CAPA system is distributed in the hope that it will be useful,
        !            10:    but WITHOUT ANY WARRANTY; without even the implied warranty of
        !            11:    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
        !            12:    Library General Public License for more details.
        !            13: 
        !            14:    You should have received a copy of the GNU Library General Public
        !            15:    License along with the CAPA system; see the file COPYING.  If not,
        !            16:    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
        !            17:    Boston, MA 02111-1307, USA.  */
        !            18: 
1.1       albertel   19: #define ALL_MIX     1
                     20: #define IMMOBILE    2
                     21: #define ALL_FIXED   3
                     22: #define FIRST_FIXED 4
                     23: #define BOTH_FIXED  5
                     24: #define LAST_FIXED  6
                     25: #define SINGLE      7
                     26: #define RANGE       8
                     27: 
                     28: typedef struct _RandGroup {
                     29:   int  type;
                     30:   int *list;
                     31:   int  length;
                     32: } RandGroup_t;
                     33: 
                     34: typedef struct _RandQO {
                     35:   int           num;
                     36:   RandGroup_t **groups;
                     37:   int          *used;
                     38:   int           length;
                     39:   int           lengthg;
                     40: } RandQO_t;
                     41: 
                     42: 
                     43: void rqo_finish();
                     44: void rqo_1spec();
                     45: void rqo_2spec();
                     46: void start_rqo_type(int type);
                     47: void append_rqo(Symbol*s);
                     48: void prefix_rqo(Symbol*s);
                     49: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>