/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:05 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:01 $1$DGA8085:[STARLET_H.SRC]STARDEFAE.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $ACCDEF ***/ #ifndef __ACCDEF_LOADED #define __ACCDEF_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 #define ACC$K_TERMLEN 84 /* TERMINATION MESSAGE LENGTH */ #define ACC$C_TERMLEN 84 /* TERMINATION MESSAGE LENGTH */ /* AND ACCOUNTING RECORD FOR NON BATCH JOBS */ #define ACC$K_JOB_LEN 108 /* LENGTH OF BATCH JOB ACCOUNTING RECORD */ #define ACC$C_JOB_LEN 108 /* LENGTH OF BATCH JOB ACCOUNTING RECORD */ #ifdef __NEW_STARLET typedef struct _accdef { unsigned short int acc$w_msgtyp; /* MESSAGE TYPE CODE */ unsigned short int acc$w_msgsiz; /* LENGTH OF DATA MESSAGE (VALID ONLY IN ACCLOG) */ unsigned int acc$l_finalsts; /* FINAL EXIT STATUS */ unsigned int acc$l_pid; /* PROCESS ID */ unsigned int acc$l_jobid; /* JOB IDENTIFICATION (VALID ONLY IN ACCLOG) */ unsigned __int64 acc$q_termtime; /* TERMINATION TIME (100NS UNITS) */ char acc$t_account [8]; /* ACCOUNT NAME STRING (BLANK FILLED) */ char acc$t_username [12]; /* USER NAME STRING (BLANK FILLED) */ unsigned int acc$l_cputim; /* CPUTIM IN 10MS UNITS */ unsigned int acc$l_pageflts; /* TOTAL PAGE FAULTS */ unsigned int acc$l_pgflpeak; /* PEAK PAGING FILE USAGE */ unsigned int acc$l_wspeak; /* PEAK WORKING SET SIZE */ unsigned int acc$l_biocnt; /* COUNT OF BUFFERED I/O OPERATIONS */ unsigned int acc$l_diocnt; /* COUNT OF DIRECT I/O OPERATIONS */ unsigned int acc$l_volumes; /* COUNT OF VOLUMES MOUNTED */ unsigned __int64 acc$q_login; /* LOGIN TIME (100NS UNITS) */ unsigned int acc$l_owner; /* PID OF SUBPROCESS OWNER */ /* END OF TERMINATION MESSAGE */ char acc$t_job_name [8]; /* JOB NAME (BLANK FILLED) */ char acc$t_job_que [16]; /* QUEUE NAME (.ASCIC) */ } ACCDEF; #else /* __OLD_STARLET */ struct accdef { unsigned short int acc$w_msgtyp; /* MESSAGE TYPE CODE */ unsigned short int acc$w_msgsiz; /* LENGTH OF DATA MESSAGE (VALID ONLY IN ACCLOG) */ unsigned int acc$l_finalsts; /* FINAL EXIT STATUS */ unsigned int acc$l_pid; /* PROCESS ID */ unsigned int acc$l_jobid; /* JOB IDENTIFICATION (VALID ONLY IN ACCLOG) */ unsigned int acc$q_termtime [2]; /* TERMINATION TIME (100NS UNITS) */ char acc$t_account [8]; /* ACCOUNT NAME STRING (BLANK FILLED) */ char acc$t_username [12]; /* USER NAME STRING (BLANK FILLED) */ unsigned int acc$l_cputim; /* CPUTIM IN 10MS UNITS */ unsigned int acc$l_pageflts; /* TOTAL PAGE FAULTS */ unsigned int acc$l_pgflpeak; /* PEAK PAGING FILE USAGE */ unsigned int acc$l_wspeak; /* PEAK WORKING SET SIZE */ unsigned int acc$l_biocnt; /* COUNT OF BUFFERED I/O OPERATIONS */ unsigned int acc$l_diocnt; /* COUNT OF DIRECT I/O OPERATIONS */ unsigned int acc$l_volumes; /* COUNT OF VOLUMES MOUNTED */ unsigned int acc$q_login [2]; /* LOGIN TIME (100NS UNITS) */ unsigned int acc$l_owner; /* PID OF SUBPROCESS OWNER */ /* END OF TERMINATION MESSAGE */ char acc$t_job_name [8]; /* JOB NAME (BLANK FILLED) */ char acc$t_job_que [16]; /* QUEUE NAME (.ASCIC) */ } ; #endif /* #ifdef __NEW_STARLET */ #define ACC$K_PRT_LEN 88 /* LENGTH OF PRINT ACCOUNTING RECORD */ #define ACC$C_PRT_LEN 88 /* LENGTH OF PRINT ACCOUNTING RECORD */ /* */ #ifdef __NEW_STARLET typedef struct _accdef1 { char accdef$$_fill_1 [48]; unsigned int acc$l_pagcnt; /* SYMBIONT PAGE COUNT */ unsigned int acc$l_qiocnt; /* SYMBIONT QIO COUNT */ unsigned int acc$l_getcnt; /* SYMBIONT GET COUNT */ unsigned __int64 acc$q_quetime; /* TIME JOB WAS QUEUED */ char acc$t_prt_name [8]; /* NAME OF PRINT JOB */ char acc$t_prt_que [12]; /* NAME OF PRINT QUEUE */ /* DEFINE USER ACCOUNTING MESSAGE DATA AREA */ /* */ } ACCDEF1; #else /* __OLD_STARLET */ struct accdef1 { char accdef$$_fill_1 [48]; unsigned int acc$l_pagcnt; /* SYMBIONT PAGE COUNT */ unsigned int acc$l_qiocnt; /* SYMBIONT QIO COUNT */ unsigned int acc$l_getcnt; /* SYMBIONT GET COUNT */ unsigned int acc$q_quetime [2]; /* TIME JOB WAS QUEUED */ char acc$t_prt_name [8]; /* NAME OF PRINT JOB */ char acc$t_prt_que [12]; /* NAME OF PRINT QUEUE */ /* DEFINE USER ACCOUNTING MESSAGE DATA AREA */ /* */ } ; #endif /* #ifdef __NEW_STARLET */ #define ACC$K_INS_LEN 176 /* LENGTH OF INSERT MESSAGE */ #define ACC$C_INS_LEN 176 /* LENGTH OF INSERT MESSAGE */ /* */ #define ACC$K_PRCTRM 1 /* JOB TERMINATION */ #define ACC$K_BATTRM 2 /* BATCH JOB TERMINATION */ #define ACC$K_INTTRM 3 /* INTERACTIVE JOB TERMINATION */ #define ACC$K_LOGTRM 4 /* LOGIN FAILURE PROCESS TERMINATION */ #define ACC$K_IMGTRM 5 /* IMAGE TERMINATION */ #define ACC$K_SUBTRM 6 /* SUBPROCESS TERMINATION */ #define ACC$K_DETTRM 7 /* DETACHED PROCESS TERMINATION */ #define ACC$K_NETTRM 8 /* NETWORK PROCESS TERMINATION */ /* MISC ACCOUNTING RECORDS */ #define ACC$K_PRTJOB 16 /* PRINT JOB ACCOUNTING */ #define ACC$K_INSMSG 17 /* INSERTED MESSAGE */ /* */ #define ACC$K_INSMESG 1 /* INSERT MESSAGE INTO ACCOUNTING FILE */ #define ACC$K_NEWFILE 2 /* CREATE A NEW ACCOUNT FILE */ #define ACC$K_ENABACC 3 /* ENABLE ACCOUNTING */ #define ACC$K_DISAACC 4 /* DISABLE ACCOUNTING */ #define ACC$K_ENABSEL 5 /* ENABLE SELECTIVE ACCOUNTING */ #define ACC$K_DISASEL 6 /* DISABLE SELECTIVE ACCOUNTING */ #ifdef __NEW_STARLET typedef struct _accdef2 { char accdef$$_fill_2 [44]; char acc$t_user_data [132]; /* ALLOW UP TO 132 BYTES OF USER DATA */ /* ASSIGN RECORD TYPE CODES FOR RECORDS IN THE ACCOUNT LOG FILE */ /* */ /* PROCESS ACCOUNTING RECORDS */ /* DEFINE ACCOUNTING MANAGER MESSAGE CODES */ /* */ /* */ } ACCDEF2; #else /* __OLD_STARLET */ struct accdef2 { char accdef$$_fill_2 [44]; char acc$t_user_data [132]; /* ALLOW UP TO 132 BYTES OF USER DATA */ /* ASSIGN RECORD TYPE CODES FOR RECORDS IN THE ACCOUNT LOG FILE */ /* */ /* PROCESS ACCOUNTING RECORDS */ /* DEFINE ACCOUNTING MANAGER MESSAGE CODES */ /* */ /* */ } ; #endif /* #ifdef __NEW_STARLET */ #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 /* __ACCDEF_LOADED */