1
- /* CCKD.H (C) Copyright "Fish" (David B. Trout), 2018-2019 */
1
+ /* CCKD.H (C) Copyright "Fish" (David B. Trout), 2018-2022 */
2
2
/* CCKD dasd struct and type definitions */
3
3
/* */
4
4
/* Released under "The Q Public License Version 1" */
@@ -164,10 +164,12 @@ struct CCKD_FREEBLK { /* Free block (file) */
164
164
165
165
/* NOTE: all fields are numeric and always in LITTLE endian format. */
166
166
167
- U32 fb_offnxt ; /* Offset to next free blk */
168
- U32 fb_len ; /* Length this free blk */
167
+ U32 fb_offnxt ; /* Offset to NEXT free blk */
168
+ U32 fb_len ; /* Length of THIS free blk */
169
169
};
170
170
171
+ #define fb_offset fb_offnxt // (see cckd_read_fsp/cckd_write_fsp!)
172
+
171
173
struct CCKD_IFREEBLK { /* Free block (internal) */
172
174
173
175
/* NOTE: because this control block is an INTERNAL control block */
@@ -176,8 +178,8 @@ struct CCKD_IFREEBLK { /* Free block (internal) */
176
178
/* in *HOST* endian format (little endian on little endian hosts */
177
179
/* and big endian on big endian hosts). */
178
180
179
- U32 ifb_offnxt ; /* Offset to next free blk */
180
- U32 ifb_len ; /* Length this free blk */
181
+ U32 ifb_offnxt ; /* Offset to NEXT free blk */
182
+ U32 ifb_len ; /* Length of THIS free blk */
181
183
int ifb_idxprv ; /* Index to prev free blk */
182
184
int ifb_idxnxt ; /* Index to next free blk */
183
185
int ifb_pending ; /* 1=Free pending (don't use)*/
0 commit comments