/**/ /***************************************************************************/ /** **/ /** © Copyright 2010, Hewlett-Packard Development Company, L.P. **/ /** **/ /** Confidential computer software. Valid license from HP and/or **/ /** its subsidiaries required for possession, use, or copying. **/ /** **/ /** Consistent with FAR 12.211 and 12.212, Commercial Computer Software, **/ /** Computer Software Documentation, and Technical Data for Commercial **/ /** Items are licensed to the U.S. Government under vendor's standard **/ /** commercial license. **/ /** **/ /** Neither HP nor any of its subsidiaries shall be liable for technical **/ /** or editorial errors or omissions contained herein. The information **/ /** in this document is provided "as is" without warranty of any kind and **/ /** is subject to change without notice. The warranties for HP products **/ /** are set forth in the express limited warranty statements accompanying **/ /** such products. Nothing herein should be construed as constituting an **/ /** additional warranty. **/ /** **/ /***************************************************************************/ /********************************************************************************************************************************/ /* Created: 30-Mar-2010 17:26:54 by OpenVMS SDL EV3-3 */ /* Source: 16-JUN-1993 10:44:58 $1$DGA7274:[LIB_H.SRC]PIBDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $PIBDEF ***/ #ifndef __PIBDEF_LOADED #define __PIBDEF_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 /*+ */ /* PERFORMANCE I/O INFORMATION BLOCK */ /*- */ #define PIB$S_PIBDEF 1 /* Old size name - synonym */ typedef struct _pib { unsigned char pib$b_type; /*TYPE OF ENTRY */ /* */ /* START OF I/O REQUEST TRANSACTION MESSAGE BLOCK */ /* */ } PIB; #define PIB$K_SRQ_SIZE 32 /*LENGTH OF START I/O MESSAGE */ #define PIB$C_SRQ_SIZE 32 /*LENGTH OF START I/O MESSAGE */ /* */ #define PIB$S_PIBDEF1 32 /* Old size name - synonym */ #ifdef __cplusplus /* Define structure prototypes */ struct _ucb; #endif /* #ifdef __cplusplus */ typedef struct _pib1 { char pib$$_fill_5; unsigned char pib$b_srq_pri; /*BASE PRIORITY OF PROCESS */ unsigned short int pib$w_srq_acon; /*Access control info from WCB or 0 */ unsigned __int64 pib$q_srq_time; /*TIME OF I/O TRANSACTION */ unsigned int pib$l_srq_seqn; /*SEQUENCE NUMBER OF I/O TRANSACTION */ unsigned int pib$l_srq_pid; /*REQUESTER PID */ struct _ucb *pib$l_srq_ucb; /*ADDRESS OF DEVICE UCB */ unsigned short int pib$w_srq_func; /*I/O FUNCTION CODE */ unsigned short int pib$w_srq_sts; /*I/O PACKET STATUS */ unsigned char pib$b_srq_access; /*Access control info from WCB or 0 */ char pib$$_fill_1 [3]; /*SPARE UNUSED BYTES */ /* START OF I/O TRANSACTION MESSAGE BLOCK */ /* */ } PIB1; #define PIB$K_SIO_SIZE 24 /*LENGTH OF I/O TRANSACTION MESSAGE */ #define PIB$C_SIO_SIZE 24 /*LENGTH OF I/O TRANSACTION MESSAGE */ /* */ #define PIB$S_PIBDEF2 24 /* Old size name - synonym */ typedef struct _pib2 { char pib$$_fill_6; char pib$$_fill_2; /*SPARE UNUSED BYTE */ short int pib$$_fill_9; /*SPARE UNUSED WORD */ unsigned __int64 pib$q_sio_time; /*TIME OF TRANSACTION */ unsigned int pib$l_sio_seqn; /*SEQUENCE NUMBER OF TRANSACTION */ void *pib$l_sio_media; /*TRANSFER MEDIA ADDRESS */ unsigned int pib$l_sio_bcnt; /*TRANSFER BYTE COUNT */ /* END OF I/O TRANSACTION MESSAGE BLOCK */ /* */ } PIB2; #define PIB$K_EIO_SIZE 24 /*LENGTH OF END OF I/O TRANSACTION */ #define PIB$C_EIO_SIZE 24 /*LENGTH OF END OF I/O TRANSACTION */ /* */ #define PIB$S_PIBDEF3 24 /* Old size name - synonym */ typedef struct _pib3 { char pib$$_fill_7; char pib$$_fill_3 [3]; /*SPARE UNUSED BYTES */ unsigned __int64 pib$q_eio_time; /*TIME OF TRANSACTION */ unsigned int pib$l_eio_seqn; /*SEQUENCE NUMBER OF TRANSACTION */ unsigned __int64 pib$q_eio_iosb; /*FINAL I/O STATUS */ /* END OF I/O REQUEST MESSAGE BLOCK */ /* */ } PIB3; #define PIB$K_ERQ_SIZE 16 /*LENGTH OF END OF I/O REQUEST TRANSACTION */ #define PIB$C_ERQ_SIZE 16 /*LENGTH OF END OF I/O REQUEST TRANSACTION */ /* */ #define PIB$K_SRQ 0 /*START OF I/O REQUEST */ #define PIB$K_SIO 1 /*START OF I/O TRANSACTION */ #define PIB$K_EIO 2 /*END OF I/O TRANSACTION */ #define PIB$K_ERQ 3 /*END OF I/O REQUEST */ #define PIB$K_ARQ 4 /*ABORTED I/O REQUEST */ #define PIB$S_PIBDEF4 16 /* Old size name - synonym */ typedef struct _pib4 { char pib$$_fill_8; char pib$$_fill_4 [3]; /*SPARE UNUSED BYTES */ unsigned __int64 pib$q_erq_time; /*TIME OF TRANSACTION */ unsigned int pib$l_erq_seqn; /*SEQUENCE NUMBER OF TRANSACTION */ /* I/O MESSAGE BLOCK ENTRY TYPE CODES */ /* */ } PIB4; #define PIB$K_ARQ_SIZE 16 /*LENGTH OF ABORTED I/O TRANSACTION */ #define PIB$C_ARQ_SIZE 16 /*LENGTH OF ABORTED I/O TRANSACTION */ /* */ #define PIB$S_PIBDEF5 16 /* Old size name - synonym */ typedef struct _pib5 { char pib$$_fill_10; char pib$$_fill_11 [3]; /*SPARE UNUSED BYTES */ unsigned __int64 pib$q_arq_time; /*TIME OF TRANSACTION */ unsigned int pib$l_arq_seqn; /*SEQUENCE NUMBER OF TRANSACTION */ /* ABORTED I/O REQUEST MESSAGE BLOCK */ /* */ } PIB5; #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 /* __PIBDEF_LOADED */