/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:06 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:01 $1$DGA8085:[STARLET_H.SRC]STARDEFFL.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $LMFDEF ***/ #ifndef __LMFDEF_LOADED #define __LMFDEF_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 LMF$_PROD_TOKEN 1 #define LMF$_HW_ID 2 #define LMF$_PROD_VERSION 3 #define LMF$_PROD_DATE 4 #define LMF$_CHARGE_TYPE 5 #define LMF$_UNITS_IN_USE 6 #define LMF$_USERNAME 7 #define LMF$_CHECK_TOKEN 8 #define LMF$_CHECK_HWID 9 #define LMF$_NO_RELEASE 10 #define LMF$C_PRDNAMLEN 24 #define LMF$K_PRDNAMLEN 24 #define LMF$C_PRDUCERLEN 24 #define LMF$K_PRDUCERLEN 24 #define LMF$C_CONTEXTLEN 16 #define LMF$K_CONTEXTLEN 16 #define LMF$C_TOKENLEN 31 #define LMF$K_TOKENLEN 31 #define LMF$C_HW_IDLEN 31 #define LMF$K_HW_IDLEN 31 #define LMF$C_VERSIONLEN 4 #define LMF$K_VERSIONLEN 4 #define LMF$K_DATELEN 8 #define LMF$C_DATELEN 8 #define LMF$M_RETURN_FAILURES 0x1 #define LMF$M_BROADCAST_FAILURES 0x2 #define LMF$M_OUTPUT_FAILURES 0x4 #define LMF$M_KERNEL_GRANT 0x8 #define LMF$M_LOOKUP_LICENSE_SPARE 0xFFFFFFF0 #ifdef __NEW_STARLET typedef struct _dvspm_masks { unsigned lmf$v_return_failures : 1; /* return status .vs. signal */ unsigned lmf$v_broadcast_failures : 1; /* do an OPCOM */ unsigned lmf$v_output_failures : 1; /* do a PUTMSG */ unsigned lmf$v_kernel_grant : 1; /* grant in kernel mode */ unsigned lmf$v_lookup_license_spare : 28; /* spare area */ } DVSPM_MASKS; #else /* __OLD_STARLET */ struct dvspm_masks { unsigned lmf$v_return_failures : 1; /* return status .vs. signal */ unsigned lmf$v_broadcast_failures : 1; /* do an OPCOM */ unsigned lmf$v_output_failures : 1; /* do a PUTMSG */ unsigned lmf$v_kernel_grant : 1; /* grant in kernel mode */ unsigned lmf$v_lookup_license_spare : 28; /* spare area */ } ; #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 /* __LMFDEF_LOADED */