00001 #ifndef acedef_h 00002 #define acedef_h 00003 00004 #define ACE_C_KEYID 1 00005 #define ACE_C_RMSJNL_BI 2 00006 #define ACE_C_RMSJNL_AI 3 00007 #define ACE_C_RMSJNL_AT 4 00008 #define ACE_C_AUDIT 5 00009 #define ACE_C_ALARM 6 00010 #define ACE_C_INFO 7 00011 #define ACE_C_RMSJNL_RU_DEFAULT 8 00012 #define ACE_C_DIRDEF 9 00013 #define ACE_C_RMSJNL_RU 10 00014 #define ACE_C_SUBSYSTEM_IDS 11 00015 #define ACE_C_OIL 12 00016 #define ACE_C_NEW_OWNER 13 00017 #define ACE_C_MAX_CODE 14 00018 #define ACE_C_RESERVED 255 00019 #define ACE_C_APPLICATION 7 00020 #define ACE_C_CUST 1 00021 #define ACE_C_CSS 2 00022 #define ACE_C_VMS 3 00023 #define ACE_M_SUCCESS 0x1 00024 #define ACE_M_FAILURE 0x2 00025 #define ACE_M_DEFAULT 0x100 00026 #define ACE_M_PROTECTED 0x200 00027 #define ACE_M_HIDDEN 0x400 00028 #define ACE_M_NOPROPAGATE 0x800 00029 #define ACE_M_READ 0x1 00030 #define ACE_M_WRITE 0x2 00031 #define ACE_M_EXECUTE 0x4 00032 #define ACE_M_DELETE 0x8 00033 #define ACE_M_CONTROL 0x10 00034 #define ACE_K_LENGTH 8 00035 #define ACE_C_LENGTH 8 00036 #define ACE_C_RMS_ATTRIBUTES 0 00037 #define ACE_K_RMS_ATTRIBUTES 0 00038 #define ACE_K_RMSATR_MINOR_V50 2 00039 #define ACE_K_RMSATR_MINOR_VDW 2 00040 #define ACE_C_RMSATR_MINOR_ID 2 00041 #define ACE_K_RMSATR_MINOR_ID 2 00042 #define ACE_C_RMSATR_MAJOR_ID 1 00043 #define ACE_K_RMSATR_MAJOR_ID 1 00044 #define ACE_M_STATISTICS 0x1 00045 #define ACE_M_XLATE_DEC 0x2 00046 #define ACE_S_RMSATR 20 00047 #define ACE_S_RMSATR_V50 20 00048 #define ACE_S_RMSATR_VDW 20 00049 00050 #define ACE__RMSATR_ORGANIZATION 1 00051 #define ACE__RMSATR_SEMANTICS 2 00052 #define ACE_K_RMSATR_ORG_MAX_LEN 64 00053 #define ACE_K_RMSATR_SEM_MAX_LEN 64 00054 #define ACE_S_RMSJNL_RU_DEFAULT 17 00055 #define ACE_M_JOURNAL_DISABLED 0x1 00056 #define ACE_M_BACKUP_DONE 0x2 00057 #define ACE_S_RMSJNL_RU 38 00058 #define ACE_S_RMSJNL 50 00059 #define ACE_S_OIL_S64I64 32 00060 #define ACE_S_OIL_S128 32 00061 #define ACE_S_OIL 32 00062 00063 struct _acedef { 00064 unsigned char ace_b_size; 00065 unsigned char ace_b_type; 00066 union { 00067 unsigned short int ace_w_flags; 00068 struct { 00069 unsigned ace_v_info_type : 4; 00070 unsigned ace_v_fill_6_ : 4; 00071 }; 00072 struct { 00073 unsigned ace_v_reserved : 4; 00074 unsigned ace_v_fill_7_ : 4; 00075 }; 00076 struct { 00077 unsigned ace_v_success : 1; 00078 unsigned ace_v_failure : 1; 00079 unsigned ace_v_fill_8_ : 6; 00080 }; 00081 struct { 00082 unsigned ace_v_filler_1 : 8; 00083 unsigned ace_v_default : 1; 00084 unsigned ace_v_protected : 1; 00085 unsigned ace_v_hidden : 1; 00086 unsigned ace_v_nopropagate : 1; 00087 unsigned ace_v_fill_9_ : 4; 00088 }; 00089 }; 00090 union { 00091 struct { 00092 union { 00093 unsigned int ace_l_access; 00094 struct { 00095 unsigned ace_v_read : 1; 00096 unsigned ace_v_write : 1; 00097 unsigned ace_v_execute : 1; 00098 unsigned ace_v_delete : 1; 00099 unsigned ace_v_control : 1; 00100 unsigned ace_v_fill_10_ : 3; 00101 }; 00102 }; 00103 union { 00104 unsigned int ace_l_key; 00105 char ace_t_auditname [16]; 00106 }; 00107 }; 00108 struct { 00109 union { 00110 unsigned int ace_l_info_flags; 00111 struct { 00112 unsigned short int ace_w_application_flags; 00113 unsigned short int ace_w_application_facility; 00114 }; 00115 }; 00116 union { 00117 char ace_t_info_start; 00118 struct { 00119 unsigned short int ace_w_rmsatr_variant; 00120 unsigned char ace_b_rmsatr_fixlen; 00121 char ace_b_rmsatr_spare1; 00122 unsigned short int ace_w_rmsatr_minor_id; 00123 unsigned short int ace_w_rmsatr_major_id; 00124 union { 00125 unsigned int ace_l_rms_attribute_flags; 00126 struct { 00127 unsigned ace_v_statistics : 1; 00128 unsigned ace_v_xlate_dec : 1; 00129 unsigned ace_v_fill_11_ : 6; 00130 }; 00131 }; 00132 }; 00133 }; 00134 }; 00135 struct { 00136 char ace_t_volnam [12]; 00137 unsigned char ace_b_volnam_len; 00138 unsigned char ace_b_rjrver; 00139 union { 00140 unsigned short int ace_w_fid [3]; 00141 struct { 00142 unsigned short int ace_w_fid_num; 00143 unsigned short int ace_w_fid_seq; 00144 union { 00145 unsigned short int ace_w_fid_rvn; 00146 struct { 00147 unsigned char ace_b_fid_rvn; 00148 unsigned char ace_b_fid_nmx; 00149 }; 00150 }; 00151 }; 00152 }; 00153 union { 00154 unsigned short int ace_w_rmsjnl_flags; 00155 struct { 00156 unsigned ace_v_journal_disabled : 1; 00157 unsigned ace_v_backup_done : 1; 00158 unsigned ace_v_fill_12_ : 6; 00159 }; 00160 }; 00161 unsigned int ace_l_jnlidx; 00162 unsigned long long ace_q_cdate; 00163 unsigned int ace_l_backup_seqno; 00164 unsigned long long ace_q_modification_time; 00165 }; 00166 struct { 00167 unsigned int ace_l_spare1; 00168 unsigned int ace_l_sys_prot; 00169 unsigned int ace_l_own_prot; 00170 unsigned int ace_l_grp_prot; 00171 unsigned int ace_l_wor_prot; 00172 }; 00173 struct { 00174 unsigned int ace_l_spare2; 00175 unsigned long long ace_q_image_ids; 00176 }; 00177 struct { 00178 unsigned int ace_l_oil_flags; 00179 unsigned int ace_l_brand_name; 00180 char ace_r_class_prot; 00181 }; 00182 }; 00183 }; 00184 00185 #endif 00186 00187