/********************************************************************************************************************************/ /* Created: 15-MAR-2001 23:38:10 by OpenVMS SDL EV1-33 */ /* Source: 15-MAR-2001 23:34:16 _$11$DUA933:[BUILD.SDL]STARDEFMP.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE $PRXDEF IDENT X-8 ***/ #ifndef __PRXDEF_LOADED #define __PRXDEF_LOADED 1 #pragma nostandard #ifdef __cplusplus extern "C" { #define __unknown_params ... #else #define __unknown_params #endif #if !defined(__VAXC) && !defined(VAXC) #define __struct struct #define __union union #else #define __struct variant_struct #define __union variant_union #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 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; } ; #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 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_111; } prx$r_fill_110; } ; #if !defined(__VAXC) && !defined(VAXC) #define prx$l_flags prx$r_fill_110.prx$l_flags #define prx$v_ignore_return prx$r_fill_110.prx$r_fill_111.prx$v_ignore_return #define prx$v_bypass_expand prx$r_fill_110.prx$r_fill_111.prx$v_bypass_expand #define prx$v_default prx$r_fill_110.prx$r_fill_111.prx$v_default #define prx$v_exact prx$r_fill_110.prx$r_fill_111.prx$v_exact #define prx$v_delete_allowed prx$r_fill_110.prx$r_fill_111.prx$v_delete_allowed #define prx$v_fill_1 prx$r_fill_110.prx$r_fill_111.prx$v_fill_1 #endif /* #if !defined(__VAXC) && !defined(VAXC) */ struct prx$generic_desc1 { unsigned short int prx$w_desc_length; unsigned short int prx$w_fill1; char prx$t_desc_data; } ; #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 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]; } ; #define PRX$K_DATA_LENGTH 1100 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 */ } ; #define PRX$K_MAX_REPLY 1692 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) && !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) && !defined(VAXC) */ #define PRX$K_MAX_LENGTH 1108 #ifdef __cplusplus } #endif #pragma standard #endif /* __PRXDEF_LOADED */