/***************************************************************************/ /** **/ /** HPE CONFIDENTIAL. This software is confidential proprietary software **/ /** licensed by Hewlett-Packard Enterprise Development, LP, and is not **/ /** authorized to be used, duplicated OR disclosed to anyone without the **/ /** prior written permission of HPE. **/ /** © 2023 Copyright Hewlett-Packard Enterprise Development, LP **/ /** **/ /** VMS SOFTWARE, INC. CONFIDENTIAL. This software is confidential **/ /** proprietary software licensed by VMS Software, Inc., and is not **/ /** authorized to be used, duplicated or disclosed to anyone without **/ /** the prior written permission of VMS Software, Inc. **/ /** © 2023 Copyright VMS Software, Inc. **/ /** **/ /***************************************************************************/ /********************************************************************************************************************************/ /* Created: 9-Nov-2023 12:06:41 by OpenVMS SDL V3.7 */ /* Source: 21-APR-1993 10:34:26 $1$DGA8345:[LIB_H.SRC]FTRDDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $FTRDDEF ***/ #ifndef __FTRDDEF_LOADED #define __FTRDDEF_LOADED 1 #pragma __nostandard /* This file uses non-ANSI-Standard features */ #pragma __member_alignment __save #pragma __nomember_alignment #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __save /* Save the previously-defined required ptr size */ #pragma __required_pointer_size __short /* And set ptr size default to 32-bit pointers */ #endif #ifdef __cplusplus extern "C" { #define __unknown_params ... #define __optional_params ... #else #define __unknown_params #define __optional_params ... #endif #ifndef __struct #if !defined(__VAXC) #define __struct struct #else #define __struct variant_struct #endif #endif #ifndef __union #if !defined(__VAXC) #define __union union #else #define __union variant_union #endif #endif /*+ */ /* */ /* FTRD - Read request packet for FTDRIVER */ /* */ /* The FTRD packet is very similar to an IRP but much smaller. It has an */ /* ACB at the front, the EFN, and some information about the read buffer. */ /* */ /*- */ #define FTRD$K_LENGTH 40 /* Size of read packet */ #define FTRD$C_LENGTH 40 /* */ #define FTRD$S_FTRDDEF 40 typedef struct _ftrd { void *ftrd$l_astqfl; /* Read and AST queue forward link */ void *ftrd$l_astqbl; /* Read and AST queue backward link */ unsigned short int ftrd$w_size; /* Size of structure */ unsigned char ftrd$b_type; /* Type of structure */ unsigned char ftrd$b_rmod; /* RMOD bits used by AST delivery code */ unsigned int ftrd$l_pid; /* Internal PID of process to receive AST */ int (*ftrd$l_ast)(); /* AST routine address */ unsigned int ftrd$l_astprm; /* AST parameter */ unsigned char ftrd$b_efn; /* EFN to be set */ unsigned char ftrd$b_unused; /* Spare byte */ unsigned short int ftrd$w_read_size; /* Size of read request in bytes */ void *ftrd$l_buff_addr; /* Address of I/O buffer */ void *ftrd$l_char_addr; /* Address of next character */ unsigned int ftrd$l_chars_read; /* Number of characters in read buffer */ } FTRD; #pragma __member_alignment __restore #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __restore /* Restore the previously-defined required ptr size */ #endif #ifdef __cplusplus } #endif #pragma __standard #endif /* __FTRDDEF_LOADED */