00001 #ifndef rsbdef_h 00002 #define rsbdef_h 00003 00004 #define RSB_M_DIRENTRY 0x1 00005 #define RSB_M_VALINVLD 0x2 00006 #define RSB_M_DIR_RQD 0x4 00007 #define RSB_M_RM_PEND 0x8 00008 #define RSB_M_RM_IP 0x10 00009 #define RSB_M_RM_ACCEPT 0x20 00010 #define RSB_M_RM_RBLD 0x40 00011 #define RSB_M_RM_WAIT 0x80 00012 #define RSB_M_RM_DEFLECT 0x100 00013 #define RSB_M_DIR_IP 0x200 00014 #define RSB_M_RBLD_IP 0x400 00015 #define RSB_M_RBLD_RQD 0x800 00016 #define RSB_M_RBLD_ACT 0x1000 00017 #define RSB_M_CHK_BTR 0x2000 00018 #define RSB_M_WTFULRNG 0x4000 00019 #define RSB_M_WTSUBRNG 0x8000 00020 #define RSB_M_BRL 0x10000 00021 #define RSB_M_2PC_IP 0x80000 00022 #define RSB_M_CVTFULRNG 0x100000 00023 #define RSB_M_CVTSUBRNG 0x200000 00024 #define RSB_M_VALCUR 0x400000 00025 #define RSB_M_INVPEND 0x800000 00026 #define RSB_M_DPC 0x1000000 00027 #define RSB_M_GGMODE_VALID 0x2000000 00028 #define RSB_K_MAXLEN 31 00029 #define RSB_K_LENGTH 256 00030 #define RSB_C_LENGTH 256 00031 #define RSB_S_RSBDEF 256 00032 00033 struct _rsb { 00034 void *rsb_l_hshchn; 00035 void *rsb_l_hshchnbk; 00036 00037 unsigned short int rsb_w_size; 00038 unsigned char rsb_b_type; 00039 unsigned char rsb_b_depth; 00040 unsigned char rsb_b_fgmode; 00041 unsigned char rsb_b_ggmode; 00042 unsigned char rsb_b_cgmode; 00043 unsigned int rsb_l_status; 00044 unsigned int rsb_l_refcnt; 00045 void *rsb_l_grqfl; 00046 void *rsb_l_grqbl; 00047 void *rsb_l_cvtqfl; 00048 void *rsb_l_cvtqbl; 00049 void *rsb_l_wtqfl; 00050 void *rsb_l_wtqbl; 00051 unsigned long long rsb_q_valblk; 00052 unsigned long rsb_l_csid; 00053 void *rsb_l_rrsfl; 00054 void *rsb_l_rrsbl; 00055 void *rsb_l_srsfl; 00056 void *rsb_l_srsbl; 00057 unsigned long rsb_l_rm_csid; 00058 struct _rsb *rsb_l_rtrsb; 00059 struct _clurcb *rsb_l_clurcb; 00060 unsigned short int rsb_w_activity; 00061 unsigned short int rsb_w_lckcnt; 00062 unsigned int rsb_l_valseqnum; 00063 unsigned short int rsb_w_refcnt; 00064 unsigned short int rsb_w_blkastcnt; 00065 unsigned short int rsb_w_hashval; 00066 unsigned short int rsb_w_rqseqnm; 00067 struct _rsb *rsb_l_parent; 00068 unsigned short int rsb_w_group; 00069 unsigned char rsb_b_rmod; 00070 unsigned char rsb_b_rsnlen; 00071 char rsb_t_resnam [32]; 00072 }; 00073 00074 #endif 00075