/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:06 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:01 $1$DGA8085:[STARLET_H.SRC]STARDEFMP.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $PRCDEF ***/ #ifndef __PRCDEF_LOADED #define __PRCDEF_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 /*+ */ /* $CREPRC STATUS FLAGS AND ITEM CODES */ /*- */ #define PRC$M_SSRWAIT 0x1 #define PRC$M_SSFEXCU 0x2 #define PRC$M_PSWAPM 0x4 #define PRC$M_NOACNT 0x8 #define PRC$M_BATCH 0x10 #define PRC$M_HIBER 0x20 #define PRC$M_NOUAF 0x40 #define PRC$M_NETWRK 0x80 #define PRC$M_DISAWS 0x100 #define PRC$M_DETACH 0x200 #define PRC$M_INTER 0x400 #define PRC$M_IMGDMP 0x800 #define PRC$M_CLISPEC 0x1000 #define PRC$M_NOPASSWORD 0x2000 #define PRC$M_DEBUG 0x4000 #define PRC$M_DBGTRU 0x8000 #define PRC$M_SUBSYSTEM 0x10000 #define PRC$M_TCB 0x20000 #define PRC$M_NO_IMAGE_PRIVS 0x40000 #define PRC$M_PERM_SUBSYSTEM 0x80000 #define PRC$M_PARSE_EXTENDED 0x100000 #define PRC$M_INHERIT_PERSONA 0x200000 #define PRC$M_HOME_RAD 0x400000 #define PRC$M_CASE_SENSITIVE 0x800000 #define PRC$M_SPAWN_DETACHED 0x1000000 #define PRC$M_SSLOG_ENABLE 0x2000000 #define PRC$M_KT_LIMIT 0x4000000 #define PRC$M_LOGIN 0x40 #ifdef __NEW_STARLET typedef union _prcdef { __struct { unsigned prc$v_ssrwait : 1; /* RESOURCE WAIT DISABLE */ unsigned prc$v_ssfexcu : 1; /* SYSTEM SERVICE FAIL EXCEPTION MODE */ unsigned prc$v_pswapm : 1; /* PROCESS SWAP MODE */ unsigned prc$v_noacnt : 1; /* ACCOUNTING MESSAGE DISABLE */ unsigned prc$v_batch : 1; /* BATCH INDICATOR */ unsigned prc$v_hiber : 1; /* HIBERNATE BEFORE CALLING INITIAL IMAGE */ unsigned prc$v_nouaf : 1; /* BYPASS LOGIN VERIFICATION FOR DETACHED PROC. */ unsigned prc$v_netwrk : 1; /* NETWORK INDICATOR */ unsigned prc$v_disaws : 1; /* DISABLE WORKING SET ADJUST */ unsigned prc$v_detach : 1; /* DETACHED PROCESS */ unsigned prc$v_inter : 1; /* INTERACTIVE INDICATOR */ unsigned prc$v_imgdmp : 1; /* IMAGE DUMP REQUESTED */ unsigned prc$v_clispec : 1; /* PASS CLI SPECIFICATIONS */ unsigned prc$v_nopassword : 1; /* DON'T PROMPT FOR USERNAME AND PASSWORD */ unsigned prc$v_debug : 1; /* /DEBUG desired */ unsigned prc$v_dbgtru : 1; /* debugger present */ unsigned prc$v_subsystem : 1; /* inherit protected subsystem identifiers */ unsigned prc$v_tcb : 1; /* process is part of TCB */ unsigned prc$v_no_image_privs : 1; /* image privileges not to be propagated */ unsigned prc$v_perm_subsystem : 1; /* make subsystem rights permanent */ unsigned prc$v_parse_extended : 1; /* make new process have parse_style extended */ unsigned prc$v_inherit_persona : 1; /* process gets persona of caller */ unsigned prc$v_home_rad : 1; /* Home RAD specified by creator */ unsigned prc$v_case_sensitive : 1; /* Use CASE_LOOKUP = SENSITIVE */ unsigned prc$v_spawn_detached : 1; /* Spawn a detached process */ unsigned prc$v_sslog_enable : 1; /* Enable system service logging */ unsigned prc$v_kt_limit : 1; /* Kernel thread limit specified by creator */ unsigned prc$v_fill_66_ : 5; } prc$r_prcdef_bits; __struct { unsigned prc$v_fill_0 : 6; unsigned prc$v_login : 1; /* BYPASS LOGIN VERIFICATION FOR DETACHED PROC. */ unsigned prc$v_fill_67_ : 1; } prc$r_prcdef_obsolete; } PRCDEF; #if !defined(__VAXC) #define prc$v_ssrwait prc$r_prcdef_bits.prc$v_ssrwait #define prc$v_ssfexcu prc$r_prcdef_bits.prc$v_ssfexcu #define prc$v_pswapm prc$r_prcdef_bits.prc$v_pswapm #define prc$v_noacnt prc$r_prcdef_bits.prc$v_noacnt #define prc$v_batch prc$r_prcdef_bits.prc$v_batch #define prc$v_hiber prc$r_prcdef_bits.prc$v_hiber #define prc$v_nouaf prc$r_prcdef_bits.prc$v_nouaf #define prc$v_netwrk prc$r_prcdef_bits.prc$v_netwrk #define prc$v_disaws prc$r_prcdef_bits.prc$v_disaws #define prc$v_detach prc$r_prcdef_bits.prc$v_detach #define prc$v_inter prc$r_prcdef_bits.prc$v_inter #define prc$v_imgdmp prc$r_prcdef_bits.prc$v_imgdmp #define prc$v_clispec prc$r_prcdef_bits.prc$v_clispec #define prc$v_nopassword prc$r_prcdef_bits.prc$v_nopassword #define prc$v_debug prc$r_prcdef_bits.prc$v_debug #define prc$v_dbgtru prc$r_prcdef_bits.prc$v_dbgtru #define prc$v_subsystem prc$r_prcdef_bits.prc$v_subsystem #define prc$v_tcb prc$r_prcdef_bits.prc$v_tcb #define prc$v_no_image_privs prc$r_prcdef_bits.prc$v_no_image_privs #define prc$v_perm_subsystem prc$r_prcdef_bits.prc$v_perm_subsystem #define prc$v_parse_extended prc$r_prcdef_bits.prc$v_parse_extended #define prc$v_inherit_persona prc$r_prcdef_bits.prc$v_inherit_persona #define prc$v_home_rad prc$r_prcdef_bits.prc$v_home_rad #define prc$v_case_sensitive prc$r_prcdef_bits.prc$v_case_sensitive #define prc$v_spawn_detached prc$r_prcdef_bits.prc$v_spawn_detached #define prc$v_sslog_enable prc$r_prcdef_bits.prc$v_sslog_enable #define prc$v_kt_limit prc$r_prcdef_bits.prc$v_kt_limit #define prc$v_login prc$r_prcdef_obsolete.prc$v_login #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ union prcdef { __struct { unsigned prc$v_ssrwait : 1; /* RESOURCE WAIT DISABLE */ unsigned prc$v_ssfexcu : 1; /* SYSTEM SERVICE FAIL EXCEPTION MODE */ unsigned prc$v_pswapm : 1; /* PROCESS SWAP MODE */ unsigned prc$v_noacnt : 1; /* ACCOUNTING MESSAGE DISABLE */ unsigned prc$v_batch : 1; /* BATCH INDICATOR */ unsigned prc$v_hiber : 1; /* HIBERNATE BEFORE CALLING INITIAL IMAGE */ unsigned prc$v_nouaf : 1; /* BYPASS LOGIN VERIFICATION FOR DETACHED PROC. */ unsigned prc$v_netwrk : 1; /* NETWORK INDICATOR */ unsigned prc$v_disaws : 1; /* DISABLE WORKING SET ADJUST */ unsigned prc$v_detach : 1; /* DETACHED PROCESS */ unsigned prc$v_inter : 1; /* INTERACTIVE INDICATOR */ unsigned prc$v_imgdmp : 1; /* IMAGE DUMP REQUESTED */ unsigned prc$v_clispec : 1; /* PASS CLI SPECIFICATIONS */ unsigned prc$v_nopassword : 1; /* DON'T PROMPT FOR USERNAME AND PASSWORD */ unsigned prc$v_debug : 1; /* /DEBUG desired */ unsigned prc$v_dbgtru : 1; /* debugger present */ unsigned prc$v_subsystem : 1; /* inherit protected subsystem identifiers */ unsigned prc$v_tcb : 1; /* process is part of TCB */ unsigned prc$v_no_image_privs : 1; /* image privileges not to be propagated */ unsigned prc$v_perm_subsystem : 1; /* make subsystem rights permanent */ unsigned prc$v_parse_extended : 1; /* make new process have parse_style extended */ unsigned prc$v_inherit_persona : 1; /* process gets persona of caller */ unsigned prc$v_home_rad : 1; /* Home RAD specified by creator */ unsigned prc$v_case_sensitive : 1; /* Use CASE_LOOKUP = SENSITIVE */ unsigned prc$v_spawn_detached : 1; /* Spawn a detached process */ unsigned prc$v_sslog_enable : 1; /* Enable system service logging */ unsigned prc$v_kt_limit : 1; /* Kernel thread limit specified by creator */ unsigned prc$v_fill_66_ : 5; } prc$r_prcdef_bits; __struct { unsigned prc$v_fill_0 : 6; unsigned prc$v_login : 1; /* BYPASS LOGIN VERIFICATION FOR DETACHED PROC. */ unsigned prc$v_fill_67_ : 1; } prc$r_prcdef_obsolete; } ; #if !defined(__VAXC) #define prc$v_ssrwait prc$r_prcdef_bits.prc$v_ssrwait #define prc$v_ssfexcu prc$r_prcdef_bits.prc$v_ssfexcu #define prc$v_pswapm prc$r_prcdef_bits.prc$v_pswapm #define prc$v_noacnt prc$r_prcdef_bits.prc$v_noacnt #define prc$v_batch prc$r_prcdef_bits.prc$v_batch #define prc$v_hiber prc$r_prcdef_bits.prc$v_hiber #define prc$v_nouaf prc$r_prcdef_bits.prc$v_nouaf #define prc$v_netwrk prc$r_prcdef_bits.prc$v_netwrk #define prc$v_disaws prc$r_prcdef_bits.prc$v_disaws #define prc$v_detach prc$r_prcdef_bits.prc$v_detach #define prc$v_inter prc$r_prcdef_bits.prc$v_inter #define prc$v_imgdmp prc$r_prcdef_bits.prc$v_imgdmp #define prc$v_clispec prc$r_prcdef_bits.prc$v_clispec #define prc$v_nopassword prc$r_prcdef_bits.prc$v_nopassword #define prc$v_debug prc$r_prcdef_bits.prc$v_debug #define prc$v_dbgtru prc$r_prcdef_bits.prc$v_dbgtru #define prc$v_subsystem prc$r_prcdef_bits.prc$v_subsystem #define prc$v_tcb prc$r_prcdef_bits.prc$v_tcb #define prc$v_no_image_privs prc$r_prcdef_bits.prc$v_no_image_privs #define prc$v_perm_subsystem prc$r_prcdef_bits.prc$v_perm_subsystem #define prc$v_parse_extended prc$r_prcdef_bits.prc$v_parse_extended #define prc$v_inherit_persona prc$r_prcdef_bits.prc$v_inherit_persona #define prc$v_home_rad prc$r_prcdef_bits.prc$v_home_rad #define prc$v_case_sensitive prc$r_prcdef_bits.prc$v_case_sensitive #define prc$v_spawn_detached prc$r_prcdef_bits.prc$v_spawn_detached #define prc$v_sslog_enable prc$r_prcdef_bits.prc$v_sslog_enable #define prc$v_kt_limit prc$r_prcdef_bits.prc$v_kt_limit #define prc$v_login prc$r_prcdef_obsolete.prc$v_login #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #define PRC$M_IMPERSONATE 512 /* Impersonate other - synonym for DETACH - 0x200 */ /*+ */ /* */ /* Create Process Item List Data Identifier Definitions */ /* */ /* **** NOTE **** */ /* */ /* New items must always be added at the END of the list so that */ /* users will not have to relink or reassemble. */ /* */ /*- */ #define PRC$_LISTEND 0 /* End of list (must be first code) */ #define PRC$_PGFLCHAR 1 /* Page file characteristics */ #define PRC$_PGFLINDEX 2 /* Page file index */ #define PRC$_INPUT_ATT 3 /* SYS$INPUT attributes */ #define PRC$_OUTPUT_ATT 4 /* SYS$OUTPUT attributes */ #define PRC$_ERROR_ATT 5 /* SYS$ERROR attributes */ #define PRC$_CLASS 6 /* Process classification */ #define PRC$_SSLOG_FLAGS 7 /* System service logging flags */ #define PRC$_SSLOG_BUFSIZE 8 /* System service logging buffer size */ #define PRC$_SSLOG_BUFCNT 9 /* System service logging buffer count */ #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 /* __PRCDEF_LOADED */