/********************************************************************************************************************************/ /* Created: 15-MAR-2001 23:37:54 by OpenVMS SDL EV1-33 */ /* Source: 15-MAR-2001 23:34:06 _$11$DUA933:[BUILD.SDL]STARDEFAE.SDI;1 */ /********************************************************************************************************************************/ /*** MODULE CIADEF IDENT x-7 ***/ #ifndef __CIADEF_LOADED #define __CIADEF_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 CIA$K_SCAN 1 #define CIA$K_DELETE 2 #define CIA$K_SHOW 3 #define CIA$K_PERFORMANCE 4 #define CIA$K_ZERO_PERFORMANCE 5 #define CIA$K_SCAN_EXTENDED 6 #define CIA$K_DELETE_EXTENDED 7 #define CIA$K_SHOW_EXTENDED 8 #define CIA$K_MAX_CIA_CODE 9 #define CIA$K_PERFORMANCE_LENGTH 40 struct performance { unsigned int cia$l_total_messages; unsigned int cia$l_total_exceptions; unsigned int cia$l_shows; unsigned int cia$l_scans; unsigned int cia$l_deletes; unsigned int cia$l_performance; unsigned int cia$l_audits; unsigned int cia$l_invalid_messages; unsigned int cia$l_intruders; unsigned int cia$l_suspects; } ; #define CIA$K_SOURCE_TERMINAL_LENGTH 64 #define CIA$K_SOURCE_NODE_MAX_LENGTH 1024 #define CIA$K_USER_SPEC_MAX_LENGTH 1058 #define CIA$K_USER_STRING_MAX_LENGTH 32 #define CIA$K_PASSWORD_MAX_LENGTH 32 #define CIA$K_SOURCE_ADDRESS_MAX_LENGTH 128 #define CIA$K_SCSNODE_LENGTH 8 #define CIA$K_SCSNODE_REPLY_LENGTH 12 #define CIA$K_USERDATA_LENGTH 256 struct cia$generic_desc { unsigned short int cia$w_desc_length; unsigned short int cia$w_fill1; char cia$t_desc_data; } ; #define CIAEXT$S_PACKET 4 struct extension_packet { unsigned short int ciaext$w_type; /* packet type */ unsigned short int ciaext$w_length; /* packet length NOT including T/L words */ #if defined(__VAXC) || defined(VAXC) char ciaext$r_value[]; #else /* Warning: empty char[] member for ciaext$r_value at end of structure not created */ #endif /* #if defined(__VAXC) || defined(VAXC) */ } ; #define CIAEXT$_USER_DATA 100 #define CIAEXT$_SCSNODE 101 #define CIAEXT$_SCSNODE_REPLY 102 #define CIAEXT$_MAX_CIAEXT_CODE 103 #define CIA$_SCSNODE_LIST 200 /* List of nodes for which to act */ #define CIA$_SCSNODE 201 /* Single node for SCAN */ #define CIA$_OUTPUT_LIST 202 /* List of nodes records occured on */ #define CIA$_USER_DATA 203 /* Opaque Data. We don't use it. */ #define CIA$_USER_CRITERIAL 204 /* Existing argument passed by item list */ #define CIA$_FAILED_USERNAME 205 /* Existing argument passsed by item list */ #define CIA$_MAX_CIA_ITEM 206 #define CIA$M_IGNORE_RETURN 0x1 #define CIA$M_RESERVED_1 0xFE #define CIA$M_SUSPECTS 0x100 #define CIA$M_INTRUDERS 0x200 #define CIA$M_SECONDARY_PASSWORD 0x400 #define CIA$M_NOAUDIT 0x800 #define CIA$M_REAL_USERNAME 0x1000 #define CIA$M_SHOW_NODE 0x2000 #define CIA$M_ITEMLIST 0x4000 #define CIA$M_FILL_1 0xFFFF8000 #define CIA$K_HEADER_LENGTH 8 struct header { unsigned int cia$l_context; __union { unsigned int cia$l_header_flags; __struct { unsigned cia$v_ignore_return : 1; unsigned cia$v_reserved_1 : 7; unsigned cia$v_suspects : 1; unsigned cia$v_intruders : 1; unsigned cia$v_secondary_password : 1; unsigned cia$v_noaudit : 1; unsigned cia$v_real_username : 1; unsigned cia$v_show_node : 1; unsigned cia$v_itemlist : 1; unsigned cia$v_fill_1 : 17; } cia$r_fill_42; } cia$r_fill_41; } ; #if !defined(__VAXC) && !defined(VAXC) #define cia$l_header_flags cia$r_fill_41.cia$l_header_flags #define cia$v_ignore_return cia$r_fill_41.cia$r_fill_42.cia$v_ignore_return #define cia$v_reserved_1 cia$r_fill_41.cia$r_fill_42.cia$v_reserved_1 #define cia$v_suspects cia$r_fill_41.cia$r_fill_42.cia$v_suspects #define cia$v_intruders cia$r_fill_41.cia$r_fill_42.cia$v_intruders #define cia$v_secondary_password cia$r_fill_41.cia$r_fill_42.cia$v_secondary_password #define cia$v_noaudit cia$r_fill_41.cia$r_fill_42.cia$v_noaudit #define cia$v_real_username cia$r_fill_41.cia$r_fill_42.cia$v_real_username #define cia$v_show_node cia$r_fill_41.cia$r_fill_42.cia$v_show_node #define cia$v_itemlist cia$r_fill_41.cia$r_fill_42.cia$v_itemlist #define cia$v_fill_1 cia$r_fill_41.cia$r_fill_42.cia$v_fill_1 #endif /* #if !defined(__VAXC) && !defined(VAXC) */ #define CIA$K_SHOW_INPUT_LENGTH 1062 #define CIA$K_DELETE_INPUT_LENGTH 1062 struct contents { unsigned short int cia$w_length; unsigned short int cia$w_unused; char cia$t_name [1058]; } ; #define CIA$K_SCAN_CONTENTS_LENGTH 1386 struct scan_contents { unsigned int cia$l_parent_id; unsigned int cia$l_job_type; unsigned int cia$l_login_status; __union { char cia$t_source_terminal [68]; __struct { unsigned short int cia$w_source_term_length; unsigned short int cia$w_unused_1; char cia$t_source_term_name [64]; } cia$r_fill_44; } cia$r_fill_43; __union { char cia$t_source_user [36]; __struct { unsigned short int cia$w_source_user_length; unsigned short int cia$w_unused_2; char cia$t_source_user_name [32]; } cia$r_fill_46; } cia$r_fill_45; __union { char cia$t_source_address [132]; __struct { unsigned short int cia$w_source_addr_length; unsigned short int cia$w_unused_3; char cia$t_source_address_name [128]; } cia$r_fill_48; } cia$r_fill_47; unsigned short int cia$w_unused_4; __struct { unsigned short int cia$w_failed_user_length; unsigned short int cia$w_unused_5; char cia$t_failed_user_name [32]; } cia$r_failed_user; __union { char cia$t_failed_password [36]; __struct { unsigned short int cia$w_failed_pass_length; unsigned short int cia$w_unused_6; char cia$t_failed_pass_name [32]; } cia$r_fill_50; } cia$r_fill_49; __union { char cia$t_parent_user [36]; __struct { unsigned short int cia$w_parent_user_length; unsigned short int cia$w_unused_7; char cia$t_parent_user_name [32]; } cia$r_fill_52; } cia$r_fill_51; __union { char cia$t_source_node [1028]; __struct { unsigned short int cia$w_source_node_length; unsigned short int cia$w_unused_8; char cia$t_source_node_name [1024]; } cia$r_fill_54; } cia$r_fill_53; } ; #if !defined(__VAXC) && !defined(VAXC) #define cia$t_source_terminal cia$r_fill_43.cia$t_source_terminal #define cia$w_source_term_length cia$r_fill_43.cia$r_fill_44.cia$w_source_term_length #define cia$t_source_term_name cia$r_fill_43.cia$r_fill_44.cia$t_source_term_name #define cia$t_source_user cia$r_fill_45.cia$t_source_user #define cia$w_source_user_length cia$r_fill_45.cia$r_fill_46.cia$w_source_user_length #define cia$t_source_user_name cia$r_fill_45.cia$r_fill_46.cia$t_source_user_name #define cia$t_source_address cia$r_fill_47.cia$t_source_address #define cia$w_source_addr_length cia$r_fill_47.cia$r_fill_48.cia$w_source_addr_length #define cia$t_source_address_name cia$r_fill_47.cia$r_fill_48.cia$t_source_address_name #define cia$w_failed_user_length cia$r_failed_user.cia$w_failed_user_length #define cia$t_failed_user_name cia$r_failed_user.cia$t_failed_user_name #define cia$t_failed_password cia$r_fill_49.cia$t_failed_password #define cia$w_failed_pass_length cia$r_fill_49.cia$r_fill_50.cia$w_failed_pass_length #define cia$t_failed_pass_name cia$r_fill_49.cia$r_fill_50.cia$t_failed_pass_name #define cia$t_parent_user cia$r_fill_51.cia$t_parent_user #define cia$w_parent_user_length cia$r_fill_51.cia$r_fill_52.cia$w_parent_user_length #define cia$t_parent_user_name cia$r_fill_51.cia$r_fill_52.cia$t_parent_user_name #define cia$t_source_node cia$r_fill_53.cia$t_source_node #define cia$w_source_node_length cia$r_fill_53.cia$r_fill_54.cia$w_source_node_length #define cia$t_source_node_name cia$r_fill_53.cia$r_fill_54.cia$t_source_node_name #endif /* #if !defined(__VAXC) && !defined(VAXC) */ #define CIA$M_INTRUDER 0x1 #define CIA$M_SUSPECT 0x2 #define CIA$M_NETWORK 0x4 #define CIA$M_TERM_USER 0x8 #define CIA$M_TERMINAL 0x10 #define CIA$M_USERNAME 0x20 #define CIA$M_FILL_2 0xFFFFFFC0 #define CIA$K_SHOW_OUTPUT_LENGTH 1086 struct show_output { unsigned int cia$l_status; unsigned int cia$l_returned_context; unsigned int cia$q_expiration_time [2]; __union { unsigned int cia$l_flags; __struct { unsigned cia$v_intruder : 1; unsigned cia$v_suspect : 1; unsigned cia$v_network : 1; unsigned cia$v_term_user : 1; unsigned cia$v_terminal : 1; unsigned cia$v_username : 1; unsigned cia$v_fill_2 : 26; } cia$r_fill_56; } cia$r_fill_55; unsigned int cia$l_attempt_count; __union { char cia$t_user_spec [1062]; __struct { unsigned short int cia$w_user_spec_length; unsigned short int cia$w_unused_8; char cia$t_user_spec_name [1058]; } cia$r_fill_58; } cia$r_fill_57; } ; #if !defined(__VAXC) && !defined(VAXC) #define cia$l_flags cia$r_fill_55.cia$l_flags #define cia$v_intruder cia$r_fill_55.cia$r_fill_56.cia$v_intruder #define cia$v_suspect cia$r_fill_55.cia$r_fill_56.cia$v_suspect #define cia$v_network cia$r_fill_55.cia$r_fill_56.cia$v_network #define cia$v_term_user cia$r_fill_55.cia$r_fill_56.cia$v_term_user #define cia$v_terminal cia$r_fill_55.cia$r_fill_56.cia$v_terminal #define cia$v_username cia$r_fill_55.cia$r_fill_56.cia$v_username #define cia$t_user_spec cia$r_fill_57.cia$t_user_spec #define cia$w_user_spec_length cia$r_fill_57.cia$r_fill_58.cia$w_user_spec_length #define cia$t_user_spec_name cia$r_fill_57.cia$r_fill_58.cia$t_user_spec_name #endif /* #if !defined(__VAXC) && !defined(VAXC) */ struct breakin_block { unsigned int cia$l_break_flags; unsigned int cia$l_break_count; unsigned int cia$q_break_time [2]; } ; struct cia$generic_reply { unsigned int cia$l_reply_status; /* status of request */ } ; #ifdef __cplusplus } #endif #pragma standard #endif /* __CIADEF_LOADED */