/**/ /***************************************************************************/ /** **/ /** © 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:26:18 by OpenVMS SDL EV3-3 */ /* Source: 19-APR-1993 14:43:48 $1$DGA7274:[LIB_H.SRC]NAFDEF.SDL;1 */ /********************************************************************************************************************************/ /*** MODULE $NAFDEF ***/ #ifndef __NAFDEF_LOADED #define __NAFDEF_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 /*++ */ /* */ /* Structure for network proxy login file, NETUAF.DAT (VMS version 4.x) */ /* */ /*-- */ #define NAF$M_TASK 0x1 #define NAF$M_BATCH 0x2 #define NAF$M_INTERACTIVE 0x4 #define NAF$K_LENGTH 100 /* Length of record */ #define NAF$C_LENGTH 100 /* Length of record */ #define NAF$S_NAFDEF 100 typedef struct _naf { __union { char naf$t_remname [64]; /* Combined nodename and remote username */ __struct { char naf$t_node [32]; /* Node name */ char naf$t_remuser [32]; /* Remote username */ } naf$r_fill_1_; } naf$r_fill_0_; char naf$t_localuser [32]; /* Local username */ __union { int naf$l_flags; /* Flags longword */ __struct { unsigned naf$v_task : 1; /* Allow task=0 access */ unsigned naf$v_batch : 1; /* Allow batch jobs */ unsigned naf$v_interactive : 1; /* Allow interactive login */ unsigned naf$v_fill_4_ : 5; } naf$r_fill_3_; } naf$r_fill_2_; } NAF; #if !defined(__VAXC) #define naf$t_remname naf$r_fill_0_.naf$t_remname #define naf$t_node naf$r_fill_0_.naf$r_fill_1_.naf$t_node #define naf$t_remuser naf$r_fill_0_.naf$r_fill_1_.naf$t_remuser #define naf$l_flags naf$r_fill_2_.naf$l_flags #define naf$v_task naf$r_fill_2_.naf$r_fill_3_.naf$v_task #define naf$v_batch naf$r_fill_2_.naf$r_fill_3_.naf$v_batch #define naf$v_interactive naf$r_fill_2_.naf$r_fill_3_.naf$v_interactive #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 /* __NAFDEF_LOADED */