00001 #ifndef clubdef_h 00002 #define clubdef_h 00003 00004 #define CLUBFKB_M_FKB_BUSY 0x1 00005 #define CLUBFKB_M_FORKQ 0x2 00006 #define CLUBFKB_C_LENGTH 40 00007 #define CLUBFKB_K_LENGTH 40 00008 #define CLUBFKB_S_CLUBFKBDEF 40 00009 00010 #define CLUBPWF_M_BUSY 0x1 00011 #define CLUBPWF_C_LENGTH 40 00012 #define CLUBPWF_K_LENGTH 40 00013 #define CLUBPWF_S_CLUBPWFDEF 40 00014 00015 #define CLUFCB_M_ACTIVE 0x1 00016 #define CLUFCB_M_PENDING 0x2 00017 #define CLUFCB_M_SYNC_NODE 0x4 00018 #define CLUFCB_M_FKB_BUSY 0x8 00019 #define CLUFCB_M_WAITING 0x10 00020 #define CLUFCB_M_AUX 0x20 00021 #define CLUFCB_M_RB_SUSPEND 0x40 00022 #define CLUFCB_C_LENGTH 120 00023 #define CLUFCB_K_LENGTH 120 00024 #define CLUFCB_S_CLUFCBDEF 120 00025 00026 #define CLUB_M_CLUSTER 0x1 00027 #define CLUB_M_QF_ACTIVE 0x2 00028 #define CLUB_M_QF_DYNVOTE 0x4 00029 #define CLUB_M_QF_WATCHER 0x8 00030 #define CLUB_M_SHUTDOWN 0x10 00031 #define CLUB_M_QF_REFRESH_REQ 0x20 00032 #define CLUB_M_LNM_RESYNCH 0x40 00033 #define CLUB_M_STS_PPHASE 0x100 00034 #define CLUB_M_STS_PH0 0x200 00035 #define CLUB_M_STS_PH1B 0x400 00036 #define CLUB_M_STS_PH1 0x800 00037 #define CLUB_M_STS_PH2 0x1000 00038 #define CLUB_M_TDF_VALID 0x2000 00039 #define CLUB_M_FKB_BUSY 0x10000 00040 #define CLUB_M_UNLOCK 0x20000 00041 #define CLUB_M_NO_FORM 0x40000 00042 #define CLUB_M_INIT 0x80000 00043 #define CLUB_M_BACKOUT 0x100000 00044 #define CLUB_M_PRIOR_PROTOCOL 0x200000 00045 #define CLUB_M_VERBOSE 0x400000 00046 #define CLUB_M_LOST_CNX 0x800000 00047 #define CLUB_M_QF_FAILED_NODE 0x1000000 00048 #define CLUB_M_QF_VOTE 0x2000000 00049 #define CLUB_M_QF_NEWVOTE 0x4000000 00050 #define CLUB_M_ADJ_QUORUM 0x8000000 00051 #define CLUB_M_QUORUM 0x10000000 00052 #define CLUB_M_TRANSITION 0x20000000 00053 #define CLUB_M_RESLOCKIP 0x40000000 00054 #define CLUB_M_QTQEBSY 0x80000000 00055 #define CLUB_M_LK_MERGEIP 0x4 00056 #define CLUB_M_LK_DO_FULL 0x8 00057 #define CLUB_M_LK_FULL 0x10 00058 #define CLUB_M_LK_DO_DIR 0x20 00059 #define CLUB_M_LK_DIR 0x40 00060 #define CLUB_M_LK_NO_RMVDIR 0x80 00061 #define CLUB_M_LK_INIT_RBLD 0x100 00062 #define CLUB_M_LK_NO_RM 0x200 00063 #define CLUB_M_LK_TABLE_V51 0x400 00064 #define CLUB_M_LK_SPECIAL_1 0x800 00065 #define CLUB_M_LK_RM_DSBL 0x1000 00066 #define CLUB_M_LK_TABLE_1 0x2000 00067 #define CLUB_M_LK_SHUTDOWN 0x4000 00068 #define CLUB_M_LK_SHUT_IP 0x8000 00069 #define CLUB_M_NO_FQUORUM 0x1 00070 #define CLUB_M_NO_DQUORUM 0x2 00071 #define CLUB_M_IFW_REQ 0x4 00072 #define CLUB_M_RNS_REQ 0x8 00073 #define CLUB_M_CLUGEN_VALID 0x1 00074 #define CLUB_C_LENGTH 640 00075 #define CLUB_K_LENGTH 640 00076 #define CLUB_S_CLUBDEF 640 00077 00078 struct _clubfkb { 00079 char clubfkb_b_fork_block [32]; 00080 unsigned int clubfkb_l_pc2; 00081 union { 00082 unsigned int clubfkb_l_status; 00083 struct { 00084 unsigned clubfkb_v_fkb_busy : 1; 00085 unsigned clubfkb_v_forkq : 1; 00086 unsigned clubfkb_v_fill_2_ : 6; 00087 }; 00088 }; 00089 }; 00090 00091 struct _clubpwf { 00092 char clubpwf_b_fork_block [32]; 00093 00094 00095 union { 00096 unsigned int clubpwf_l_status; 00097 struct { 00098 unsigned clubpwf_v_busy : 1; 00099 unsigned clubpwf_v_fill_5_ : 7; 00100 }; 00101 }; 00102 char clubpwf_t_align [4]; 00103 }; 00104 00105 00106 struct _clufcb { 00107 char clufcb_b_fork_block [32]; 00108 unsigned int clufcb_l_step; 00109 unsigned int clufcb_l_id; 00110 union { 00111 unsigned int clufcb_l_status; 00112 struct { 00113 unsigned clufcb_v_active : 1; 00114 unsigned clufcb_v_pending : 1; 00115 unsigned clufcb_v_sync_node : 1; 00116 unsigned clufcb_v_fkb_busy : 1; 00117 unsigned clufcb_v_waiting : 1; 00118 unsigned clufcb_v_aux : 1; 00119 unsigned clufcb_v_rb_suspend : 1; 00120 unsigned clufcb_v_fill_8_ : 1; 00121 }; 00122 }; 00123 struct _csb *clufcb_l_sync_csb; 00124 char clufcb_b_nodemap [32]; 00125 char clufcb_b_respmap [32]; 00126 unsigned int clufcb_l_index; 00127 struct _fkb *clufcb_l_aux_fkb; 00128 }; 00129 00130 struct _club { 00131 struct _csb *club_l_csbqfl; 00132 struct _csb *club_l_csbqbl; 00133 unsigned short int club_w_size; 00134 unsigned char club_b_type; 00135 unsigned char club_b_subtype; 00136 unsigned int club_l_poll_ctx; 00137 struct _csb *club_l_local_csb; 00138 struct _acb *club_l_astqfl; 00139 struct _acb *club_l_astqbl; 00140 union { 00141 unsigned int club_l_flags; 00142 struct { 00143 unsigned club_v_cluster : 1; 00144 unsigned club_v_qf_active : 1; 00145 unsigned club_v_qf_dynvote : 1; 00146 unsigned club_v_qf_watcher : 1; 00147 unsigned club_v_shutdown : 1; 00148 unsigned club_v_qf_refresh_req : 1; 00149 unsigned club_v_lnm_resynch : 1; 00150 unsigned club_v_fill_0 : 1; 00151 unsigned club_v_sts_pphase : 1; 00152 unsigned club_v_sts_ph0 : 1; 00153 unsigned club_v_sts_ph1b : 1; 00154 unsigned club_v_sts_ph1 : 1; 00155 unsigned club_v_sts_ph2 : 1; 00156 unsigned club_v_tdf_valid : 1; 00157 unsigned club_v_fill_01 : 2; 00158 unsigned club_v_fkb_busy : 1; 00159 unsigned club_v_unlock : 1; 00160 unsigned club_v_no_form : 1; 00161 unsigned club_v_init : 1; 00162 unsigned club_v_backout : 1; 00163 unsigned club_v_prior_protocol : 1; 00164 unsigned club_v_verbose : 1; 00165 unsigned club_v_lost_cnx : 1; 00166 unsigned club_v_qf_failed_node : 1; 00167 unsigned club_v_qf_vote : 1; 00168 unsigned club_v_qf_newvote : 1; 00169 unsigned club_v_adj_quorum : 1; 00170 unsigned club_v_quorum : 1; 00171 unsigned club_v_transition : 1; 00172 unsigned club_v_reslockip : 1; 00173 unsigned club_v_qtqebsy : 1; 00174 }; 00175 }; 00176 union { 00177 unsigned int club_l_lk_flags; 00178 struct { 00179 unsigned club_v_fill_10 : 1; 00180 unsigned club_v_fill_11 : 1; 00181 unsigned club_v_lk_mergeip : 1; 00182 unsigned club_v_lk_do_full : 1; 00183 unsigned club_v_lk_full : 1; 00184 unsigned club_v_lk_do_dir : 1; 00185 unsigned club_v_lk_dir : 1; 00186 unsigned club_v_lk_no_rmvdir : 1; 00187 unsigned club_v_lk_init_rbld : 1; 00188 unsigned club_v_lk_no_rm : 1; 00189 unsigned club_v_lk_table_v51 : 1; 00190 unsigned club_v_lk_special_1 : 1; 00191 unsigned club_v_lk_rm_dsbl : 1; 00192 unsigned club_v_lk_table_1 : 1; 00193 unsigned club_v_lk_shutdown : 1; 00194 unsigned club_v_lk_shut_ip : 1; 00195 }; 00196 }; 00197 unsigned short int club_w_rseqnum; 00198 unsigned short int club_w_dirseqnum; 00199 union { 00200 unsigned char club_b_qstatus; 00201 struct { 00202 unsigned club_v_no_fquorum : 1; 00203 unsigned club_v_no_dquorum : 1; 00204 unsigned club_v_ifw_req : 1; 00205 unsigned club_v_rns_req : 1; 00206 unsigned club_v_fill_03 : 4; 00207 }; 00208 }; 00209 char club_b_fill_2; 00210 unsigned short int club_w_qdvotes; 00211 unsigned short int club_w_quorum; 00212 unsigned short int club_w_votes; 00213 unsigned short int club_w_cevotes; 00214 unsigned short int club_w_adj_cevotes; 00215 unsigned short int club_w_nodes; 00216 char club_b_fsysid [6]; 00217 long long club_q_ftime; 00218 unsigned int club_l_lst_xtn; 00219 unsigned int club_l_lst_coord; 00220 long long club_q_lst_time; 00221 unsigned char club_b_lst_code; 00222 unsigned char club_b_lst_phase; 00223 unsigned short int club_w_newqdvotes; 00224 unsigned int club_l_cur_xtn; 00225 unsigned int club_l_cur_coord; 00226 long long club_q_cur_time; 00227 unsigned char club_b_cur_code; 00228 unsigned char club_b_cur_phase; 00229 unsigned short int club_w_msgcnt; 00230 struct _csb *club_l_coord; 00231 union { 00232 unsigned int club_l_local_csid; 00233 struct { 00234 unsigned short int club_w_local_csid_idx; 00235 unsigned short int club_w_local_csid_seq; 00236 }; 00237 }; 00238 unsigned short int club_w_next_csid; 00239 unsigned short int club_w_first_index; 00240 unsigned int club_l_max_xtn; 00241 unsigned int club_l_retrycnt; 00242 unsigned int club_l_ctx0; 00243 unsigned int club_l_ret1; 00244 unsigned int club_l_ctx1; 00245 unsigned int club_l_ret2; 00246 unsigned int club_l_ctx2; 00247 struct _tqe *club_l_tqe; 00248 unsigned int club_l_cspipid; 00249 unsigned long long club_q_newtime; 00250 unsigned long long club_q_newtime_ref; 00251 unsigned short int club_w_newquorum; 00252 unsigned short int club_w_newcevotes; 00253 unsigned int club_l_fmerit; 00254 union { 00255 unsigned int club_l_e_memseq; 00256 struct { 00257 unsigned short int club_w_memseq; 00258 short int club_w_fill_1; 00259 }; 00260 }; 00261 unsigned int club_l_random; 00262 struct _cludcb *club_l_cludcb; 00263 char club_t_qdname [16]; 00264 struct _cluicb *club_l_cluicb; 00265 unsigned int club_l_foreign_cluster; 00266 unsigned int club_l_enbl_verbose; 00267 unsigned int club_l_qlost_clugen; 00268 unsigned int club_l_stg_join_clugen; 00269 unsigned int club_l_join_clugen; 00270 unsigned short int club_w_stg_join_flags; 00271 union { 00272 unsigned short int club_w_join_flags; 00273 struct { 00274 unsigned club_v_clugen_valid : 1; 00275 unsigned club_v_fill_04 : 15; 00276 }; 00277 }; 00278 unsigned int club_l_rm_quota; 00279 unsigned long long club_q_cspq; 00280 char club_b_fork_block [40]; 00281 char club_b_nodemap [32]; 00282 char club_b_clufcb [120]; 00283 char club_b_hang_fkb [32]; 00284 char club_b_clubpwf [40]; 00285 unsigned int club_l_reslocktmo; 00286 unsigned int club_l_reslockcsid; 00287 unsigned int club_l_locktime; 00288 unsigned short int club_w_merge_cnt; 00289 unsigned short int club_w_parseqnum; 00290 unsigned char club_b_newrbld_req; 00291 unsigned char club_b_rbld_clu; 00292 unsigned char club_b_rbld_loc; 00293 char club_b_fill_21; 00294 struct _clurcb *club_l_clurcbfl; 00295 struct _clurcb *club_l_clurcbbl; 00296 unsigned short int club_w_rbld_inhib; 00297 short int club_w_fill_22; 00298 unsigned short int club_w_ncnid; 00299 unsigned short int club_w_newncnid; 00300 unsigned int club_l_toff; 00301 unsigned int club_l_ton; 00302 void *club_l_tbls; 00303 struct _tqe *club_l_qtqe; 00304 unsigned int club_l_sync_step; 00305 unsigned long long club_q_tdf; 00306 unsigned long long club_q_block_seq; 00307 00308 char club_b_lckmgr_fork_block [40]; 00309 unsigned int club_l_rmbuf_link; 00310 unsigned int club_l_max_rmbufs; 00311 unsigned int club_l_cached_rmbufs; 00312 unsigned int club_l_tot_rmbufs; 00313 }; 00314 00315 #endif 00316 00317 00318 00319