1
/* ----------------------- LDBEXT -------------------------
3
definition of local descriptor block
7
----------------------------------------------------------- */
9
/* size in bytes of different data types */
14
#define II_SIZE (int) sizeof(int)
15
#define JJ_SIZE (int) sizeof(short int)
16
#define RR_SIZE (int) sizeof(float)
17
#define DD_SIZE (int) sizeof(double)
18
#define SS_SIZE (int) sizeof(size_t)
23
#define LDB_SIZE 2048 /* current size of a LDB in bytes */
24
#define LDB_DATA (LDB_SIZE-(2*II_SIZE)) /* data bytes per LDB */
26
#define LDB_NDSCRW (LDB_DATA/II_SIZE)
27
#define LDB_NDSCRW1 (LDB_NDSCRW-1)
35
int IWORD[LDB_NDSCRW];
36
float RWORD[LDB_NDSCRW];
46
NDSCRW ... Number of descriptor 4-byte words in block.
47
NDSCRW1 ... Last index in LDB (remember that we start from 0 ...)
48
NDSCRB ... Number of descriptor bytes (characters) in block.
49
BLKNUM ... Block Number of this LDB.
50
IWORD ... I-Descriptors. (addressed as 4-byte words)
51
RWORD ... R-Descriptors. (addressed as 4-byte words)
52
CWORD ... C-Descriptors. (addressed as characters)
53
NEXT ... Next Local Descriptor Block.
56
K. Banse 880323, 930907, 990304