/********************************************************************************************************************************/ /* Created: 30-Mar-2010 17:29:48 by OpenVMS SDL EV3-3 */ /* Source: 30-MAR-2010 17:29:21 $1$DGA7274:[STARLET_H.SRC]STARDEFAE.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $acmedef IDENT X-8 ***/ #ifndef __ACMEDEF_LOADED #define __ACMEDEF_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 /*+ */ /* */ /* Miscellaneous constants */ /* */ /*- */ #define ACME$K_MAXCHAR_ITEM 16383 /* Maximum length (in characters) */ /* of an item */ #define ACME$K_MAXCHAR_DOI_NAME 32 /* Maximum length (in characters) */ /* of a DOI name string */ #define ACME$K_MAXCHAR_PRINCIPAL_NAME 512 /* Maximum length (in characters) */ /* of a principal name string */ #define ACME$K_MAX_NUM_AGENTS 32 /* Maximum number of ACME agents */ /* that can be loaded */ #define ACME$K_MAX_CRED_TYPE 32 /* Maximum number of credential */ /* types supported */ /*+ */ /* */ /* ACME agent id */ /* */ /* An ACME agent id is a 32-bit unsigned value, encoded as follows: */ /* */ /* Remote host address type is a 16-bit unsigned value, encoded as follows: */ /* */ /* 3 2 2 1 1 */ /* 1 4 3 6 5 8 7 0 */ /* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ */ /* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | */ /* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ */ /* ^.............................^ ^ ^...........................^ */ /* | | | | | */ /* | | | +---------------------------+-- Bit [14:0] = ACME number */ /* | | | */ /* | | +-------------------------------- Bit [15] = 0 ==> Ancillary agent */ /* | | 1 ==> Registered DOI */ /* | | */ /* +-----------------------------+---------------------------------- Bit [31:16] = Server number */ /* */ /*- */ #pragma __member_alignment __save #pragma __nomember_alignment #define ACMEID$M_ACME_NUM 0x7FFF #define ACMEID$M_DOI_DESIGNATOR 0x8000 #define ACMEID$M_SERVER_NUM 0xFFFF0000 #ifdef __NEW_STARLET typedef struct _acmeid { __union { unsigned int acmeid$l_agent_id; /* Composite id */ __struct { unsigned acmeid$v_acme_num : 15; /* ACME agent number */ unsigned acmeid$v_doi_designator : 1; /* Registered DOI */ unsigned acmeid$v_server_num : 16; /* Server number */ } acmeid$r_fill_21_; } acmeid$r_fill_20_; } ACMEID; #if !defined(__VAXC) #define acmeid$l_agent_id acmeid$r_fill_20_.acmeid$l_agent_id #define acmeid$v_acme_num acmeid$r_fill_20_.acmeid$r_fill_21_.acmeid$v_acme_num #define acmeid$v_doi_designator acmeid$r_fill_20_.acmeid$r_fill_21_.acmeid$v_doi_designator #define acmeid$v_server_num acmeid$r_fill_20_.acmeid$r_fill_21_.acmeid$v_server_num #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ typedef struct _acmeid { __union { unsigned int acmeid$l_agent_id; /* Composite id */ __struct { unsigned acmeid$v_acme_num : 15; /* ACME agent number */ unsigned acmeid$v_doi_designator : 1; /* Registered DOI */ unsigned acmeid$v_server_num : 16; /* Server number */ } acmeid$r_fill_21_; } acmeid$r_fill_20_; } acmeid; #if !defined(__VAXC) #define acmeid$l_agent_id acmeid$r_fill_20_.acmeid$l_agent_id #define acmeid$v_acme_num acmeid$r_fill_20_.acmeid$r_fill_21_.acmeid$v_acme_num #define acmeid$v_doi_designator acmeid$r_fill_20_.acmeid$r_fill_21_.acmeid$v_doi_designator #define acmeid$v_server_num acmeid$r_fill_20_.acmeid$r_fill_21_.acmeid$v_server_num #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #define ACMEID$K_LENGTH 4 #pragma __member_alignment __restore /*+ */ /* */ /* $ACM Function Codes and Modifiers */ /* */ /* Function code plus modifiers form a 32-bit unsigned value, encoded */ /* as follows: */ /* */ /* 3 2 2 1 1 */ /* 1 4 3 6 5 8 7 0 */ /* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ */ /* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | */ /* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ */ /* ^.............................^ ^.................^ ^.........^ */ /* | | | | | | */ /* | | | | +---------+-- Bit [5:0] = function code */ /* | | | | */ /* | | +-----------------+-------------- Bit [15:06] = cross function modifiers */ /* | | */ /* +-----------------------------+---------------------------------- Bit [31:16] = function specific modifiers */ /*- */ /* */ /* Function codes */ /* */ /* Function code values */ #define ACME$_AUTHENTICATE_PRINCIPAL 1 /* AUTHENTICATE_PRINCIPAL */ #define ACME$_CHANGE_PASSWORD 2 /* CHANGE_PASSWORD */ #define ACME$_RELEASE_CREDENTIALS 3 /* RELEASE_CREDENTIALS */ #define ACME$_QUERY 4 /* QUERY */ #define ACME$_EVENT 5 /* EVENT */ /* Function code value */ #define ACME$_FREE_CONTEXT 63 /* FREE_CONTEXT */ /* Function code values */ #define ACME$_FC_AUTHENTICATE_PRINCIPAL 1 /* AUTHENTICATE_PRINCIPAL */ #define ACME$_FC_CHANGE_PASSWORD 2 /* CHANGE_PASSWORD */ #define ACME$_FC_RELEASE_CREDENTIALS 3 /* RELEASE_CREDENTIALS */ #define ACME$_FC_QUERY 4 /* QUERY */ #define ACME$_FC_EVENT 5 /* EVENT */ /* Function code value */ #define ACME$_FC_FREE_CONTEXT 63 /* FREE_CONTEXT */ #pragma __member_alignment __save #pragma __nomember_alignment #define ACMEFC$M_FUNCTION 0x3F #define ACMEFC$M_MODIFIERS 0xFFFFFFC0 #define ACME$M_NOAUDIT 0x40 #define ACME$M_TIMEOUT 0x80 #define ACME$M_UCS2_4 0x8000 #define ACME$M_ACQUIRE_CREDENTIALS 0x10000 #define ACME$M_MERGE_PERSONA 0x20000 #define ACME$M_COPY_PERSONA 0x40000 #define ACME$M_OVERRIDE_MAPPING 0x80000 #define ACME$M_NATIVE_AUTHENTICATION 0x100000 #define ACME$M_NOAUTHORIZATION 0x200000 #define ACME$M_FOREIGN_POLICY_HINTS 0x400000 #define ACME$M_DEFAULT_PRINCIPAL 0x800000 #ifdef __NEW_STARLET typedef struct _acmefc { __union { /* */ /* Overall function code/modifiers structure */ /* */ __union { unsigned int acmefc$l_fcode_struct; /* Composite field */ __struct { unsigned acmefc$v_function : 6; /* Function code */ unsigned acmefc$v_modifiers : 26; /* Function modifiers */ } acmefc$r_fill_23_; } acmefc$r_fill_22_; /* */ /* Modifiers applicable to all function codes */ /* */ __union { unsigned int acme$l_gen_mod; __struct { unsigned acme$v_gen_mod_fill_1 : 6; unsigned acme$v_noaudit : 1; /* Suppress auditing */ unsigned acme$v_timeout : 1; /* Timed operation */ unsigned acme$v_gen_mod_fill_2 : 7; unsigned acme$v_ucs2_4 : 1; /* Strings are in 4-byte UCS-2 format */ unsigned acme$v_gen_mod_fill_3 : 16; } acme$r_fill_25_; } acmefc$r_fill_24_; /* */ /* Modifiers applicable to AUTHENTICATE_PRINCIPAL/CHANGE_PASSWORD */ /* */ __union { unsigned int acme$l_auth_mod; __struct { unsigned acme$v_auth_mod_fill_1 : 16; unsigned acme$v_acquire_credentials : 1; /* Acquire credentials */ unsigned acme$v_merge_persona : 1; /* Merge with base credentials */ unsigned acme$v_copy_persona : 1; /* Copy base credentials */ unsigned acme$v_override_mapping : 1; /* Override VMS username mapping checks */ unsigned acme$v_native_authentication : 1; /* Allow native DOI authentication */ unsigned acme$v_noauthorization : 1; /* Skip authorization checks */ unsigned acme$v_foreign_policy_hints : 1; /* Honor NOAUDIT and NOAUTHORIZATION */ /* for non-native authentications */ unsigned acme$v_default_principal : 1; /* Use principal name and DOI */ /* designator defined by the */ /* primary persona extension */ unsigned acme$v_auth_mod_fill_2 : 8; } acme$r_fill_27_; } acmefc$r_fill_26_; } acmefc$r_overlay; } ACMEFC; #if !defined(__VAXC) #define acmefc$l_fcode_struct acmefc$r_overlay.acmefc$r_fill_22_.acmefc$l_fcode_struct #define acmefc$v_function acmefc$r_overlay.acmefc$r_fill_22_.acmefc$r_fill_23_.acmefc$v_function #define acmefc$v_modifiers acmefc$r_overlay.acmefc$r_fill_22_.acmefc$r_fill_23_.acmefc$v_modifiers #define acme$v_noaudit acmefc$r_overlay.acmefc$r_fill_24_.acme$r_fill_25_.acme$v_noaudit #define acme$v_timeout acmefc$r_overlay.acmefc$r_fill_24_.acme$r_fill_25_.acme$v_timeout #define acme$v_ucs2_4 acmefc$r_overlay.acmefc$r_fill_24_.acme$r_fill_25_.acme$v_ucs2_4 #define acme$v_acquire_credentials acmefc$r_overlay.acmefc$r_fill_26_.acme$r_fill_27_.acme$v_acquire_credentials #define acme$v_merge_persona acmefc$r_overlay.acmefc$r_fill_26_.acme$r_fill_27_.acme$v_merge_persona #define acme$v_copy_persona acmefc$r_overlay.acmefc$r_fill_26_.acme$r_fill_27_.acme$v_copy_persona #define acme$v_override_mapping acmefc$r_overlay.acmefc$r_fill_26_.acme$r_fill_27_.acme$v_override_mapping #define acme$v_native_authentication acmefc$r_overlay.acmefc$r_fill_26_.acme$r_fill_27_.acme$v_native_authentication #define acme$v_noauthorization acmefc$r_overlay.acmefc$r_fill_26_.acme$r_fill_27_.acme$v_noauthorization #define acme$v_foreign_policy_hints acmefc$r_overlay.acmefc$r_fill_26_.acme$r_fill_27_.acme$v_foreign_policy_hints #define acme$v_default_principal acmefc$r_overlay.acmefc$r_fill_26_.acme$r_fill_27_.acme$v_default_principal #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ typedef struct _acmefc { __union { /* */ /* Overall function code/modifiers structure */ /* */ __union { unsigned int acmefc$l_fcode_struct; /* Composite field */ __struct { unsigned acmefc$v_function : 6; /* Function code */ unsigned acmefc$v_modifiers : 26; /* Function modifiers */ } acmefc$r_fill_23_; } acmefc$r_fill_22_; /* */ /* Modifiers applicable to all function codes */ /* */ __union { unsigned int acme$l_gen_mod; __struct { unsigned acme$v_gen_mod_fill_1 : 6; unsigned acme$v_noaudit : 1; /* Suppress auditing */ unsigned acme$v_timeout : 1; /* Timed operation */ unsigned acme$v_gen_mod_fill_2 : 7; unsigned acme$v_ucs2_4 : 1; /* Strings are in 4-byte UCS-2 format */ unsigned acme$v_gen_mod_fill_3 : 16; } acme$r_fill_25_; } acmefc$r_fill_24_; /* */ /* Modifiers applicable to AUTHENTICATE_PRINCIPAL/CHANGE_PASSWORD */ /* */ __union { unsigned int acme$l_auth_mod; __struct { unsigned acme$v_auth_mod_fill_1 : 16; unsigned acme$v_acquire_credentials : 1; /* Acquire credentials */ unsigned acme$v_merge_persona : 1; /* Merge with base credentials */ unsigned acme$v_copy_persona : 1; /* Copy base credentials */ unsigned acme$v_override_mapping : 1; /* Override VMS username mapping checks */ unsigned acme$v_native_authentication : 1; /* Allow native DOI authentication */ unsigned acme$v_noauthorization : 1; /* Skip authorization checks */ unsigned acme$v_foreign_policy_hints : 1; /* Honor NOAUDIT and NOAUTHORIZATION */ /* for non-native authentications */ unsigned acme$v_default_principal : 1; /* Use principal name and DOI */ /* designator defined by the */ /* primary persona extension */ unsigned acme$v_auth_mod_fill_2 : 8; } acme$r_fill_27_; } acmefc$r_fill_26_; } acmefc$r_overlay; } acmefc; #if !defined(__VAXC) #define acmefc$l_fcode_struct acmefc$r_overlay.acmefc$r_fill_22_.acmefc$l_fcode_struct #define acmefc$v_function acmefc$r_overlay.acmefc$r_fill_22_.acmefc$r_fill_23_.acmefc$v_function #define acmefc$v_modifiers acmefc$r_overlay.acmefc$r_fill_22_.acmefc$r_fill_23_.acmefc$v_modifiers #define acme$v_noaudit acmefc$r_overlay.acmefc$r_fill_24_.acme$r_fill_25_.acme$v_noaudit #define acme$v_timeout acmefc$r_overlay.acmefc$r_fill_24_.acme$r_fill_25_.acme$v_timeout #define acme$v_ucs2_4 acmefc$r_overlay.acmefc$r_fill_24_.acme$r_fill_25_.acme$v_ucs2_4 #define acme$v_acquire_credentials acmefc$r_overlay.acmefc$r_fill_26_.acme$r_fill_27_.acme$v_acquire_credentials #define acme$v_merge_persona acmefc$r_overlay.acmefc$r_fill_26_.acme$r_fill_27_.acme$v_merge_persona #define acme$v_copy_persona acmefc$r_overlay.acmefc$r_fill_26_.acme$r_fill_27_.acme$v_copy_persona #define acme$v_override_mapping acmefc$r_overlay.acmefc$r_fill_26_.acme$r_fill_27_.acme$v_override_mapping #define acme$v_native_authentication acmefc$r_overlay.acmefc$r_fill_26_.acme$r_fill_27_.acme$v_native_authentication #define acme$v_noauthorization acmefc$r_overlay.acmefc$r_fill_26_.acme$r_fill_27_.acme$v_noauthorization #define acme$v_foreign_policy_hints acmefc$r_overlay.acmefc$r_fill_26_.acme$r_fill_27_.acme$v_foreign_policy_hints #define acme$v_default_principal acmefc$r_overlay.acmefc$r_fill_26_.acme$r_fill_27_.acme$v_default_principal #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #define ACMEFC$K_LENGTH 4 #pragma __member_alignment __restore /*+ */ /* */ /* $ACM Item Codes */ /* */ /* Item codes are 16-bit unsigned values, encoded as follows: */ /* */ /* 1 */ /* 5 8 7 0 */ /* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ */ /* | | | | | | | | | | | | | | | | | */ /* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ */ /* ^ ^ ^ ^ ^ */ /* | | | | | */ /* | | | +-----------------------+-- Bit [12:0] = item */ /* | | | */ /* | | +---------------------------- Bit [13] = 0 ==> not subject to VTF-7 <-> UCS conversion */ /* | | 1 ==> subject to VTF-7 <-> UCS conversion */ /* | | */ /* | +------------------------------ Bit [14] = 0 ==> input item */ /* | 1 ==> output item */ /* | */ /* +-------------------------------- Bit [15] = 0 ==> common item */ /* 1 ==> ACME specific item */ /* */ /*- */ /* Specialty */ /* Cross function */ /* AUTHENTICATE_PRINCIPAL/CHANGE_PASSWORD */ /* RELEASE_CREDENTIALS */ /* QUERY */ /* EVENT */ #pragma __member_alignment __save #pragma __nomember_alignment #define ACMEIC$M_ITEM 0x1FFF #define ACMEIC$M_UCS 0x2000 #define ACMEIC$M_OUTPUT 0x4000 #define ACMEIC$M_ACME_SPECIFIC 0x8000 #ifdef __NEW_STARLET typedef struct _acmeic { __union { unsigned short int acmeic$w_item_code; /* Composite field */ __struct { unsigned acmeic$v_item : 13; /* Ranged value */ unsigned acmeic$v_ucs : 1; /* 0 ==> not subject to VTF-7 <-> UCS conversion */ /* 1 ==> subject to VTF-7 <-> UCS conversion */ unsigned acmeic$v_output : 1; /* 0 ==> input item */ /* 1 ==> output item */ unsigned acmeic$v_acme_specific : 1; /* 0 ==> common item */ /* 1 ==> ACME specific item */ } acmeic$r_fill_29_; } acmeic$r_fill_28_; } ACMEIC; #if !defined(__VAXC) #define acmeic$w_item_code acmeic$r_fill_28_.acmeic$w_item_code #define acmeic$v_item acmeic$r_fill_28_.acmeic$r_fill_29_.acmeic$v_item #define acmeic$v_ucs acmeic$r_fill_28_.acmeic$r_fill_29_.acmeic$v_ucs #define acmeic$v_output acmeic$r_fill_28_.acmeic$r_fill_29_.acmeic$v_output #define acmeic$v_acme_specific acmeic$r_fill_28_.acmeic$r_fill_29_.acmeic$v_acme_specific #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ typedef struct _acmeic { __union { unsigned short int acmeic$w_item_code; /* Composite field */ __struct { unsigned acmeic$v_item : 13; /* Ranged value */ unsigned acmeic$v_ucs : 1; /* 0 ==> not subject to VTF-7 <-> UCS conversion */ /* 1 ==> subject to VTF-7 <-> UCS conversion */ unsigned acmeic$v_output : 1; /* 0 ==> input item */ /* 1 ==> output item */ unsigned acmeic$v_acme_specific : 1; /* 0 ==> common item */ /* 1 ==> ACME specific item */ } acmeic$r_fill_29_; } acmeic$r_fill_28_; } acmeic; #if !defined(__VAXC) #define acmeic$w_item_code acmeic$r_fill_28_.acmeic$w_item_code #define acmeic$v_item acmeic$r_fill_28_.acmeic$r_fill_29_.acmeic$v_item #define acmeic$v_ucs acmeic$r_fill_28_.acmeic$r_fill_29_.acmeic$v_ucs #define acmeic$v_output acmeic$r_fill_28_.acmeic$r_fill_29_.acmeic$v_output #define acmeic$v_acme_specific acmeic$r_fill_28_.acmeic$r_fill_29_.acmeic$v_acme_specific #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #define ACMEIC$K_LENGTH 2 #pragma __member_alignment __restore /* */ /* Input item codes not subject to VTF-7 <-> UCS conversion */ /* */ #define ACME$_MIN_SPEC_IN 1 /* Specialty items */ #define ACME$_NULL 1 /* Place holder item (skip entry in item list) */ #define ACME$_CHAIN 2 /* Chain to another item list segment */ #define ACME$_MAX_SPEC_IN 2 #define ACME$_MIN_GEN_IN 256 /* Generic items */ #define ACME$_ACCESS_MODE 256 /* Access mode for persona operations */ #define ACME$_DIALOGUE_SUPPORT 257 /* Dialogue capabilities */ #define ACME$_CONTEXT_ACME_ID 258 /* ID of ACME for specific context */ #define ACME$_PERSONA_HANDLE_IN 259 /* Target persona */ #define ACME$_TARGET_DOI_ID 260 /* ID of DOI for a directed call */ #define ACME$_TIMEOUT_INTERVAL 261 /* Timeout interval in seconds */ #define ACME$_MAX_GEN_IN 261 #define ACME$_MIN_AUTH_PWD_IN 512 /* AUTHENTICATE_PRINCIPAL/CHANGE_PASSWORD items */ #define ACME$_AUTH_MECHANISM 512 /* Authentication mechanism */ #define ACME$_CHALLENGE_DATA 513 /* Challenge data */ #define ACME$_LOGON_TYPE 514 /* Logon type */ #define ACME$_NEW_PASSWORD_FLAGS 515 /* New password request/control flags */ #define ACME$_REMOTE_HOST_ADDRESS 516 /* Remote host address */ #define ACME$_REMOTE_HOST_ADDRESS_TYPE 517 /* Remote host address type/format */ #define ACME$_RESPONSE_DATA 518 /* Response data */ #define ACME$_MAX_AUTH_PWD_IN 518 #define ACME$_MIN_REL_CRED_IN 768 /* RELEASE_CREDENTIALS items */ #define ACME$_CREDENTIALS_TYPE 768 /* Index associated with persona extension */ #define ACME$_MAX_REL_CRED_IN 768 #define ACME$_MIN_QUERY_IN 1024 /* QUERY items */ #define ACME$_QUERY_KEY_TYPE 1024 /* Key type */ #define ACME$_QUERY_KEY_VALUE 1025 /* Key value */ #define ACME$_QUERY_TYPE 1026 /* Type of data to be returned via QUERY_DATA */ #define ACME$_MAX_QUERY_IN 1026 #define ACME$_MIN_EVENT_IN 1280 /* EVENT items */ #define ACME$_EVENT_DATA_IN 1280 /* Event function input data */ #define ACME$_EVENT_TYPE 1281 /* Event type */ #define ACME$_MAX_EVENT_IN 1281 /* */ /* Input item codes subject to VTF-7 <-> UCS conversion */ /* */ #define ACME$_MIN_GEN_IN_UCS 8448 /* Generic items */ #define ACME$_CONTEXT_ACME_NAME 8448 /* Name of ACME for specific context */ #define ACME$_LOCALE 8449 /* Language specifier (location) */ #define ACME$_TARGET_DOI_NAME 8450 /* Name of DOI for a directed call */ #define ACME$_SERVER_NAME_IN 8451 /* ACME relative server name */ #define ACME$_SERVICE_NAME 8452 /* Caller's service name */ #define ACME$_MAX_GEN_IN_UCS 8452 #define ACME$_MIN_AUTH_PWD_IN_UCS 8704 /* AUTHENTICATE_PRINCIPAL/CHANGE_PASSWORD items */ #define ACME$_ACCESS_PORT 8704 /* Access port name */ #define ACME$_NEW_PASSWORD_1 8705 /* New primary password */ #define ACME$_NEW_PASSWORD_2 8706 /* New secondary password */ #define ACME$_NEW_PASSWORD_SYSTEM 8707 /* New system password */ #define ACME$_PASSWORD_1 8708 /* Primary password */ #define ACME$_PASSWORD_2 8709 /* Secondary password */ #define ACME$_PASSWORD_SYSTEM 8710 /* System password */ #define ACME$_PRINCIPAL_NAME_IN 8711 /* Principal name */ #define ACME$_REMOTE_HOST_FULLNAME 8712 /* Remote host expanded name */ #define ACME$_REMOTE_HOST_NAME 8713 /* Remote host name */ #define ACME$_REMOTE_USERNAME 8714 /* Remote username */ #define ACME$_MAX_AUTH_PWD_IN_UCS 8714 #define ACME$_MIN_REL_CRED_IN_UCS 8960 /* RELEASE_CREDENTIALS items */ #define ACME$_CREDENTIALS_NAME 8960 /* Name associated with persona extension */ #define ACME$_MAX_REL_CRED_IN_UCS 8960 /* */ /* Output item codes not subject to VTF-7 <-> UCS conversion */ /* */ #define ACME$_MIN_SPEC_OUT 16385 /* Specialty items */ #define ACME$_PHASE_TRANSITION 16385 #define ACME$_MAX_SPEC_OUT 16385 #define ACME$_MIN_GEN_OUT 16640 /* Generic items */ #define ACME$_PERSONA_HANDLE_OUT 16640 /* Persona acted upon */ #define ACME$_MAX_GEN_OUT 16640 #define ACME$_MIN_AUTH_PWD_OUT 16896 /* AUTHENTICATE_PRINCIPAL/CHANGE_PASSWORD items */ #define ACME$_AUTHENTICATING_DOI_ID 16896 /* ID of DOI accepting principal */ #define ACME$_LOGON_INFORMATION 16897 /* Logon information */ #define ACME$_MAPPING_ACME_ID 16898 /* ID of ACME mapping principal */ #define ACME$_MAX_AUTH_PWD_OUT 16898 #define ACME$_MIN_QUERY_OUT 17408 /* QUERY items */ #define ACME$_QUERY_DATA 17408 /* Query function output data */ #define ACME$_MAX_QUERY_OUT 17408 #define ACME$_MIN_EVENT_OUT 17664 /* EVENT items */ #define ACME$_EVENT_DATA_OUT 17664 /* Event function output data */ #define ACME$_MAX_EVENT_OUT 17664 /* */ /* Output item codes subject to VTF-7 <-> UCS conversion */ /* */ #define ACME$_MIN_GEN_OUT_UCS 24832 /* Generic items */ #define ACME$_SERVER_NAME_OUT 24832 /* ACME relative server name */ #define ACME$_MAX_GEN_OUT_UCS 24832 #define ACME$_MIN_AUTH_PWD_OUT_UCS 25088 /* AUTHENTICATE_PRINCIPAL/CHANGE_PASSWORD items */ #define ACME$_AUTHENTICATING_DOI_NAME 25088 /* Name of DOI accepting principal */ #define ACME$_MAPPED_VMS_USERNAME 25089 /* Resultant VMS Username */ #define ACME$_MAPPING_ACME_NAME 25090 /* Name of ACME mapping principal */ #define ACME$_PRINCIPAL_NAME_OUT 25091 /* Processed principal name */ #define ACME$_MAX_AUTH_PWD_OUT_UCS 25091 /* */ /* Logon (Job) Type Values */ /* */ #define ACME$K_NETWORK 1 #define ACME$K_BATCH 2 #define ACME$K_LOCAL 3 #define ACME$K_DIALUP 4 #define ACME$K_REMOTE 5 /*+ */ /* */ /* Revision Level */ /* */ /* Revision level is a 16-bit unsigned value, encoded as follows: */ /* */ /* 1 */ /* 5 8 7 0 */ /* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ */ /* | | | | | | | | | | | | | | | | | */ /* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ */ /* ^.............^ ^.............^ */ /* | | | | */ /* | | +-------------+-- Bit [7:0] = revision minor id */ /* | | */ /* +-------------+------------------ Bit [15:8] = revision major id */ /* */ /*- */ #pragma __member_alignment __save #pragma __nomember_alignment #define ACMEREVLVL$K_MINOR_ID_BITPOS 0 #define ACMEREVLVL$K_MAJOR_ID_BITPOS 8 #ifdef __NEW_STARLET typedef struct _acmerevlvl { __union { unsigned short int acmerevlvl$w_revision_level; /* Composite field */ __struct { unsigned char acmerevlvl$b_minor_id; /* Revision level minor id */ unsigned char acmerevlvl$b_major_id; /* Revision level major id */ } acmerevlvl$r_fill_31_; } acmerevlvl$r_fill_30_; } ACMEREVLVL; #if !defined(__VAXC) #define acmerevlvl$w_revision_level acmerevlvl$r_fill_30_.acmerevlvl$w_revision_level #define acmerevlvl$b_minor_id acmerevlvl$r_fill_30_.acmerevlvl$r_fill_31_.acmerevlvl$b_minor_id #define acmerevlvl$b_major_id acmerevlvl$r_fill_30_.acmerevlvl$r_fill_31_.acmerevlvl$b_major_id #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ typedef struct _acmerevlvl { __union { unsigned short int acmerevlvl$w_revision_level; /* Composite field */ __struct { unsigned char acmerevlvl$b_minor_id; /* Revision level minor id */ unsigned char acmerevlvl$b_major_id; /* Revision level major id */ } acmerevlvl$r_fill_31_; } acmerevlvl$r_fill_30_; } acmerevlvl; #if !defined(__VAXC) #define acmerevlvl$w_revision_level acmerevlvl$r_fill_30_.acmerevlvl$w_revision_level #define acmerevlvl$b_minor_id acmerevlvl$r_fill_30_.acmerevlvl$r_fill_31_.acmerevlvl$b_minor_id #define acmerevlvl$b_major_id acmerevlvl$r_fill_30_.acmerevlvl$r_fill_31_.acmerevlvl$b_major_id #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #define ACMEREVLVL$K_LENGTH 2 #pragma __member_alignment __restore /*+ */ /* */ /* Authentication Mechanism */ /* */ /* Authentication mechanism is a 16-bit unsigned value, encoded as follows: */ /* */ /* 3 2 2 1 1 */ /* 1 4 3 6 5 8 7 0 */ /* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ */ /* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | */ /* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ */ /* ^.............................^ ^ ^...........................^ */ /* | | | | | */ /* | | | +---------------------------+-- Bit [14:0] = authentication mechanism */ /* | | | */ /* | | +-------------------------------- Bit [15] = 0 ==> standard mechanism */ /* | | 1 ==> vendor specific mechanism */ /* | | */ /* +-----------------------------+---------------------------------- Bit [31:16] = vendor's facility code */ /* */ /*- */ /* */ /* Standard mechanism types */ /* */ #define ACMEMECH$K_PASSWORD 1 /* Username-Password */ #define ACMEMECH$K_CHALLENGE_RESPONSE 2 /* Challenge-Response */ #pragma __member_alignment __save #pragma __nomember_alignment #define ACMEMECH$M_MECHANISM_TYPE 0x7FFF #define ACMEMECH$M_FACILITY_SPECIFIC 0x8000 #ifdef __NEW_STARLET typedef struct _acmemech { __union { unsigned short int acmemech$w_mechanism; /* Composite field */ __struct { unsigned acmemech$v_mechanism_type : 15; /* Authentication mechanism */ unsigned acmemech$v_facility_specific : 1; /* 0 ==> standard mechanism */ /* 1 ==> facility specific mechanism */ } acmemech$r_fill_33_; } acmemech$r_fill_32_; unsigned short int acmemech$w_facility; /* Vendor's assigned facility code */ } ACMEMECH; #if !defined(__VAXC) #define acmemech$w_mechanism acmemech$r_fill_32_.acmemech$w_mechanism #define acmemech$v_mechanism_type acmemech$r_fill_32_.acmemech$r_fill_33_.acmemech$v_mechanism_type #define acmemech$v_facility_specific acmemech$r_fill_32_.acmemech$r_fill_33_.acmemech$v_facility_specific #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ typedef struct _acmemech { __union { unsigned short int acmemech$w_mechanism; /* Composite field */ __struct { unsigned acmemech$v_mechanism_type : 15; /* Authentication mechanism */ unsigned acmemech$v_facility_specific : 1; /* 0 ==> standard mechanism */ /* 1 ==> facility specific mechanism */ } acmemech$r_fill_33_; } acmemech$r_fill_32_; unsigned short int acmemech$w_facility; /* Vendor's assigned facility code */ } acmemech; #if !defined(__VAXC) #define acmemech$w_mechanism acmemech$r_fill_32_.acmemech$w_mechanism #define acmemech$v_mechanism_type acmemech$r_fill_32_.acmemech$r_fill_33_.acmemech$v_mechanism_type #define acmemech$v_facility_specific acmemech$r_fill_32_.acmemech$r_fill_33_.acmemech$v_facility_specific #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #define ACMEMECH$K_LENGTH 4 #pragma __member_alignment __restore /*+ */ /* */ /* Remote Host Address Type */ /* */ /* Remote host address type is a 16-bit unsigned value, encoded as follows: */ /* */ /* 3 2 2 1 1 */ /* 1 4 3 6 5 8 7 0 */ /* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ */ /* | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | */ /* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ */ /* ^.............................^ ^ ^...........................^ */ /* | | | | | */ /* | | | +---------------------------+-- Bit [14:0] = network protocol (address format) */ /* | | | */ /* | | +-------------------------------- Bit [15] = 0 ==> standard protocol */ /* | | 1 ==> vendor specific protocol */ /* | | */ /* +-----------------------------+---------------------------------- Bit [31:16] = vendor's facility code */ /* */ /*- */ /* */ /* Standard protocol types */ /* */ #define ACMEHAT$K_DECNET_IV 1 /* DECnet Phase IV */ #define ACMEHAT$K_DECNET_OSI 2 /* DECnet OSI */ #define ACMEHAT$K_IP_V4 3 /* Internet Protocol V4 */ #define ACMEHAT$K_IP_V6 4 /* Internet Protocol V6 */ #pragma __member_alignment __save #pragma __nomember_alignment #define ACMEHAT$M_PROTOCOL_TYPE 0x7FFF #define ACMEHAT$M_FACILITY_SPECIFIC 0x8000 #ifdef __NEW_STARLET typedef struct _acmehat { __union { unsigned short int acmehat$w_protocol; /* Composite field */ __struct { unsigned acmehat$v_protocol_type : 15; /* Network protocol/address format */ unsigned acmehat$v_facility_specific : 1; /* 0 ==> standard protocol */ /* 1 ==> facility specific protocol */ } acmehat$r_fill_35_; } acmehat$r_fill_34_; unsigned short int acmehat$w_facility; /* Vendor's assigned facility code */ } ACMEHAT; #if !defined(__VAXC) #define acmehat$w_protocol acmehat$r_fill_34_.acmehat$w_protocol #define acmehat$v_protocol_type acmehat$r_fill_34_.acmehat$r_fill_35_.acmehat$v_protocol_type #define acmehat$v_facility_specific acmehat$r_fill_34_.acmehat$r_fill_35_.acmehat$v_facility_specific #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ typedef struct _acmehat { __union { unsigned short int acmehat$w_protocol; /* Composite field */ __struct { unsigned acmehat$v_protocol_type : 15; /* Network protocol/address format */ unsigned acmehat$v_facility_specific : 1; /* 0 ==> standard protocol */ /* 1 ==> facility specific protocol */ } acmehat$r_fill_35_; } acmehat$r_fill_34_; unsigned short int acmehat$w_facility; /* Vendor's assigned facility code */ } acmehat; #if !defined(__VAXC) #define acmehat$w_protocol acmehat$r_fill_34_.acmehat$w_protocol #define acmehat$v_protocol_type acmehat$r_fill_34_.acmehat$r_fill_35_.acmehat$v_protocol_type #define acmehat$v_facility_specific acmehat$r_fill_34_.acmehat$r_fill_35_.acmehat$v_facility_specific #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #define ACMEHAT$K_LENGTH 4 #pragma __member_alignment __restore /*+ */ /* */ /* Password change request control flags */ /* */ /*- */ #pragma __member_alignment __save #pragma __nomember_alignment #define ACMEPWDFLG$K_SYSTEM 0 #define ACMEPWDFLG$M_SYSTEM 0x1 #define ACMEPWDFLG$K_PASSWORD_1 1 #define ACMEPWDFLG$M_PASSWORD_1 0x2 #define ACMEPWDFLG$K_PASSWORD_2 2 #define ACMEPWDFLG$M_PASSWORD_2 0x4 #define ACMEPWDFLG$K_MAX_FLAGS 3 #define ACMEPWDFLG$K_SPECIFIED 31 #define ACMEPWDFLG$M_SPECIFIED 0x80000000 #define ACMEPWDFLG$M_VALID_FLAGS 0x7 #define ACMEPWDFLG$M_PASSWORD_FLAGS 0x7FFFFFFF #ifdef __NEW_STARLET typedef struct _acmepwdflg { __union { __union { unsigned int acmepwdflg$l_flags_struct; /* Composite field */ __struct { unsigned acmepwdflg$v_system : 1; /* Request system password change */ unsigned acmepwdflg$v_password_1 : 1; /* Request password 1 change */ unsigned acmepwdflg$v_password_2 : 1; /* Request password 2 change */ unsigned acmepwdflg$v_pwd_flg_fill_1 : 28; unsigned acmepwdflg$v_specified : 1; /* Used internally by the service */ /* to indicate flags reflect caller */ /* specified NEW_PASSWORD_FLAGS item */ /* Caller's setting is ignored */ } acmepwdflg$r_fill_37_; } acmepwdflg$r_fill_36_; unsigned acmepwdflg$v_valid_flags : 3; /* Currently defined flags */ unsigned acmepwdflg$v_password_flags : 31; /* Non-reserved flags */ } acmepwdflg$r_overlay; } ACMEPWDFLG; #if !defined(__VAXC) #define acmepwdflg$l_flags_struct acmepwdflg$r_overlay.acmepwdflg$r_fill_36_.acmepwdflg$l_flags_struct #define acmepwdflg$v_system acmepwdflg$r_overlay.acmepwdflg$r_fill_36_.acmepwdflg$r_fill_37_.acmepwdflg$v_system #define acmepwdflg$v_password_1 acmepwdflg$r_overlay.acmepwdflg$r_fill_36_.acmepwdflg$r_fill_37_.acmepwdflg$v_password_1 #define acmepwdflg$v_password_2 acmepwdflg$r_overlay.acmepwdflg$r_fill_36_.acmepwdflg$r_fill_37_.acmepwdflg$v_password_2 #define acmepwdflg$v_specified acmepwdflg$r_overlay.acmepwdflg$r_fill_36_.acmepwdflg$r_fill_37_.acmepwdflg$v_specified #define acmepwdflg$v_valid_flags acmepwdflg$r_overlay.acmepwdflg$v_valid_flags #define acmepwdflg$v_password_flags acmepwdflg$r_overlay.acmepwdflg$v_password_flags #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ typedef struct _acmepwdflg { __union { __union { unsigned int acmepwdflg$l_flags_struct; /* Composite field */ __struct { unsigned acmepwdflg$v_system : 1; /* Request system password change */ unsigned acmepwdflg$v_password_1 : 1; /* Request password 1 change */ unsigned acmepwdflg$v_password_2 : 1; /* Request password 2 change */ unsigned acmepwdflg$v_pwd_flg_fill_1 : 28; unsigned acmepwdflg$v_specified : 1; /* Used internally by the service */ /* to indicate flags reflect caller */ /* specified NEW_PASSWORD_FLAGS item */ /* Caller's setting is ignored */ } acmepwdflg$r_fill_37_; } acmepwdflg$r_fill_36_; unsigned acmepwdflg$v_valid_flags : 3; /* Currently defined flags */ unsigned acmepwdflg$v_password_flags : 31; /* Non-reserved flags */ } acmepwdflg$r_overlay; } acmepwdflg; #if !defined(__VAXC) #define acmepwdflg$l_flags_struct acmepwdflg$r_overlay.acmepwdflg$r_fill_36_.acmepwdflg$l_flags_struct #define acmepwdflg$v_system acmepwdflg$r_overlay.acmepwdflg$r_fill_36_.acmepwdflg$r_fill_37_.acmepwdflg$v_system #define acmepwdflg$v_password_1 acmepwdflg$r_overlay.acmepwdflg$r_fill_36_.acmepwdflg$r_fill_37_.acmepwdflg$v_password_1 #define acmepwdflg$v_password_2 acmepwdflg$r_overlay.acmepwdflg$r_fill_36_.acmepwdflg$r_fill_37_.acmepwdflg$v_password_2 #define acmepwdflg$v_specified acmepwdflg$r_overlay.acmepwdflg$r_fill_36_.acmepwdflg$r_fill_37_.acmepwdflg$v_specified #define acmepwdflg$v_valid_flags acmepwdflg$r_overlay.acmepwdflg$v_valid_flags #define acmepwdflg$v_password_flags acmepwdflg$r_overlay.acmepwdflg$v_password_flags #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #define ACMEPWDFLG$K_LENGTH 4 #pragma __member_alignment __restore /*+ */ /* */ /* $ACM Item Set Message Category */ /* */ /* Message Categories are 16-bit unsigned values, encoded as follows: */ /* */ /* 1 */ /* 5 8 7 0 */ /* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ */ /* | | | | | | | | | | | | | | | | | */ /* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ */ /* ^ ^ ^ ^ */ /* | | | | */ /* | | +-------------------------+-- Bit [13:0] = message type */ /* | | */ /* | +------------------------------ Bit [14] = 0 ==> not subject to VTF-7 <-> UCS conversion */ /* | = 1 ==> subject to VTF-7 <-> UCS conversion */ /* | */ /* +-------------------------------- Bit [15] = 0 ==> common item */ /* 1 ==> ACME specific item */ /* */ /*- */ #pragma __member_alignment __save #pragma __nomember_alignment #define ACMEMC$M_TYPE 0x3FFF #define ACMEMC$M_UCS 0x4000 #define ACMEMC$M_ACME_SPECIFIC 0x8000 #ifdef __NEW_STARLET typedef struct _acmemc { __union { unsigned short int acmemc$w_msg_code; /* Composite field */ __struct { unsigned acmemc$v_type : 14; /* Ranged value */ unsigned acmemc$v_ucs : 1; /* 0 ==> not subject to VTF-7 <-> UCS conversion */ /* 1 ==> subject to VTF-7 <-> UCS conversion */ unsigned acmemc$v_acme_specific : 1; /* 0 ==> common category */ /* 1 ==> ACME specific category */ } acmemc$r_fill_39_; } acmemc$r_fill_38_; } ACMEMC; #if !defined(__VAXC) #define acmemc$w_msg_code acmemc$r_fill_38_.acmemc$w_msg_code #define acmemc$v_type acmemc$r_fill_38_.acmemc$r_fill_39_.acmemc$v_type #define acmemc$v_ucs acmemc$r_fill_38_.acmemc$r_fill_39_.acmemc$v_ucs #define acmemc$v_acme_specific acmemc$r_fill_38_.acmemc$r_fill_39_.acmemc$v_acme_specific #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ typedef struct _acmemc { __union { unsigned short int acmemc$w_msg_code; /* Composite field */ __struct { unsigned acmemc$v_type : 14; /* Ranged value */ unsigned acmemc$v_ucs : 1; /* 0 ==> not subject to VTF-7 <-> UCS conversion */ /* 1 ==> subject to VTF-7 <-> UCS conversion */ unsigned acmemc$v_acme_specific : 1; /* 0 ==> common category */ /* 1 ==> ACME specific category */ } acmemc$r_fill_39_; } acmemc$r_fill_38_; } acmemc; #if !defined(__VAXC) #define acmemc$w_msg_code acmemc$r_fill_38_.acmemc$w_msg_code #define acmemc$v_type acmemc$r_fill_38_.acmemc$r_fill_39_.acmemc$v_type #define acmemc$v_ucs acmemc$r_fill_38_.acmemc$r_fill_39_.acmemc$v_ucs #define acmemc$v_acme_specific acmemc$r_fill_38_.acmemc$r_fill_39_.acmemc$v_acme_specific #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #define ACMEMC$K_LENGTH 2 #pragma __member_alignment __restore /* */ /* Generic output message categories */ /* */ /* These are all subject to UCS conversion */ /* */ #define ACMEMC$K_MIN_GEN_MSG 16384 #define ACMEMC$K_GENERAL 16384 /* General text */ #define ACMEMC$K_HEADER 16385 /* Header text */ #define ACMEMC$K_TRAILER 16386 /* Trailer text */ #define ACMEMC$K_SELECTION 16387 /* Acceptable choices */ #define ACMEMC$K_DIALOGUE_ALERT 16388 /* Alert (advisory) */ #define ACMEMC$K_MAX_GEN_MSG 16388 /* */ /* LOGINOUT related output message categories */ /* */ /* These are all subject to UCS conversion */ /* */ #define ACMEMC$K_MIN_LOGON_MSG 16640 #define ACMEMC$K_SYSTEM_IDENTIFICATION 16640 /* System identification text */ #define ACMEMC$K_SYSTEM_NOTICES 16641 /* System notices */ #define ACMEMC$K_WELCOME_NOTICES 16642 /* Welcome notices, */ #define ACMEMC$K_LOGON_NOTICES 16643 /* Logon notices */ #define ACMEMC$K_PASSWORD_NOTICES 16644 /* Password notices */ #define ACMEMC$K_MAIL_NOTICES 16645 /* MAIL notices */ #define ACMEMC$K_MAX_LOGON_MSG 16645 /*+ */ /* */ /* ACMESB - ACM Status Block */ /* */ /*- */ #ifdef __NEW_STARLET #pragma __member_alignment typedef struct _acmesb { int acmesb$l_status; /* Primary status */ int acmesb$l_secondary_status; /* Auxillary (privileged) status */ ACMEID acmesb$l_acme_id; /* ID of ACME/DOI reporting specific status */ int acmesb$l_acme_status; /* ACME/DOI specific status */ } ACMESB; #else /* __OLD_STARLET */ typedef struct _acmesb { int acmesb$l_status; /* Primary status */ int acmesb$l_secondary_status; /* Auxillary (privileged) status */ acmeid acmesb$l_acme_id; /* ID of ACME/DOI reporting specific status */ int acmesb$l_acme_status; /* ACME/DOI specific status */ } acmesb; #endif /* #ifdef __NEW_STARLET */ #define ACMESB$K_LENGTH 16 /*+ */ /* */ /* ACMECB - ACM Communications Buffer */ /* */ /*- */ #pragma __member_alignment __save #pragma __nomember_alignment #define ACMEDLOGFLG$M_INPUT 0x1 #define ACMEDLOGFLG$M_NOECHO 0x2 #define ACMEDLOGFLG$M_SPECIFIED 0x80000000 #define ACMEDLOGFLG$M_VALID_FLAGS 0x3 #define ACMEDLOGFLG$M_DIALOGUE_FLAGS 0x7FFFFFFF #ifdef __NEW_STARLET typedef struct _acmedlogflg { __union { __union { unsigned int acmedlogflg$l_flags_struct; /* Composite field */ __struct { unsigned acmedlogflg$v_input : 1; /* Response required */ unsigned acmedlogflg$v_noecho : 1; /* When prompting, do not echo response */ unsigned acmedlogflg$v_dlog_flg_fill_1 : 29; unsigned acmedlogflg$v_specified : 1; /* Used internally by the service */ /* to indicate flags reflect caller */ /* specified DIALOGUE_SUPPORT item */ /* Caller's setting is ignored */ } acmedlogflg$r_fill_41_; } acmedlogflg$r_fill_40_; unsigned acmedlogflg$v_valid_flags : 2; /* Currently defined flags */ unsigned acmedlogflg$v_dialogue_flags : 31; /* Non-reserved flags */ } acmedlogflg$r_overlay; } ACMEDLOGFLG; #if !defined(__VAXC) #define acmedlogflg$l_flags_struct acmedlogflg$r_overlay.acmedlogflg$r_fill_40_.acmedlogflg$l_flags_struct #define acmedlogflg$v_input acmedlogflg$r_overlay.acmedlogflg$r_fill_40_.acmedlogflg$r_fill_41_.acmedlogflg$v_input #define acmedlogflg$v_noecho acmedlogflg$r_overlay.acmedlogflg$r_fill_40_.acmedlogflg$r_fill_41_.acmedlogflg$v_noecho #define acmedlogflg$v_specified acmedlogflg$r_overlay.acmedlogflg$r_fill_40_.acmedlogflg$r_fill_41_.acmedlogflg$v_specified #define acmedlogflg$v_valid_flags acmedlogflg$r_overlay.acmedlogflg$v_valid_flags #define acmedlogflg$v_dialogue_flags acmedlogflg$r_overlay.acmedlogflg$v_dialogue_flags #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ typedef struct _acmedlogflg { __union { __union { unsigned int acmedlogflg$l_flags_struct; /* Composite field */ __struct { unsigned acmedlogflg$v_input : 1; /* Response required */ unsigned acmedlogflg$v_noecho : 1; /* When prompting, do not echo response */ unsigned acmedlogflg$v_dlog_flg_fill_1 : 29; unsigned acmedlogflg$v_specified : 1; /* Used internally by the service */ /* to indicate flags reflect caller */ /* specified DIALOGUE_SUPPORT item */ /* Caller's setting is ignored */ } acmedlogflg$r_fill_41_; } acmedlogflg$r_fill_40_; unsigned acmedlogflg$v_valid_flags : 2; /* Currently defined flags */ unsigned acmedlogflg$v_dialogue_flags : 31; /* Non-reserved flags */ } acmedlogflg$r_overlay; } acmedlogflg; #if !defined(__VAXC) #define acmedlogflg$l_flags_struct acmedlogflg$r_overlay.acmedlogflg$r_fill_40_.acmedlogflg$l_flags_struct #define acmedlogflg$v_input acmedlogflg$r_overlay.acmedlogflg$r_fill_40_.acmedlogflg$r_fill_41_.acmedlogflg$v_input #define acmedlogflg$v_noecho acmedlogflg$r_overlay.acmedlogflg$r_fill_40_.acmedlogflg$r_fill_41_.acmedlogflg$v_noecho #define acmedlogflg$v_specified acmedlogflg$r_overlay.acmedlogflg$r_fill_40_.acmedlogflg$r_fill_41_.acmedlogflg$v_specified #define acmedlogflg$v_valid_flags acmedlogflg$r_overlay.acmedlogflg$v_valid_flags #define acmedlogflg$v_dialogue_flags acmedlogflg$r_overlay.acmedlogflg$v_dialogue_flags #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #define ACMEDLOGFLG$K_LENGTH 4 #pragma __member_alignment __restore #ifdef __NEW_STARLET typedef struct _acmeitmset { ACMEDLOGFLG acmeis$l_flags; /* Item set processing flags */ ACMEIC acmeis$w_item_code; /* Item code reflecting the nature of */ /* information provided/requested */ __union { unsigned short int acmeis$w_max_length; /* Maximum length of an input data */ ACMEMC acmeis$w_msg_type; /* Message category for output data */ } acmeis$r_itm_msg_ctl; unsigned __int64 acmeis$q_data_1; /* Data 1 (prompt text) */ unsigned __int64 acmeis$q_data_2; /* Data 2 (default response) */ } ACMEITMSET; #if !defined(__VAXC) #define acmeis$w_max_length acmeis$r_itm_msg_ctl.acmeis$w_max_length #define acmeis$w_msg_type acmeis$r_itm_msg_ctl.acmeis$w_msg_type #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ typedef struct _acmeitmset { acmedlogflg acmeis$l_flags; /* Item set processing flags */ acmeic acmeis$w_item_code; /* Item code reflecting the nature of */ /* information provided/requested */ __union { unsigned short int acmeis$w_max_length; /* Maximum length of an input data */ acmemc acmeis$w_msg_type; /* Message category for output data */ } acmeis$r_itm_msg_ctl; unsigned int acmeis$q_data_1 [2]; /* Data 1 (prompt text) */ unsigned int acmeis$q_data_2 [2]; /* Data 2 (default response) */ } acmeitmset; #if !defined(__VAXC) #define acmeis$w_max_length acmeis$r_itm_msg_ctl.acmeis$w_max_length #define acmeis$w_msg_type acmeis$r_itm_msg_ctl.acmeis$w_msg_type #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #define ACMEIS$K_LENGTH 24 #define ACMECB$K_MINOR_ID_000 0 #define ACMECB$K_MINOR_ID 0 #define ACMECB$K_MAJOR_ID_001 1 #define ACMECB$K_MAJOR_ID 1 #define ACMECB$K_REVISION 256 #ifdef __NEW_STARLET typedef struct _acmecb { unsigned __int64 acmecb$q_context_id; /* ID of associated ACM Request Block */ unsigned short int acmecb$w_size; /* Structure size, in bytes */ ACMEREVLVL acmecb$w_revision_level; /* Structure revision level */ ACMEID acmecb$l_acme_id; /* ID of ACME/DOI requesting dialogue */ unsigned int acmecb$l_item_set_count; /* Number of item set entries */ struct _acmeitmset *acmecb$ps_item_set; /* Pointer to item set array */ } ACMECB; #else /* __OLD_STARLET */ #pragma __member_alignment typedef struct _acmecb { unsigned int acmecb$q_context_id [2]; /* ID of associated ACM Request Block */ unsigned short int acmecb$w_size; /* Structure size, in bytes */ acmerevlvl acmecb$w_revision_level; /* Structure revision level */ acmeid acmecb$l_acme_id; /* ID of ACME/DOI requesting dialogue */ unsigned int acmecb$l_item_set_count; /* Number of item set entries */ unsigned int acmecb$ps_item_set; /* Pointer to item set array */ } acmecb; #endif /* #ifdef __NEW_STARLET */ #define ACMECB$K_LENGTH 24 /*+ */ /* */ /* ACMELI - ACM Logon Information Block */ /* */ /*- */ #pragma __member_alignment __save #pragma __nomember_alignment #define ACMELGIFLG$K_MIN_LOGON_FLAG -1 #define ACMELGIFLG$K_NEW_MAIL_AT_LOGIN 0 #define ACMELGIFLG$M_NEW_MAIL_AT_LOGIN 0x1 #define ACMELGIFLG$K_PASSWORD_CHANGED 1 #define ACMELGIFLG$M_PASSWORD_CHANGED 0x2 #define ACMELGIFLG$K_PASSWORD_EXPIRED 2 #define ACMELGIFLG$M_PASSWORD_EXPIRED 0x4 #define ACMELGIFLG$K_PASSWORD_WARNING 3 #define ACMELGIFLG$M_PASSWORD_WARNING 0x8 #define ACMELGIFLG$K_PASSWORD2_CHANGED 4 #define ACMELGIFLG$M_PASSWORD2_CHANGED 0x10 #define ACMELGIFLG$K_PASSWORD2_EXPIRED 5 #define ACMELGIFLG$M_PASSWORD2_EXPIRED 0x20 #define ACMELGIFLG$K_PASSWORD2_WARNING 6 #define ACMELGIFLG$M_PASSWORD2_WARNING 0x40 #define ACMELGIFLG$K_MAX_LOGON_FLAG 6 #ifdef __NEW_STARLET typedef struct _acmelgiflg { __union { unsigned int acmelgiflg$l_logon_flags; /* Composite field */ __struct { unsigned acmelgiflg$v_new_mail_at_login : 1; /* User had new MAIL message(s) */ unsigned acmelgiflg$v_password_changed : 1; /* Primary password changed */ unsigned acmelgiflg$v_password_expired : 1; /* Primary password expired on login */ unsigned acmelgiflg$v_password_warning : 1; /* Primary password expiration imminent */ unsigned acmelgiflg$v_password2_changed : 1; /* Secondary password changed */ unsigned acmelgiflg$v_password2_expired : 1; /* Secondary password expired on login */ unsigned acmelgiflg$v_password2_warning : 1; /* Secondary password expiration imminent */ unsigned acmelgiflg$v_lgi_flg_fill_1 : 25; } acmelgiflg$r_fill_43_; } acmelgiflg$r_fill_42_; } ACMELGIFLG; #if !defined(__VAXC) #define acmelgiflg$l_logon_flags acmelgiflg$r_fill_42_.acmelgiflg$l_logon_flags #define acmelgiflg$v_new_mail_at_login acmelgiflg$r_fill_42_.acmelgiflg$r_fill_43_.acmelgiflg$v_new_mail_at_login #define acmelgiflg$v_password_changed acmelgiflg$r_fill_42_.acmelgiflg$r_fill_43_.acmelgiflg$v_password_changed #define acmelgiflg$v_password_expired acmelgiflg$r_fill_42_.acmelgiflg$r_fill_43_.acmelgiflg$v_password_expired #define acmelgiflg$v_password_warning acmelgiflg$r_fill_42_.acmelgiflg$r_fill_43_.acmelgiflg$v_password_warning #define acmelgiflg$v_password2_changed acmelgiflg$r_fill_42_.acmelgiflg$r_fill_43_.acmelgiflg$v_password2_changed #define acmelgiflg$v_password2_expired acmelgiflg$r_fill_42_.acmelgiflg$r_fill_43_.acmelgiflg$v_password2_expired #define acmelgiflg$v_password2_warning acmelgiflg$r_fill_42_.acmelgiflg$r_fill_43_.acmelgiflg$v_password2_warning #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ typedef struct _acmelgiflg { __union { unsigned int acmelgiflg$l_logon_flags; /* Composite field */ __struct { unsigned acmelgiflg$v_new_mail_at_login : 1; /* User had new MAIL message(s) */ unsigned acmelgiflg$v_password_changed : 1; /* Primary password changed */ unsigned acmelgiflg$v_password_expired : 1; /* Primary password expired on login */ unsigned acmelgiflg$v_password_warning : 1; /* Primary password expiration imminent */ unsigned acmelgiflg$v_password2_changed : 1; /* Secondary password changed */ unsigned acmelgiflg$v_password2_expired : 1; /* Secondary password expired on login */ unsigned acmelgiflg$v_password2_warning : 1; /* Secondary password expiration imminent */ unsigned acmelgiflg$v_lgi_flg_fill_1 : 25; } acmelgiflg$r_fill_43_; } acmelgiflg$r_fill_42_; } acmelgiflg; #if !defined(__VAXC) #define acmelgiflg$l_logon_flags acmelgiflg$r_fill_42_.acmelgiflg$l_logon_flags #define acmelgiflg$v_new_mail_at_login acmelgiflg$r_fill_42_.acmelgiflg$r_fill_43_.acmelgiflg$v_new_mail_at_login #define acmelgiflg$v_password_changed acmelgiflg$r_fill_42_.acmelgiflg$r_fill_43_.acmelgiflg$v_password_changed #define acmelgiflg$v_password_expired acmelgiflg$r_fill_42_.acmelgiflg$r_fill_43_.acmelgiflg$v_password_expired #define acmelgiflg$v_password_warning acmelgiflg$r_fill_42_.acmelgiflg$r_fill_43_.acmelgiflg$v_password_warning #define acmelgiflg$v_password2_changed acmelgiflg$r_fill_42_.acmelgiflg$r_fill_43_.acmelgiflg$v_password2_changed #define acmelgiflg$v_password2_expired acmelgiflg$r_fill_42_.acmelgiflg$r_fill_43_.acmelgiflg$v_password2_expired #define acmelgiflg$v_password2_warning acmelgiflg$r_fill_42_.acmelgiflg$r_fill_43_.acmelgiflg$v_password2_warning #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #define ACMELGIFLG$K_LENGTH 4 #pragma __member_alignment __restore #define ACMELIVMS$K_MINOR_ID_000 0 #define ACMELIVMS$K_MINOR_ID 0 #define ACMELIVMS$K_MAJOR_ID_001 1 #define ACMELIVMS$K_MAJOR_ID 1 #define ACMELIVMS$K_REVISION 256 #ifdef __NEW_STARLET typedef struct _acmelivms { ACMEID acmelivms$l_acme_id; /* ID of ACME which reported logon information */ unsigned int acmelivms$l_phase; /* Phase during which information was reported */ unsigned short int acmelivms$w_size; /* Structure size, in bytes */ ACMEREVLVL acmelivms$w_revision_level; /* Structure revision level */ unsigned int acmelivms$l_logfail_count; /* Number of failed logon attempts */ UTCBLK acmelivms$o_logon_int; /* Time of last interactive logon */ UTCBLK acmelivms$o_logon_nonint; /* Time of last non-interactive logon */ } ACMELIVMS; #else /* __OLD_STARLET */ typedef struct _acmelivms { acmeid acmelivms$l_acme_id; /* ID of ACME which reported logon information */ unsigned int acmelivms$l_phase; /* Phase during which information was reported */ unsigned short int acmelivms$w_size; /* Structure size, in bytes */ acmerevlvl acmelivms$w_revision_level; /* Structure revision level */ unsigned int acmelivms$l_logfail_count; /* Number of failed logon attempts */ utcblk acmelivms$o_logon_int; /* Time of last interactive logon */ utcblk acmelivms$o_logon_nonint; /* Time of last non-interactive logon */ } acmelivms; #endif /* #ifdef __NEW_STARLET */ #define ACMELIVMS$K_LENGTH 48 #define ACMELIDOI$K_MINOR_ID_000 0 #define ACMELIDOI$K_MINOR_ID 0 #define ACMELIDOI$K_MAJOR_ID_001 1 #define ACMELIDOI$K_MAJOR_ID 1 #define ACMELIDOI$K_REVISION 256 #ifdef __NEW_STARLET typedef struct _acmelidoi { ACMEID acmelidoi$l_acme_id; /* ID of ACME which reported logon information */ unsigned int acmelidoi$l_phase; /* Phase during which information was reported */ unsigned short int acmelidoi$w_size; /* Structure size, in bytes */ ACMEREVLVL acmelidoi$w_revision_level; /* Structure revision level */ unsigned int acmelidoi$l_logfail_count; /* Number of failed logon attempts */ UTCBLK acmelidoi$o_logon; /* Time of last logon */ UTCBLK acmelidoi$o_logon_int; /* Time of last interactive logon */ UTCBLK acmelidoi$o_logon_nonint; /* Time of last non-interactive logon */ UTCBLK acmelidoi$o_logfail; /* Time of last logon failure */ UTCBLK acmelidoi$o_logfail_int; /* Time of last interactive logon failure */ UTCBLK acmelidoi$o_logfail_nonint; /* Time of last non-interactive logon failure */ } ACMELIDOI; #else /* __OLD_STARLET */ typedef struct _acmelidoi { acmeid acmelidoi$l_acme_id; /* ID of ACME which reported logon information */ unsigned int acmelidoi$l_phase; /* Phase during which information was reported */ unsigned short int acmelidoi$w_size; /* Structure size, in bytes */ acmerevlvl acmelidoi$w_revision_level; /* Structure revision level */ unsigned int acmelidoi$l_logfail_count; /* Number of failed logon attempts */ utcblk acmelidoi$o_logon; /* Time of last logon */ utcblk acmelidoi$o_logon_int; /* Time of last interactive logon */ utcblk acmelidoi$o_logon_nonint; /* Time of last non-interactive logon */ utcblk acmelidoi$o_logfail; /* Time of last logon failure */ utcblk acmelidoi$o_logfail_int; /* Time of last interactive logon failure */ utcblk acmelidoi$o_logfail_nonint; /* Time of last non-interactive logon failure */ } acmelidoi; #endif /* #ifdef __NEW_STARLET */ #define ACMELIDOI$K_LENGTH 112 #define ACMELI$K_MINOR_ID_000 0 #define ACMELI$K_MINOR_ID 0 #define ACMELI$K_MAJOR_ID_001 1 #define ACMELI$K_MAJOR_ID 1 #define ACMELI$K_REVISION 256 #ifdef __NEW_STARLET typedef struct _acmeli { __union { #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __long /* And set ptr size default to 64-bit pointers */ struct _acmelidoi *acmeli$pq_logon_info_doi64; #else unsigned __int64 acmeli$pq_logon_info_doi64; #endif /* Non-native (non-OpenVMS) logon information */ #pragma __member_alignment __struct { #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __short /* And set ptr size default to 32-bit pointers */ #endif struct _acmelidoi *acmeli$ps_logon_info_doi32; /* Non-native (non-OpenVMS) logon information */ #pragma __member_alignment unsigned int acmeli$l_logon_info_doi32se; /* Sign extension field */ } acmeli$r_li_doi32; } acmeli$r_li_doi; unsigned short int acmeli$w_size; /* Structure size, in bytes */ ACMEREVLVL acmeli$w_revision_level; /* Structure revision level */ ACMELGIFLG acmeli$l_logon_flags; /* Logon flags */ __union { #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __long /* And set ptr size default to 64-bit pointers */ struct _acmelivms *acmeli$pq_logon_info_vms64; #else unsigned __int64 acmeli$pq_logon_info_vms64; #endif /* Native (OpenVMS) logon information */ #pragma __member_alignment __struct { #ifdef __INITIAL_POINTER_SIZE /* Defined whenever ptr size pragmas supported */ #pragma __required_pointer_size __short /* And set ptr size default to 32-bit pointers */ #endif struct _acmelivms *acmeli$ps_logon_info_vms32; /* Native (OpenVMS) logon information */ #pragma __member_alignment unsigned int acmeli$l_logon_info_vms32se; /* Sign extension field */ } acmeli$r_li_vms32; } acmeli$r_li_vms; ACMELIVMS acmeli$r_logon_info_vms; /* Native (OpenVMS) logon information */ ACMELIDOI acmeli$r_logon_info_doi; /* Non-native (non-OpenVMS) logon information */ } ACMELI; #if !defined(__VAXC) #define acmeli$pq_logon_info_doi64 acmeli$r_li_doi.acmeli$pq_logon_info_doi64 #define acmeli$ps_logon_info_doi32 acmeli$r_li_doi.acmeli$r_li_doi32.acmeli$ps_logon_info_doi32 #define acmeli$l_logon_info_doi32se acmeli$r_li_doi.acmeli$r_li_doi32.acmeli$l_logon_info_doi32se #define acmeli$pq_logon_info_vms64 acmeli$r_li_vms.acmeli$pq_logon_info_vms64 #define acmeli$ps_logon_info_vms32 acmeli$r_li_vms.acmeli$r_li_vms32.acmeli$ps_logon_info_vms32 #define acmeli$l_logon_info_vms32se acmeli$r_li_vms.acmeli$r_li_vms32.acmeli$l_logon_info_vms32se #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ typedef struct _acmeli { __union { unsigned __int64 acmeli$pq_logon_info_doi64; /* Non-native (non-OpenVMS) logon information */ __struct { unsigned int acmeli$ps_logon_info_doi32; /* Non-native (non-OpenVMS) logon information */ unsigned int acmeli$l_logon_info_doi32se; /* Sign extension field */ } acmeli$r_li_doi32; } acmeli$r_li_doi; unsigned short int acmeli$w_size; /* Structure size, in bytes */ acmerevlvl acmeli$w_revision_level; /* Structure revision level */ acmelgiflg acmeli$l_logon_flags; /* Logon flags */ __union { unsigned __int64 acmeli$pq_logon_info_vms64; /* Native (OpenVMS) logon information */ __struct { unsigned int acmeli$ps_logon_info_vms32; /* Native (OpenVMS) logon information */ unsigned int acmeli$l_logon_info_vms32se; /* Sign extension field */ } acmeli$r_li_vms32; } acmeli$r_li_vms; acmelivms acmeli$r_logon_info_vms; /* Native (OpenVMS) logon information */ acmelidoi acmeli$r_logon_info_doi; /* Non-native (non-OpenVMS) logon information */ } acmeli; #if !defined(__VAXC) #define acmeli$pq_logon_info_doi64 acmeli$r_li_doi.acmeli$pq_logon_info_doi64 #define acmeli$ps_logon_info_doi32 acmeli$r_li_doi.acmeli$r_li_doi32.acmeli$ps_logon_info_doi32 #define acmeli$l_logon_info_doi32se acmeli$r_li_doi.acmeli$r_li_doi32.acmeli$l_logon_info_doi32se #define acmeli$pq_logon_info_vms64 acmeli$r_li_vms.acmeli$pq_logon_info_vms64 #define acmeli$ps_logon_info_vms32 acmeli$r_li_vms.acmeli$r_li_vms32.acmeli$ps_logon_info_vms32 #define acmeli$l_logon_info_vms32se acmeli$r_li_vms.acmeli$r_li_vms32.acmeli$l_logon_info_vms32se #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #define ACMELI$K_LENGTH 184 #define ACME$K_QUERY_REVISION_LEVEL 1 /* Service revision level */ #define ACME$K_QUERY_ACME_COUNT 2 /* Number of registered agents */ #define ACME$K_QUERY_ACME_ID 3 /* Specify/report agent id */ #define ACME$K_QUERY_ACME_NAME 4 /* Specify/reprot agent name */ #define ACME$K_SERVICE_REVISION_001_000 256 /* */ /* Pre-$ACM definitions... */ /* */ /* Definitions for the $AUTHENTICATE[W], $LOGON[W], and $SET_PASSWORD[W] */ /* system services. */ /* */ /* */ /* $LOGON[W] function codes. */ /* */ #define ACME$_MAP_TO_USERNAME 1 /* Map userid to username */ #define ACME$_VERIFY_PASSWORD_ONLY 2 /* Authenticate password */ #define ACME$_MAX_FUNCTION_CODE 3 /* maximum legal function code + 1 */ /* */ /* Item codes. Codes specific to a particular service are noted: */ /* */ /* $AU = $AUTHENTICATE[W] */ /* $LO = $LOGON[W] */ /* $SP = $SET_PASSWORD[W] */ /* */ #define ACME$_DOMAIN 2 /* Authentication domain */ #define ACME$_USERID 3 /* User ID */ #define ACME$_PASSWORD 4 /* Single password */ #define ACME$_PASSWORD_LIST 5 /* Password list */ #define ACME$_NEW_PASSWORD 6 /* New password ($SP) */ #define ACME$_OUTPUT_VMS_USERNAME 7 /* Mapped OpenVMS username ($LO) */ #define ACME$_NOAUTHENTICATION 8 /* No password authentication ($SP) */ #define ACME$_OVERRIDE_POLICY 9 /* Override password policy ($SP) */ #define ACME$_SYNCHRONIZE 10 /* Set password in all domains ($SP) */ #define ACME$_REASON_CODE 11 /* ACME-specific reason code */ #define ACME$_VALIDATE_ONLY 12 /* Validate user can login ($LO) */ #define ACME$_UAF_RECORD_LOCKED 13 /* Advisory that UAF record is locked ($LO) */ #define ACME$_RESERVED_ITEM_1 14 /* Reserved 1 */ #define ACME$_RESERVED_ITEM_2 15 /* Reserved 2 */ #define ACME$_MAX_ITEM_CODE 16 /* maximum legal item code + 1 */ /* */ /* Structures and constants. */ /* */ #define ACME$C_MAJOR_VERSION 1 /* Major ACME version */ #define ACME$C_MINOR_VERSION 0 /* Minor ACME version */ #define ACME$S_MAX_DOMAIN 256 /* Maximum domain length */ #define ACME$S_MAX_USERID 256 /* Maximum userid length */ #define ACME$S_MAX_PASSWORD 256 /* Maximum password length */ /* */ /* The PASSWORD_LIST item code requires a list of password items with each */ /* item specified by a PWDITM structure definition. The list is terminated */ /* by a longword zero. */ /* */ #ifdef __NEW_STARLET typedef struct _acme$r_pwditm { __union { unsigned int acme$l_terminator; /* Termination longword */ __struct { unsigned short int acme$w_pwdnum; /* Password number (1=primary, etc.) */ unsigned short int acme$w_rsrvd1; /* reserved for future use, MBZ */ } acme$r_pwdnum_fields; } acme$r_pwdtrm; void *acme$a_oldpwd; /* Descriptor address for old password */ void *acme$a_newpwd; /* Descriptor address for new password */ } ACME$R_PWDITM; #if !defined(__VAXC) #define acme$l_terminator acme$r_pwdtrm.acme$l_terminator #define acme$w_pwdnum acme$r_pwdtrm.acme$r_pwdnum_fields.acme$w_pwdnum #define acme$w_rsrvd1 acme$r_pwdtrm.acme$r_pwdnum_fields.acme$w_rsrvd1 #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ struct acme$r_pwditm { __union { unsigned int acme$l_terminator; /* Termination longword */ __struct { unsigned short int acme$w_pwdnum; /* Password number (1=primary, etc.) */ unsigned short int acme$w_rsrvd1; /* reserved for future use, MBZ */ } acme$r_pwdnum_fields; } acme$r_pwdtrm; void *acme$a_oldpwd; /* Descriptor address for old password */ void *acme$a_newpwd; /* Descriptor address for new password */ } ; #if !defined(__VAXC) #define acme$l_terminator acme$r_pwdtrm.acme$l_terminator #define acme$w_pwdnum acme$r_pwdtrm.acme$r_pwdnum_fields.acme$w_pwdnum #define acme$w_rsrvd1 acme$r_pwdtrm.acme$r_pwdnum_fields.acme$w_rsrvd1 #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ /* */ /* Maximum password number to be used in password list */ /* */ #define ACME$C_MAX_PASSWORD_NUM 8 #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 /* __ACMEDEF_LOADED */