00001 #ifndef orbdef_h 00002 #define orbdef_h 00003 00004 #define ORB_M_PROT_16 0x1 00005 #define ORB_M_ACL_QUEUE 0x2 00006 #define ORB_M_MODE_VECTOR 0x4 00007 #define ORB_M_NOACL 0x8 00008 #define ORB_M_CLASS_PROT 0x10 00009 #define ORB_M_NOAUDIT 0x20 00010 #define ORB_M_MODE_VALID 0x80 00011 #define ORB_M_PROFILE_LOCKED 0x100 00012 #define ORB_M_INDIRECT_ACL 0x200 00013 #define ORB_M_BOOTTIME 0x400 00014 #define ORB_M_UNMODIFIED 0x800 00015 #define ORB_M_DAMAGED 0x1000 00016 #define ORB_M_TEMPLATE 0x2000 00017 #define ORB_M_TRANSITION 0x4000 00018 #define ORB_M_EXT_NAMEBLOCK 0x8000 00019 #define ORB_K_LENGTH 124 00020 #define ORB_C_LENGTH 124 00021 #define ORB_K_DEVNAM_LENGTH 64 00022 #define ORB_C_DEVNAM_LENGTH 64 00023 #define ORB_S_ORBDEF 125 00024 00025 struct _orb { 00026 union { 00027 unsigned int orb_l_owner; 00028 struct { 00029 unsigned short int orb_w_uicmember; 00030 unsigned short int orb_w_uicgroup; 00031 }; 00032 }; 00033 unsigned int orb_l_acl_mutex; 00034 unsigned short int orb_w_size; 00035 unsigned char orb_b_type; 00036 unsigned char orb_b_subtype; 00037 union { 00038 union { 00039 unsigned short int orb_w_flags; 00040 struct { 00041 unsigned char orb_b_flags_1; 00042 unsigned char orb_b_flags_2; 00043 }; 00044 }; 00045 unsigned char orb_b_flags; 00046 union { 00047 unsigned short int orb_w_flag_bits; 00048 struct { 00049 unsigned orb_v_prot_16 : 1; 00050 unsigned orb_v_acl_queue : 1; 00051 unsigned orb_v_mode_vector : 1; 00052 unsigned orb_v_noacl : 1; 00053 unsigned orb_v_class_prot : 1; 00054 unsigned orb_v_noaudit : 1; 00055 unsigned orb_v_reserved_1 : 1; 00056 unsigned orb_v_mode_valid : 1; 00057 unsigned orb_v_profile_locked : 1; 00058 unsigned orb_v_indirect_acl : 1; 00059 unsigned orb_v_boottime : 1; 00060 unsigned orb_v_unmodified : 1; 00061 unsigned orb_v_damaged : 1; 00062 unsigned orb_v_template : 1; 00063 unsigned orb_v_transition : 1; 00064 unsigned orb_v_ext_nameblock : 1; 00065 }; 00066 }; 00067 }; 00068 unsigned short int orb_w_refcount; 00069 union { 00070 union { 00071 unsigned long long orb_q_mode_prot; 00072 struct { 00073 unsigned int orb_l_mode_protl; 00074 unsigned int orb_l_mode_proth; 00075 }; 00076 }; 00077 unsigned int orb_l_mode; 00078 }; 00079 union { 00080 unsigned int orb_l_sys_prot; 00081 unsigned short int orb_w_prot; 00082 }; 00083 unsigned int orb_l_own_prot; 00084 unsigned int orb_l_grp_prot; 00085 unsigned int orb_l_wor_prot; 00086 union { 00087 struct _ace *orb_l_aclfl; 00088 unsigned int orb_l_acl_count; 00089 }; 00090 union { 00091 struct _ace *orb_l_aclbl; 00092 void *orb_l_acl_desc; 00093 }; 00094 struct { 00095 char orb_b_fill_2 [20]; 00096 }; 00097 struct { 00098 char orb_b_fill_3 [20]; 00099 }; 00100 unsigned short int orb_w_name_length; 00101 short int orb_w_fill_3; 00102 void *orb_l_name_pointer; 00103 struct _ocb *orb_l_ocb; 00104 struct _orb *orb_l_template_orb; 00105 int orb_l_object_specific; 00106 struct _orb *orb_l_original_orb; 00107 unsigned int orb_l_updseq; 00108 void *orb_l_mutex_address; 00109 int orb_l_reserve2; 00110 char orb_t_object_name; 00111 }; 00112 00113 #endif 00114 00115