/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:06 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:01 $1$DGA8085:[STARLET_H.SRC]STARDEFQZ.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $UIDDEF ***/ #ifndef __UIDDEF_LOADED #define __UIDDEF_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 UID$K_ARCHVERSION 1 /* Current architecture version */ #define UID$K_APOLLO1 0 /* UID format types */ #define UID$K_APOLLO2 1 #define UID$K_DIGITAL 2 #define UID$K_MICROSOFT 3 #define UID$K_LENGTH 16 /* Total structure length */ #ifdef __NEW_STARLET typedef struct _uiddef { __union { unsigned __int64 uid$q_timeandversion; /* Time and version */ __struct { unsigned int uid$l_timelow; /* Low order 32 bits of time */ unsigned short int uid$w_timemid; /* Middle order 16 bits of time */ __union { unsigned short int uid$w_timehiandversion; /* High order 12 bits of time and */ __struct { /* 4 bits of version */ unsigned uid$v_timehi : 12; /* High order 12 bits of time */ unsigned uid$v_version : 4; /* 4 bits of version */ } uid$r_fill_66_; } uid$r_fill_65_; } uid$r_fill_64_; } uid$r_fill_63_; __union { unsigned short int uid$w_clockseqandreserved; /* Clock sequence and reserved */ __struct { __union { unsigned char uid$b_clockseqhiandreserved; /* High order 6 bits of clock sequence */ __struct { /* and 2 reserved bits */ unsigned uid$v_clockseqhi : 6; /* High order 6 bits of clock sequence */ unsigned uid$v_reserved : 2; /* 2 bits of reserved */ } uid$r_fill_70_; } uid$r_fill_69_; unsigned char uid$b_clockseqlow; /* Low order 8 bits of clock sequence */ } uid$r_fill_68_; } uid$r_fill_67_; __union { unsigned char uid$b_node [6]; __struct { unsigned short int uid$w_nodehi; /* High order 16 bits of node number */ unsigned int uid$l_nodelow; /* Low order 32 bits of node number */ } uid$r_fill_72_; } uid$r_fill_71_; } UIDDEF; #if !defined(__VAXC) #define uid$q_timeandversion uid$r_fill_63_.uid$q_timeandversion #define uid$l_timelow uid$r_fill_63_.uid$r_fill_64_.uid$l_timelow #define uid$w_timemid uid$r_fill_63_.uid$r_fill_64_.uid$w_timemid #define uid$w_timehiandversion uid$r_fill_63_.uid$r_fill_64_.uid$r_fill_65_.uid$w_timehiandversion #define uid$v_timehi uid$r_fill_63_.uid$r_fill_64_.uid$r_fill_65_.uid$r_fill_66_.uid$v_timehi #define uid$v_version uid$r_fill_63_.uid$r_fill_64_.uid$r_fill_65_.uid$r_fill_66_.uid$v_version #define uid$w_clockseqandreserved uid$r_fill_67_.uid$w_clockseqandreserved #define uid$b_clockseqhiandreserved uid$r_fill_67_.uid$r_fill_68_.uid$r_fill_69_.uid$b_clockseqhiandreserved #define uid$v_clockseqhi uid$r_fill_67_.uid$r_fill_68_.uid$r_fill_69_.uid$r_fill_70_.uid$v_clockseqhi #define uid$v_reserved uid$r_fill_67_.uid$r_fill_68_.uid$r_fill_69_.uid$r_fill_70_.uid$v_reserved #define uid$b_clockseqlow uid$r_fill_67_.uid$r_fill_68_.uid$b_clockseqlow #define uid$b_node uid$r_fill_71_.uid$b_node #define uid$w_nodehi uid$r_fill_71_.uid$r_fill_72_.uid$w_nodehi #define uid$l_nodelow uid$r_fill_71_.uid$r_fill_72_.uid$l_nodelow #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ struct uiddef { __union { unsigned int uid$q_timeandversion [2]; /* Time and version */ __struct { unsigned int uid$l_timelow; /* Low order 32 bits of time */ unsigned short int uid$w_timemid; /* Middle order 16 bits of time */ __union { unsigned short int uid$w_timehiandversion; /* High order 12 bits of time and */ __struct { /* 4 bits of version */ unsigned uid$v_timehi : 12; /* High order 12 bits of time */ unsigned uid$v_version : 4; /* 4 bits of version */ } uid$r_fill_66_; } uid$r_fill_65_; } uid$r_fill_64_; } uid$r_fill_63_; __union { unsigned short int uid$w_clockseqandreserved; /* Clock sequence and reserved */ __struct { __union { unsigned char uid$b_clockseqhiandreserved; /* High order 6 bits of clock sequence */ __struct { /* and 2 reserved bits */ unsigned uid$v_clockseqhi : 6; /* High order 6 bits of clock sequence */ unsigned uid$v_reserved : 2; /* 2 bits of reserved */ } uid$r_fill_70_; } uid$r_fill_69_; unsigned char uid$b_clockseqlow; /* Low order 8 bits of clock sequence */ } uid$r_fill_68_; } uid$r_fill_67_; __union { unsigned char uid$b_node [6]; __struct { unsigned short int uid$w_nodehi; /* High order 16 bits of node number */ unsigned int uid$l_nodelow; /* Low order 32 bits of node number */ } uid$r_fill_72_; } uid$r_fill_71_; } ; #if !defined(__VAXC) #define uid$q_timeandversion uid$r_fill_63_.uid$q_timeandversion #define uid$l_timelow uid$r_fill_63_.uid$r_fill_64_.uid$l_timelow #define uid$w_timemid uid$r_fill_63_.uid$r_fill_64_.uid$w_timemid #define uid$w_timehiandversion uid$r_fill_63_.uid$r_fill_64_.uid$r_fill_65_.uid$w_timehiandversion #define uid$v_timehi uid$r_fill_63_.uid$r_fill_64_.uid$r_fill_65_.uid$r_fill_66_.uid$v_timehi #define uid$v_version uid$r_fill_63_.uid$r_fill_64_.uid$r_fill_65_.uid$r_fill_66_.uid$v_version #define uid$w_clockseqandreserved uid$r_fill_67_.uid$w_clockseqandreserved #define uid$b_clockseqhiandreserved uid$r_fill_67_.uid$r_fill_68_.uid$r_fill_69_.uid$b_clockseqhiandreserved #define uid$v_clockseqhi uid$r_fill_67_.uid$r_fill_68_.uid$r_fill_69_.uid$r_fill_70_.uid$v_clockseqhi #define uid$v_reserved uid$r_fill_67_.uid$r_fill_68_.uid$r_fill_69_.uid$r_fill_70_.uid$v_reserved #define uid$b_clockseqlow uid$r_fill_67_.uid$r_fill_68_.uid$b_clockseqlow #define uid$b_node uid$r_fill_71_.uid$b_node #define uid$w_nodehi uid$r_fill_71_.uid$r_fill_72_.uid$w_nodehi #define uid$l_nodelow uid$r_fill_71_.uid$r_fill_72_.uid$l_nodelow #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 /* __UIDDEF_LOADED */