/********************************************************************************************************************************/ /* 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 $DIRENTDEF ***/ #ifndef __DIRENTDEF_LOADED #define __DIRENTDEF_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 DIRENT$K_NAME 1 #define DIRENT$K_VERSION 2 #ifdef __NEW_STARLET typedef struct _dirent { short int dirent$iw_size; short int dirent$iw_type; } DIRENT; #else /* __OLD_STARLET */ typedef struct _dirent { short int dirent$iw_size; short int dirent$iw_type; } dirent; #endif /* #ifdef __NEW_STARLET */ #ifdef __NEW_STARLET typedef struct _dirent_nam { short int dirent_nam$iw_size; short int dirent_nam$iw_type; short int dirent_nam$iw_version_limit; short int dirent_nam$iw_fill; int dirent_nam$il_name_length; char dirent_nam$t_name [1]; } DIRENT_NAM; #else /* __OLD_STARLET */ typedef struct _dirent_nam { short int dirent_nam$iw_size; short int dirent_nam$iw_type; short int dirent_nam$iw_version_limit; short int dirent_nam$iw_fill; int dirent_nam$il_name_length; char dirent_nam$t_name [1]; } dirent_nam; #endif /* #ifdef __NEW_STARLET */ #define DIRENT$K_FILE 1 #define DIRENT$K_DIRECTORY 2 #ifdef __NEW_STARLET typedef struct _dirent_ver { short int dirent_ver$iw_size; short int dirent_ver$iw_type; short int dirent_ver$iw_version; short int dirent_ver$iw_obj_type; short int dirent_ver$iw_fill; __union { unsigned short int dirent_ver$iw_fid [3]; __struct { unsigned short int dirent_ver$iw_fid_num; unsigned short int dirent_ver$iw_fid_seq; __union { unsigned short int dirent_ver$iw_fid_rvn; __struct { unsigned char dirent_ver$ib_fid_rvn; unsigned char dirent_ver$ib_fid_nmx; } dirent_ver$r_fid_rvn_fields; } dirent_ver$r_fid_rvn_overlay; } dirent_ver$r_fid_fields; } dirent_ver$r_fid_overlay; } DIRENT_VER; #if !defined(__VAXC) #define dirent_ver$iw_fid dirent_ver$r_fid_overlay.dirent_ver$iw_fid #define dirent_ver$iw_fid_num dirent_ver$r_fid_overlay.dirent_ver$r_fid_fields.dirent_ver$iw_fid_num #define dirent_ver$iw_fid_seq dirent_ver$r_fid_overlay.dirent_ver$r_fid_fields.dirent_ver$iw_fid_seq #define dirent_ver$iw_fid_rvn dirent_ver$r_fid_overlay.dirent_ver$r_fid_fields.dirent_ver$r_fid_rvn_overlay.dirent_ver$iw_fid_rvn #define dirent_ver$ib_fid_rvn dirent_ver$r_fid_overlay.dirent_ver$r_fid_fields.dirent_ver$r_fid_rvn_overlay.dirent_ver$r_fid_rvn_fi\ elds.dirent_ver$ib_fid_rvn #define dirent_ver$ib_fid_nmx dirent_ver$r_fid_overlay.dirent_ver$r_fid_fields.dirent_ver$r_fid_rvn_overlay.dirent_ver$r_fid_rvn_fi\ elds.dirent_ver$ib_fid_nmx #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ typedef struct _dirent_ver { short int dirent_ver$iw_size; short int dirent_ver$iw_type; short int dirent_ver$iw_version; short int dirent_ver$iw_obj_type; short int dirent_ver$iw_fill; __union { unsigned short int dirent_ver$iw_fid [3]; __struct { unsigned short int dirent_ver$iw_fid_num; unsigned short int dirent_ver$iw_fid_seq; __union { unsigned short int dirent_ver$iw_fid_rvn; __struct { unsigned char dirent_ver$ib_fid_rvn; unsigned char dirent_ver$ib_fid_nmx; } dirent_ver$r_fid_rvn_fields; } dirent_ver$r_fid_rvn_overlay; } dirent_ver$r_fid_fields; } dirent_ver$r_fid_overlay; } dirent_ver; #if !defined(__VAXC) #define dirent_ver$iw_fid dirent_ver$r_fid_overlay.dirent_ver$iw_fid #define dirent_ver$iw_fid_num dirent_ver$r_fid_overlay.dirent_ver$r_fid_fields.dirent_ver$iw_fid_num #define dirent_ver$iw_fid_seq dirent_ver$r_fid_overlay.dirent_ver$r_fid_fields.dirent_ver$iw_fid_seq #define dirent_ver$iw_fid_rvn dirent_ver$r_fid_overlay.dirent_ver$r_fid_fields.dirent_ver$r_fid_rvn_overlay.dirent_ver$iw_fid_rvn #define dirent_ver$ib_fid_rvn dirent_ver$r_fid_overlay.dirent_ver$r_fid_fields.dirent_ver$r_fid_rvn_overlay.dirent_ver$r_fid_rvn_fi\ elds.dirent_ver$ib_fid_rvn #define dirent_ver$ib_fid_nmx dirent_ver$r_fid_overlay.dirent_ver$r_fid_fields.dirent_ver$r_fid_rvn_overlay.dirent_ver$r_fid_rvn_fi\ elds.dirent_ver$ib_fid_nmx #endif /* #if !defined(__VAXC) */ #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 /* __DIRENTDEF_LOADED */