00001 #ifndef cnctdef_h 00002 #define cnctdef_h 00003 00004 #define CNCT_K_ECOLEVEL 0x00 00005 #define CNCT_K_INITIAL 0x01 00006 #define CNCT_K_RECONNECT 0x02 00007 #define CNCT_K_ECOLEVEL_V52 0x13 00008 #define CNCT_K_PROTOCOL_V50 0x15 00009 #define CNCT_K_PROTOCOL_P22 0x16 00010 #define CNCT_K_PROTOCOL 0x17 00011 #define CNCT_K_PROTOCOL_P23 0x17 00012 00013 #define CNCT_V_CLUSTER 0x00 00014 #define CNCT_V_LONG_BREAK 0x00 00015 #define CNCT_V_REMOVED 0x02 00016 00017 #define CNCT_M_CLUSTER 0x01 00018 #define CNCT_M_LONG_BREAK 0x01 00019 #define CNCT_M_MEMBER 0x02 00020 #define CNCT_M_REMOVED 0x04 00021 00022 struct _cnct { 00023 00024 unsigned char cnct_b_ecolvl; 00025 unsigned char cnct_b_vernum; 00026 unsigned char cnct_b_type; 00027 unsigned char cnct_b_acklim; 00028 unsigned short cnct_w_quorum; 00029 unsigned short cnct_w_votes; 00030 unsigned short cnct_w_nodes; 00031 unsigned char cnct_b_clssts; 00032 unsigned char cnct_b_cnxsts; 00033 unsigned short cnct_w_rcvdseqnm; 00034 unsigned char cnct_b_cluver; 00035 00036 } 00037 00038 #endif 00039 00040