|
|
1.1 root 1: /*
2: * Screen builder header.
3: */
4: #ifndef SCN
5: #define SCN
6:
7: typedef struct scn scn;
8: typedef struct backGrnd backGrnd;
9: typedef struct loc loc;
10:
11: struct backGrnd {
12: char *data; /* data to display */
13: unsigned char row;
14: unsigned char loc;
15: };
16:
17: /* loc flags */
18: #define LONGFIELD 1
19: #define READONLY 2
20:
21: struct loc {
22: char *field; /* field to fill or
23: * pointer to pointer for LONGFIELD */
24: unsigned len; /* field length */
25: int (*verify)(); /* verify function or null */
26: unsigned char flags;
27: unsigned char row; /* location of field on window. */
28: unsigned char col;
29: unsigned char skipf; /* skip factor */
30: char *help; /* help message or null */
31: };
32: #endif
33:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.