Annotation of coherent/d/usr/lib/scn/scnbld.h, revision 1.1.1.1

1.1       root        1: /*
                      2:  * Header file for building scn files.
                      3:  */
                      4: #ifndef SCNBLD
                      5: #define SCNBLD 1
                      6: 
                      7: #include <misc.h>
                      8: 
                      9: typedef struct backGrnd backGrnd;
                     10: typedef struct loc loc;
                     11: typedef struct clump clump;
                     12: typedef struct pair pair;
                     13: 
                     14: struct pair {
                     15:        int row, col;
                     16: };
                     17: 
                     18: struct clump {
                     19:        clump *next;
                     20:        loc   *from;
                     21:        int times;
                     22:        int count;
                     23: };
                     24: 
                     25: /* loc flags */
                     26: #define EXTERNAL  1    /* don't build field */
                     27: #define READONLY  2    /* readonly field */
                     28: #define LONGFIELD 4    /* malloced field */
                     29:  
                     30: struct loc {
                     31:        loc  *next;             /* next entry in build list */
                     32:        pair  *these;           /* all the rows and cols connected with this */
                     33:        char *field;            /* field to fill or
                     34:                                 * pointer to pointer for LONGFIELD */
                     35:        unsigned  len;          /* field length */
                     36:        char *Default;          /* field default */
                     37:        char *verify;           /* name of verify function */
                     38:        unsigned char flags;
                     39:        unsigned char row;      /* location of field on window. */
                     40:        unsigned char col;
                     41:        unsigned char skipf;    /* skip factor */
                     42:        char *help;             /* help message or null */
                     43: };
                     44: 
                     45: extern clump *clumps;
                     46: extern loc *locs;
                     47: extern FILE *ifp, *ofp, *ohp;
                     48: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.