/**/ /***************************************************************************/ /** **/ /** © Copyright 2010, Hewlett-Packard Development Company, L.P. **/ /** **/ /** Confidential computer software. Valid license from HP and/or **/ /** its subsidiaries required for possession, use, or copying. **/ /** **/ /** Consistent with FAR 12.211 and 12.212, Commercial Computer Software, **/ /** Computer Software Documentation, and Technical Data for Commercial **/ /** Items are licensed to the U.S. Government under vendor's standard **/ /** commercial license. **/ /** **/ /** Neither HP nor any of its subsidiaries shall be liable for technical **/ /** or editorial errors or omissions contained herein. The information **/ /** in this document is provided "as is" without warranty of any kind and **/ /** is subject to change without notice. The warranties for HP products **/ /** are set forth in the express limited warranty statements accompanying **/ /** such products. Nothing herein should be construed as constituting an **/ /** additional warranty. **/ /** **/ /***************************************************************************/ /********************************************************************************************************************************/ /* Created: 30-Mar-2010 17:27:20 by OpenVMS SDL EV3-3 */ /* Source: 09-FEB-2001 08:45:48 $1$DGA7274:[LIB_H.SRC]LGIDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $LGIDEF ***/ #ifndef __LGIDEF_LOADED #define __LGIDEF_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 LGI$C_LENGTH 24 /* Data structure length */ #define LGI$K_LENGTH 24 /* Data structure length */ #define LGI$C_CHARTIME 15 /* Terminal driver timeout value */ #define LGI$K_CHARTIME 15 /* Terminal driver timeout value */ #define LGI$S_LGIDATDEF 24 /* Old size name - synonym */ typedef struct _lgidat { unsigned int lgi$l_origuic; /* Original UIC at job creation time */ char lgi$t_outfnm [20]; /* For batch, file name/type of output */ /* for spooling log file in batch jobs */ } LGIDAT; #define LGI$M_OPENACCT 0x1 #define LGI$M_PASSWORD 0x2 #define LGI$M_PASSWORD2 0x4 #define LGI$M_GENPWD 0x8 #define LGI$_PRIMARY_PASSWORD 1 /* primary password */ #define LGI$_SECONDARY_PASSWORD 2 /* secondary password */ #define LGI$_SOURCE_NODE 3 /* source nodename */ #define LGI$_SOURCE_ID 4 /* source id (username) */ #define LGI$_SOURCE_ADDRESS 5 /* source DECnet address */ #define LGI$_SOURCE_TERMINAL 6 /* source terminal */ #define LGI$_PARENT_USERNAME 7 /* parent username */ #define LGI$_PARENT_PID 8 /* parent PID */ #define LGI$_JOB_TYPE 9 /* job type */ #define LGI$_MAX_CODE 10 /* last item code (plus one) */ #define LGI$S_LGIAUTHDEF 4 /* Old size name - synonym */ typedef struct _lgiauth { __union { unsigned int lgi$l_auth_flags; __struct { unsigned lgi$v_openacct : 1; /* account requires no passwords */ unsigned lgi$v_password : 1; /* account has primary password */ unsigned lgi$v_password2 : 1; /* account has secondary password */ unsigned lgi$v_genpwd : 1; /* Extra bit returned by the */ /* VMS ACME for the old */ /* DECwindows login */ unsigned lgi$v_fill_2_ : 4; } lgi$r_fill_1_; } lgi$r_fill_0_; } LGIAUTH; #if !defined(__VAXC) #define lgi$l_auth_flags lgi$r_fill_0_.lgi$l_auth_flags #define lgi$v_openacct lgi$r_fill_0_.lgi$r_fill_1_.lgi$v_openacct #define lgi$v_password lgi$r_fill_0_.lgi$r_fill_1_.lgi$v_password #define lgi$v_password2 lgi$r_fill_0_.lgi$r_fill_1_.lgi$v_password2 #define lgi$v_genpwd lgi$r_fill_0_.lgi$r_fill_1_.lgi$v_genpwd #endif /* #if !defined(__VAXC) */ #define LGI$_DISUSER_STOP 1 /* stop on error */ #define LGI$_DISUSER_RETURN 2 /* return on error */ #define LGI$_VALIDATE_STOP 1 /* stop on error */ #define LGI$_VALIDATE_RETURN 2 /* return on error */ #define LGI$_GET_INPUT_STOP 0 /* stop on error */ #define LGI$_GET_INPUT_HANGUP 1 /* hangup quietly on error */ #define LGI$_GET_INPUT_RETURN_TMO 2 /* return on timout */ #define LGI$M_NET_PROXY 0x1 #define LGI$M_NET_PREAUTH 0x2 #define LGI$M_NET_DEFAULT_USER 0x4 #define LGI$M_NET_PROXY_OK 0x8 #define LGI$M_NET_REM_INFO_PRESENT 0x10 #define LGI$S_LGINETDEF 2 /* Old size name - synonym */ typedef struct _lginet { __union { unsigned short int lgi$w_net_auth_flags; __struct { unsigned lgi$v_net_proxy : 1; /* DECNET wants proxy login */ unsigned lgi$v_net_preauth : 1; /* DECNET has authenticated */ unsigned lgi$v_net_default_user : 1; /* DECNET application or session */ /* database has username */ unsigned lgi$v_net_proxy_ok : 1; /* (local use) proxy validated */ unsigned lgi$v_net_rem_info_present : 1; /* Phase V provided rem info */ unsigned lgi$v_fill_5_ : 3; } lgi$r_fill_4_; } lgi$r_fill_3_; } LGINET; #if !defined(__VAXC) #define lgi$w_net_auth_flags lgi$r_fill_3_.lgi$w_net_auth_flags #define lgi$v_net_proxy lgi$r_fill_3_.lgi$r_fill_4_.lgi$v_net_proxy #define lgi$v_net_preauth lgi$r_fill_3_.lgi$r_fill_4_.lgi$v_net_preauth #define lgi$v_net_default_user lgi$r_fill_3_.lgi$r_fill_4_.lgi$v_net_default_user #define lgi$v_net_proxy_ok lgi$r_fill_3_.lgi$r_fill_4_.lgi$v_net_proxy_ok #define lgi$v_net_rem_info_present lgi$r_fill_3_.lgi$r_fill_4_.lgi$v_net_rem_info_present #endif /* #if !defined(__VAXC) */ #ifdef __cplusplus /* Define structure prototypes */ struct _rab; #endif /* #ifdef __cplusplus */ typedef struct _lgiarg_vector { int (*lgi$icb_get_input)(); /* Addresses of callbacks */ int (*lgi$icb_decw_ident)(); int (*lgi$icb_decw_auth)(); void (*lgi$icb_get_syspwd)(); int (*lgi$icb_userprompt)(); int (*lgi$icb_userparse)(); int (*lgi$icb_autologin)(); int (*lgi$icb_password)(); int (*lgi$icb_check_pass)(); int (*lgi$icb_validate)(); void (*lgi$icb_acctexpired)(); void (*lgi$icb_pwdexpired)(); int (*lgi$icb_disuser)(); void (*lgi$icb_modalhours)(); void *lgi$a_icr_creprc_flags; /* Addresses of variables */ char *lgi$a_icr_job_type; char *lgi$a_icr_subprocess; char *lgi$a_icr_terminal_dev; void *lgi$a_icr_tt_phydevnam; void *lgi$a_icr_tt_accpornam; void *lgi$a_icr_cliname; void *lgi$a_icr_clitables; void *lgi$a_icr_ncb; void *lgi$a_icr_loglink; void *lgi$a_icr_rem_node_nam; void *lgi$a_icr_rem_id; void *lgi$a_icr_uaf_record; struct _rab *lgi$a_icr_input_rab; char *lgi$a_icr_autologin; void *lgi$a_icr_username; void *lgi$a_icr_pwd1; void *lgi$a_icr_pwd2; void *lgi$a_icr_pwdcount; void *lgi$a_icr_netflags; } LGIARG_VECTOR; #define LGI$ICR_INIT 4 #define LGI$ICR_IACT_START 8 #define LGI$ICR_DECWINIT 12 #define LGI$ICR_IDENTIFY 16 #define LGI$ICR_AUTHENTICATE 20 #define LGI$ICR_CHKRESTRICT 24 #define LGI$ICR_FINISH 28 #define LGI$ICR_LOGOUT 32 #define LGI$ICR_JOBSTEP 36 #define LGI$ICR_CHKLICENSE 40 typedef struct _lgicallout_vector { unsigned int lgi$l_icr_entry_count; int (*lgi$a_icr_init)(); int (*lgi$a_icr_iact_start)(); int (*lgi$a_icr_decwinit)(); int (*lgi$a_icr_identify)(); int (*lgi$a_icr_authenticate)(); int (*lgi$a_icr_chkrestrict)(); int (*lgi$a_icr_finish)(); int (*lgi$a_icr_logout)(); int (*lgi$a_icr_jobstep)(); int (*lgi$a_icr_chklicense)(); } LGICALLOUT_VECTOR; #define LGI$M_UPCASE 0x1 #define LGI$M_SYNTAX 0x2 #define LGI$M_LENGTH 0x4 typedef struct _lgipass { __union { unsigned int lgi$l_pass_flags; __struct { unsigned lgi$v_upcase : 1; /* upcase password if appropriate */ unsigned lgi$v_syntax : 1; /* check password syntax */ unsigned lgi$v_length : 1; /* check for maximum password length */ unsigned lgi$v_fill_8_ : 5; } lgi$r_fill_7_; } lgi$r_fill_6_; } LGIPASS; #if !defined(__VAXC) #define lgi$l_pass_flags lgi$r_fill_6_.lgi$l_pass_flags #define lgi$v_upcase lgi$r_fill_6_.lgi$r_fill_7_.lgi$v_upcase #define lgi$v_syntax lgi$r_fill_6_.lgi$r_fill_7_.lgi$v_syntax #define lgi$v_length lgi$r_fill_6_.lgi$r_fill_7_.lgi$v_length #endif /* #if !defined(__VAXC) */ #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 /* __LGIDEF_LOADED */