/**/ /***************************************************************************/ /** **/ /** © 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:22 by OpenVMS SDL EV3-3 */ /* Source: 24-MAY-2001 16:00:37 $1$DGA7274:[LIB_H.SRC]AQBDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $AQBDEF ***/ #ifndef __AQBDEF_LOADED #define __AQBDEF_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 /*+ */ /* DEFINITION OF ACP QUEUE HEADER */ /*- */ #define AQB$M_UNIQUE 0x1 #define AQB$M_DEFCLASS 0x2 #define AQB$M_DEFSYS 0x4 #define AQB$M_CREATING 0x8 #define AQB$M_XQIOPROC 0x10 #define AQB$K_UNDEFINED 0 /* UNDEFINED ACP */ #define AQB$K_F11V1 1 /* FILES-11 STRUCTURE LEVEL 1 */ #define AQB$K_F11V2 2 /* FILES-11 STRUCTURE LEVEL 2 */ #define AQB$K_MTA 3 /* MAGTAPE */ #define AQB$K_NET 4 /* NETWORKS */ #define AQB$K_REM 5 /* REMOTE I/O */ #define AQB$K_HBS 6 /* HOST BASED SHADOWING */ #define AQB$K_F11V3 7 /* Files-11 presentation of ISO 9660 */ #define AQB$K_F11V4 8 /* Files-11 presentation of High Sierra */ #define AQB$K_F64 9 /* Dollar ACP type */ #define AQB$K_UCX 10 /* ACP for TCP/IP Services for OpenVMS */ #define AQB$K_F11V5 11 /* FILES-11 STRUCTURE LEVEL 5 */ #define AQB$K_F11V6 12 /* FILES-11 STRUCTURE LEVEL 6 */ #define AQB$K_HBVS 13 /* Host Based Volume Shadowing SCP */ #define AQB$C_MAXACP 13 /* maximum AQB supported */ #define AQB$K_LENGTH 40 /* SIZE OF AQB */ #define AQB$C_LENGTH 40 /* SIZE OF AQB */ #define AQB$S_AQBDEF 40 /* OLD SIZE NAME, SYNONYM FOR AQB$S_AQB */ #ifdef __cplusplus /* Define structure prototypes */ struct _irp; struct _vcb; #endif /* #ifdef __cplusplus */ typedef struct _aqb { __union { unsigned __int64 aqb$q_acpiq; /* INTERLOCKED QUEUE */ __struct { struct _irp *aqb$l_acpqfl; /* QUEUE FORWARD LINK */ struct _irp *aqb$l_acpqbl; /* QUEUE BACK LINK */ } aqb$r_acp_q_structure; } aqb$r_acpq_overlay; unsigned short int aqb$w_size; /* CONTROL BLOCK SIZE IN BYTES */ unsigned char aqb$b_type; /* BLOCK TYPE CODE */ unsigned char aqb$b_mntcnt; /* THIS FIELD IS NOW OBSOLETE */ /* AND HAS BEEN REPLACED BY */ /* AQB$L_MOUNT_COUNT */ unsigned int aqb$l_acppid; /* ACP PROCESS PID */ struct _aqb *aqb$l_link; /* AQB LIST LINKAGE */ __union { unsigned char aqb$b_status; /* STATUS BYTE */ __struct { unsigned aqb$v_unique : 1; /* ACP IS UNIQUE TO THIS DEVICE */ unsigned aqb$v_defclass : 1; /* ACP IS DEFAULT FOR THIS CLASS */ unsigned aqb$v_defsys : 1; /* ACP IS DEFAULT FOR THE SYSTEM */ unsigned aqb$v_creating : 1; /* ACP IS CURRENTLY BEING CREATED */ unsigned aqb$v_xqioproc : 1; /* eXtended QIO PROCessor is being used. */ unsigned aqb$v_fill_0_ : 3; } aqb$r_status_bits; } aqb$r_status_overlay; unsigned char aqb$b_acptype; /* ACP TYPE CODE */ /* */ /* ***** The following ACP type codes are now a user visible interface */ /* ***** and the values may not be changed. There are parallel definitions */ /* ***** in the $DVIDEF macro that define symbols of the form: */ /* ***** */ /* ***** DVI$C_ACP_F11V1 */ /* ***** DVI$C_ACP_F11V2 */ /* ***** DVI$C_ACP_MTA */ /* ***** ... */ /* ***** */ /* ***** All new ACP type values must be added at the end and the names */ /* ***** must be 5 characters or less to keep the DVI form of the name */ /* ***** 15 characters or less. Any additions must also be made in $DVIDEF */ /* ***** and in the list of ASSUMES in the module SYSGETDEV in [SYS.SRC] */ /* */ unsigned char aqb$b_class; /* ACP CLASS CODE */ char aqbdef$$_fill_1; /* RESERVED */ void *aqb$l_bufcache; /* POINTER TO BUFFER CACHE */ unsigned int aqb$l_mount_count; /* ACP MOUNT COUNT (REPLACES AQB$B_MNTCNT) */ struct _vcb *aqb$l_orphaned_vcb; /* Pointer to Orphaned VCB */ void (*aqb$l_astadr)(); /* AST address used for XQP-type file */ /* system processing */ } AQB; #if !defined(__VAXC) #define aqb$q_acpiq aqb$r_acpq_overlay.aqb$q_acpiq #define aqb$r_acp_q_structure aqb$r_acpq_overlay.aqb$r_acp_q_structure #define aqb$l_acpqfl aqb$r_acp_q_structure.aqb$l_acpqfl #define aqb$l_acpqbl aqb$r_acp_q_structure.aqb$l_acpqbl #define aqb$b_status aqb$r_status_overlay.aqb$b_status #define aqb$v_unique aqb$r_status_overlay.aqb$r_status_bits.aqb$v_unique #define aqb$v_defclass aqb$r_status_overlay.aqb$r_status_bits.aqb$v_defclass #define aqb$v_defsys aqb$r_status_overlay.aqb$r_status_bits.aqb$v_defsys #define aqb$v_creating aqb$r_status_overlay.aqb$r_status_bits.aqb$v_creating #define aqb$v_xqioproc aqb$r_status_overlay.aqb$r_status_bits.aqb$v_xqioproc #endif /* #if !defined(__VAXC) */ #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 /* __AQBDEF_LOADED */