aboutsummaryrefslogtreecommitdiff
path: root/pkg/utilities/nttools/tjoin/tjoin.h
blob: 2e7155b0b0e52bb0bbb3a1ea3d35a5d88f032421 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# TJOIN.H -- Constants and data structures used by tjoin

define	ROWNAME		"row"		# string that indicates row number
					# as join column

# Structure used to hold information about tables

define	LEN_TJSTRUCT	7

define	TJ_TAB		Memi[$1]	# Table descriptor
define	TJ_JNUM		Memi[$1+1]	# Number of join columns
define	TJ_DNUM		Memi[$1+2]	# Number of data columns
define	TJ_JPTR		Memi[$1+3]	# Pointer to array of join columns
define	TJ_DPTR		Memi[$1+4]	# Pointer to array of data colomns

define	TJ_JCOL		Memi[TJ_JPTR($1)+$2-1]
define	TJ_DCOL		Memi[TJ_DPTR($1)+$2-1]

# Structure used to hold tolerance vector

define	LEN_TOLSTRUCT	2

define	TOL_NUM		Memi[$1]	# Number of tolerance values
define	TOL_PTR		Memi[$1+1]	# Pointer to array of tolerance values

define	TOL_VAL		Memd[TOL_PTR($1)+$2-1]