/********************************************************************************************************************************/ /* Created: 9-Mar-2021 22:28:06 by OpenVMS SDL EV3-3 */ /* Source: 09-MAR-2021 22:28:01 $1$DGA8085:[STARLET_H.SRC]STARDEFMP.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $PRXDEF IDENT X-9 ***/ #ifndef __PRXDEF_LOADED #define __PRXDEF_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 PRX$K_ADD 1 #define PRX$K_DELETE 2 #define PRX$K_SHOW 3 #define PRX$K_VERIFY 4 #define PRX$K_PERFORMANCE 5 #define PRX$K_ZERO_PERFORMANCE 6 #define PRX$K_CREATE 7 #define PRX$K_STOP 8 #define PRX$K_START 9 #define PRX$K_MAX_PROXY_CODE 10 #define PRX$K_PERFORMANCE_LENGTH 48 #ifdef __NEW_STARLET typedef struct _prx$performance { unsigned int prx$l_total_messages; unsigned int prx$l_total_exceptions; unsigned int prx$l_shows; unsigned int prx$l_adds; unsigned int prx$l_deletes; unsigned int prx$l_verifys; unsigned int prx$l_performance; unsigned int prx$l_creates; unsigned int prx$l_stops; unsigned int prx$l_starts; unsigned int prx$l_audits; unsigned int prx$l_invalid_messages; } PRX$PERFORMANCE; #else /* __OLD_STARLET */ struct prx$performance { unsigned int prx$l_total_messages; unsigned int prx$l_total_exceptions; unsigned int prx$l_shows; unsigned int prx$l_adds; unsigned int prx$l_deletes; unsigned int prx$l_verifys; unsigned int prx$l_performance; unsigned int prx$l_creates; unsigned int prx$l_stops; unsigned int prx$l_starts; unsigned int prx$l_audits; unsigned int prx$l_invalid_messages; } ; #endif /* #ifdef __NEW_STARLET */ #define PRX$M_IGNORE_RETURN 0x1 #define PRX$M_BYPASS_EXPAND 0x2 #define PRX$M_RESERVE_1 0xFC #define PRX$M_DEFAULT 0x100 #define PRX$M_EXACT 0x200 #define PRX$M_DELETE_ALLOWED 0x400 #define PRX$M_FILL_1 0xFFFFF800 #define PRX$K_HEADER_LENGTH 8 #ifdef __NEW_STARLET typedef struct _prx$header { unsigned int prx$l_context; __union { unsigned int prx$l_flags; __struct { unsigned prx$v_ignore_return : 1; unsigned prx$v_bypass_expand : 1; unsigned prx$v_reserve_1 : 6; unsigned prx$v_default : 1; unsigned prx$v_exact : 1; unsigned prx$v_delete_allowed : 1; unsigned prx$v_fill_1 : 21; } prx$r_fill_78_; } prx$r_fill_77_; } PRX$HEADER; #if !defined(__VAXC) #define prx$l_flags prx$r_fill_77_.prx$l_flags #define prx$v_ignore_return prx$r_fill_77_.prx$r_fill_78_.prx$v_ignore_return #define prx$v_bypass_expand prx$r_fill_77_.prx$r_fill_78_.prx$v_bypass_expand #define prx$v_default prx$r_fill_77_.prx$r_fill_78_.prx$v_default #define prx$v_exact prx$r_fill_77_.prx$r_fill_78_.prx$v_exact #define prx$v_delete_allowed prx$r_fill_77_.prx$r_fill_78_.prx$v_delete_allowed #define prx$v_fill_1 prx$r_fill_77_.prx$r_fill_78_.prx$v_fill_1 #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ struct prx$header { unsigned int prx$l_context; __union { unsigned int prx$l_flags; __struct { unsigned prx$v_ignore_return : 1; unsigned prx$v_bypass_expand : 1; unsigned prx$v_reserve_1 : 6; unsigned prx$v_default : 1; unsigned prx$v_exact : 1; unsigned prx$v_delete_allowed : 1; unsigned prx$v_fill_1 : 21; } prx$r_fill_78_; } prx$r_fill_77_; } ; #if !defined(__VAXC) #define prx$l_flags prx$r_fill_77_.prx$l_flags #define prx$v_ignore_return prx$r_fill_77_.prx$r_fill_78_.prx$v_ignore_return #define prx$v_bypass_expand prx$r_fill_77_.prx$r_fill_78_.prx$v_bypass_expand #define prx$v_default prx$r_fill_77_.prx$r_fill_78_.prx$v_default #define prx$v_exact prx$r_fill_77_.prx$r_fill_78_.prx$v_exact #define prx$v_delete_allowed prx$r_fill_77_.prx$r_fill_78_.prx$v_delete_allowed #define prx$v_fill_1 prx$r_fill_77_.prx$r_fill_78_.prx$v_fill_1 #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #ifdef __NEW_STARLET typedef struct _prx$generic_desc1 { unsigned short int prx$w_desc_length; unsigned short int prx$w_fill1; char prx$t_desc_data; } PRX$GENERIC_DESC1; #else /* __OLD_STARLET */ struct prx$generic_desc1 { unsigned short int prx$w_desc_length; unsigned short int prx$w_fill1; char prx$t_desc_data; } ; #endif /* #ifdef __NEW_STARLET */ #define PRX$K_USER_NAME_LENGTH 32 #define PRX$K_REMOTE_NODE_NAME_LENGTH 1024 #define PRX$K_MAX_LOCAL_USERS 16 #define PRX$K_LOCAL_USER_ENTRY 36 #ifdef __NEW_STARLET typedef struct _data { unsigned short int prx$w_local_user_length; unsigned short int prx$w_unused_3; char prx$t_local_user_name [32]; unsigned short int prx$w_remote_user_length; unsigned short int prx$w_unused_4; char prx$t_remote_user_name [32]; unsigned short int prx$w_remote_node_length; unsigned short int prx$w_unused_5; char prx$t_remote_node_name [1024]; } DATA; #else /* __OLD_STARLET */ struct data { unsigned short int prx$w_local_user_length; unsigned short int prx$w_unused_3; char prx$t_local_user_name [32]; unsigned short int prx$w_remote_user_length; unsigned short int prx$w_unused_4; char prx$t_remote_user_name [32]; unsigned short int prx$w_remote_node_length; unsigned short int prx$w_unused_5; char prx$t_remote_node_name [1024]; } ; #endif /* #ifdef __NEW_STARLET */ #define PRX$K_DATA_LENGTH 1100 #ifdef __NEW_STARLET typedef struct _bufsiz_summary { unsigned short int prx$w_bufsiz_user; /* proxy user length */ unsigned short int prx$w_bufsiz_node; /* proxy node length */ unsigned short int prx$w_bufsiz_local_count; /* number of local users */ unsigned short int prx$w_bufsiz_def_user; /* length of default user */ } BUFSIZ_SUMMARY; #else /* __OLD_STARLET */ struct bufsiz_summary { unsigned short int prx$w_bufsiz_user; /* proxy user length */ unsigned short int prx$w_bufsiz_node; /* proxy node length */ unsigned short int prx$w_bufsiz_local_count; /* number of local users */ unsigned short int prx$w_bufsiz_def_user; /* length of default user */ } ; #endif /* #ifdef __NEW_STARLET */ #define PRX$K_MAX_REPLY 1692 #ifdef __NEW_STARLET typedef union _reply_union { __struct { unsigned int prx$l_reply_status; /* status of request */ } prx$r_generic_reply; __struct { unsigned int prx$l_unused_6; /* space for STATUS */ unsigned short int prx$w_valid_user; /* length of proxy user_name */ unsigned short int prx$w_unused_7; char prx$t_valid_user [32]; /* proxy usernname */ } prx$r_verify_reply; __struct { unsigned int prx$l_unused_8; /* space for STATUS */ unsigned int prx$l_show_context; /* returned context */ unsigned short int prx$w_show_def_user; /* length of default user_name */ unsigned short int prx$w_unused_8; char prx$t_show_def_user [32]; /* default user_name */ unsigned short int prx$w_show_rem_user; /* length of remote user_name */ unsigned short int prx$w_unused_9; char prx$t_show_rem_user [32]; /* remote user_name */ unsigned short int prx$w_show_local_count; /* count of local user_names */ unsigned short int prx$w_show_local_size; /* size of local user_name (bytes) */ __struct { /* start of local user_names */ unsigned int prx$l_unused_10; } prx$r_show_local_data; } prx$r_show_reply; } REPLY_UNION; #if !defined(__VAXC) #define prx$l_reply_status prx$r_generic_reply.prx$l_reply_status #define prx$w_valid_user prx$r_verify_reply.prx$w_valid_user #define prx$t_valid_user prx$r_verify_reply.prx$t_valid_user #define prx$l_show_context prx$r_show_reply.prx$l_show_context #define prx$w_show_def_user prx$r_show_reply.prx$w_show_def_user #define prx$t_show_def_user prx$r_show_reply.prx$t_show_def_user #define prx$w_show_rem_user prx$r_show_reply.prx$w_show_rem_user #define prx$t_show_rem_user prx$r_show_reply.prx$t_show_rem_user #define prx$w_show_local_count prx$r_show_reply.prx$w_show_local_count #define prx$w_show_local_size prx$r_show_reply.prx$w_show_local_size #define prx$r_show_local_data prx$r_show_reply.prx$r_show_local_data #endif /* #if !defined(__VAXC) */ #else /* __OLD_STARLET */ union reply_union { __struct { unsigned int prx$l_reply_status; /* status of request */ } prx$r_generic_reply; __struct { unsigned int prx$l_unused_6; /* space for STATUS */ unsigned short int prx$w_valid_user; /* length of proxy user_name */ unsigned short int prx$w_unused_7; char prx$t_valid_user [32]; /* proxy usernname */ } prx$r_verify_reply; __struct { unsigned int prx$l_unused_8; /* space for STATUS */ unsigned int prx$l_show_context; /* returned context */ unsigned short int prx$w_show_def_user; /* length of default user_name */ unsigned short int prx$w_unused_8; char prx$t_show_def_user [32]; /* default user_name */ unsigned short int prx$w_show_rem_user; /* length of remote user_name */ unsigned short int prx$w_unused_9; char prx$t_show_rem_user [32]; /* remote user_name */ unsigned short int prx$w_show_local_count; /* count of local user_names */ unsigned short int prx$w_show_local_size; /* size of local user_name (bytes) */ __struct { /* start of local user_names */ unsigned int prx$l_unused_10; } prx$r_show_local_data; } prx$r_show_reply; } ; #if !defined(__VAXC) #define prx$l_reply_status prx$r_generic_reply.prx$l_reply_status #define prx$w_valid_user prx$r_verify_reply.prx$w_valid_user #define prx$t_valid_user prx$r_verify_reply.prx$t_valid_user #define prx$l_show_context prx$r_show_reply.prx$l_show_context #define prx$w_show_def_user prx$r_show_reply.prx$w_show_def_user #define prx$t_show_def_user prx$r_show_reply.prx$t_show_def_user #define prx$w_show_rem_user prx$r_show_reply.prx$w_show_rem_user #define prx$t_show_rem_user prx$r_show_reply.prx$t_show_rem_user #define prx$w_show_local_count prx$r_show_reply.prx$w_show_local_count #define prx$w_show_local_size prx$r_show_reply.prx$w_show_local_size #endif /* #if !defined(__VAXC) */ #endif /* #ifdef __NEW_STARLET */ #define PRX$K_MAX_LENGTH 1108 #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 /* __PRXDEF_LOADED */