/***************************************************************************/ /** **/ /** 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:52 by OpenVMS SDL V3.7 */ /* Source: 10-MAR-2008 13:58:50 $1$DGA8345:[LIB_H.SRC]PQBDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $PQBDEF ***/ #ifndef __PQBDEF_LOADED #define __PQBDEF_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 /*+ */ /* PROCESS QUOTA BLOCK DEFINITION */ /*- */ #define PQB$M_IMGDMP 0x1 #define PQB$M_DEBUG 0x2 #define PQB$M_DBGTRU 0x4 #define PQB$M_PARSE_EXTENDED 0x8 #define PQB$M_CASE_SENSITIVE 0x10 #define PQB$M_MEDDLE_ENABLE 0x20 #define PQB$M_MEDDLE 0x40 #define PQB$M_SEARCH_SYMLINK 0x180 #define PQB$K_LENGTH 2276 /* LENGTH OF PROCESS QUOTA BLOCK */ #define PQB$C_LENGTH 2276 /* LENGTH OF PROCESS QUOTA BLOCK */ #define PQB$S_PQBDEF 2276 /* Old size name - synonym */ typedef struct _pqb { unsigned __int64 pqb$q_prvmsk; /* PRIVILEGE MASK */ unsigned short int pqb$w_size; /* SIZE OF PQB IN BYTES */ unsigned char pqb$b_type; /* STRUCTURE TYPE CODE */ unsigned char pqb$b_sts; /* STATUS FLAGS */ unsigned int pqb$l_astlm; /* AST LIMIT */ unsigned int pqb$l_biolm; /* BUFFERED I/O LIMIT */ unsigned int pqb$l_bytlm; /* BUFFERED I/O LIMIT */ unsigned int pqb$l_cpulm; /* CPU TIME LIMIT */ unsigned int pqb$l_diolm; /* DIRECT I/O LIMIT */ unsigned int pqb$l_fillm; /* OPEN FILE LIMIT */ unsigned int pqb$l_pgflquota; /* PAGING FILE QUOTA */ unsigned int pqb$l_prclm; /* SUB-PROCESS LIMIT */ unsigned int pqb$l_tqelm; /* TIMER QUEUE ENTRY LIMIT */ unsigned int pqb$l_wsquota; /* WORKING SET QUOTA */ unsigned int pqb$l_wsdefault; /* WORKING SET DEFAULT */ unsigned int pqb$l_enqlm; /* ENQUEUE LIMIT */ unsigned int pqb$l_wsextent; /* MAXIMUM WORKING SET SIZE */ unsigned int pqb$l_jtquota; /* JOB-WIDE LOGICAL NAME TABLE CREATION QUOTA */ __union { unsigned short int pqb$w_flags; /* MISC FLAGS */ __struct { unsigned pqb$v_imgdmp : 1; /* TAKE IMAGE DUMP ON SERIOUS ERROR */ unsigned pqb$v_debug : 1; /* /DEBUG startup desired */ unsigned pqb$v_dbgtru : 1; /* debugger present */ unsigned pqb$v_parse_extended : 1; /* Set if process is to be parse_style extended */ unsigned pqb$v_case_sensitive : 1; /* set process CASE_LOOKUP = SENSITIVE */ unsigned pqb$v_meddle_enable : 1; /* Record fact of process logical name & symbol alterations */ unsigned pqb$v_meddle : 1; /* Process logical names or symbols have been altered */ unsigned pqb$v_search_symlink : 2; /* Process symlink search mode */ unsigned pqb$v_fill_2_ : 7; } pqb$r_fill_1_; } pqb$r_fill_0_; unsigned char pqb$b_msgmask; /* MESSAGE FLAGS */ unsigned char pqb$b_fill_1; /* Spare */ unsigned int pqb$l_uaf_flags; /* FLAGS FROM UAF RECORD */ unsigned int pqb$l_creprc_flags; /* FLAGS FROM $CREPRC ARGUMENT LIST */ __struct { /* MINIMUM AUTHORIZED SECURITY CLEARANCE */ unsigned char pqb$$$_fill_2 [20]; } pqb$r_min_class; __struct { /* MAXIMUM AUTHORIZED SECURITY CLEARANCE */ unsigned char pqb$$$_fill_3 [20]; } pqb$r_max_class; unsigned int pqb$l_input_att; /* SYS$INPUT attributes */ unsigned int pqb$l_output_att; /* SYS$OUTPUT attributes */ unsigned int pqb$l_error_att; /* SYS$ERROR attributes */ unsigned int pqb$l_disk_att; /* SYS$DISK attributes */ char pqb$t_cli_name [32]; /* CLI name */ char pqb$t_cli_table [256]; /* CLI table name */ char pqb$t_spawn_cli [32]; /* Spawn CLI name */ char pqb$t_spawn_table [256]; /* Spawn CLI table name */ char pqb$t_input [256]; /* LOGICAL NAME FOR INPUT */ char pqb$t_output [256]; /* LOGICAL NAME FOR OUTPUT */ char pqb$t_error [256]; /* LOGICAL NAME FOR ERROR OUTPUT */ char pqb$t_disk [256]; /* LOGICAL NAME FOR SYS$DISK */ char pqb$t_ddstring [256]; /* DEFAULT DIRECTORY STRING */ char pqb$t_image [256]; /* IMAGE NAME FOR NEW PROCESS */ char pqb$t_account [8]; /* ACCOUNT NAME FOR NEW PROCESS */ unsigned int pqb$l_arb_support; /* ARB SUPPORT BACKWARD COMPATIBILITY FLAG */ unsigned int pqb$l_rms_lcs; /* LOCAL CODE-SET FOR RMS FILENAME */ unsigned int pqb$l_sslog_flags; /* Flags for system service logging */ unsigned int pqb$l_sslog_bufsize; /* Size of system service log buffer */ unsigned int pqb$l_sslog_bufcnt; /* Number of system service log buffers */ } PQB; #if !defined(__VAXC) #define pqb$w_flags pqb$r_fill_0_.pqb$w_flags #define pqb$v_imgdmp pqb$r_fill_0_.pqb$r_fill_1_.pqb$v_imgdmp #define pqb$v_debug pqb$r_fill_0_.pqb$r_fill_1_.pqb$v_debug #define pqb$v_dbgtru pqb$r_fill_0_.pqb$r_fill_1_.pqb$v_dbgtru #define pqb$v_parse_extended pqb$r_fill_0_.pqb$r_fill_1_.pqb$v_parse_extended #define pqb$v_case_sensitive pqb$r_fill_0_.pqb$r_fill_1_.pqb$v_case_sensitive #define pqb$v_meddle_enable pqb$r_fill_0_.pqb$r_fill_1_.pqb$v_meddle_enable #define pqb$v_meddle pqb$r_fill_0_.pqb$r_fill_1_.pqb$v_meddle #define pqb$v_search_symlink pqb$r_fill_0_.pqb$r_fill_1_.pqb$v_search_symlink #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 /* __PQBDEF_LOADED */