File:  [MW Coherent from dump] / coherent / d / usr / lib / scn / scnbld.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:38 2019 UTC (7 years, 2 months ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

/*
 * Header file for building scn files.
 */
#ifndef SCNBLD
#define SCNBLD 1

#include <misc.h>

typedef struct backGrnd backGrnd;
typedef struct loc loc;
typedef struct clump clump;
typedef struct pair pair;

struct pair {
	int row, col;
};

struct clump {
	clump *next;
	loc   *from;
	int times;
	int count;
};

/* loc flags */
#define EXTERNAL  1	/* don't build field */
#define READONLY  2	/* readonly field */
#define LONGFIELD 4	/* malloced field */
 
struct loc {
	loc  *next;		/* next entry in build list */
	pair  *these;		/* all the rows and cols connected with this */
	char *field;		/* field to fill or
				 * pointer to pointer for LONGFIELD */
	unsigned  len;		/* field length */
	char *Default;		/* field default */
	char *verify;		/* name of verify function */
	unsigned char flags;
	unsigned char row;	/* location of field on window. */
	unsigned char col;
	unsigned char skipf;	/* skip factor */
	char *help;		/* help message or null */
};

extern clump *clumps;
extern loc *locs;
extern FILE *ifp, *ofp, *ohp;
#endif

unix.superglobalmegacorp.com

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