00001 #ifndef kfedef_h 00002 #define kfedef_H 00003 00004 #define KFE_M_PROTECT 0x1 00005 #define KFE_M_LIM 0x2 00006 #define KFE_M_PROCPRIV 0x4 00007 #define KFE_M_OPEN 0x8 00008 #define KFE_M_HDRRES 0x10 00009 #define KFE_M_SHARED 0x20 00010 #define KFE_M_KFE_NAMING 0x40 00011 #define KFE_M_COMPRESS 0x80 00012 #define KFE_M_NOPURGE 0x100 00013 #define KFE_M_ACCOUNT 0x200 00014 #define KFE_M_WRITEABLE 0x400 00015 #define KFE_M_EXEONLY 0x800 00016 #define KFE_M_DISCONTIGUOUS 0x1000 00017 #define KFE_M_DELETE_PEND 0x2000 00018 #define KFE_M_VERSION_SAFE 0x4000 00019 #define KFE_M_DATA_RESIDENT 0x8000 00020 #define KFE_M_AUTHPRIV 0x1 00021 #define KFE_M_ARB_SUPPORT 0x2 00022 #define KFE_K_LENGTH 112 00023 #define KFE_C_LENGTH 112 00024 00025 #define KFE_K_NUMBER_OF_FLAGS 18 00026 #define KFE_S_KFEDEF 112 00027 00028 struct _kfe { 00029 void *kfe_l_hshlnk; 00030 struct _kfe *kfe_l_kfelink; 00031 unsigned short int kfe_w_size; 00032 unsigned char kfe_b_type; 00033 unsigned char kfe_b_hshidx; 00034 struct _kfd *kfe_l_kfd; 00035 union { 00036 unsigned short int kfe_w_flags; 00037 struct { 00038 unsigned kfe_v_protect : 1; 00039 unsigned kfe_v_lim : 1; 00040 unsigned kfe_v_procpriv : 1; 00041 unsigned kfe_v_open : 1; 00042 unsigned kfe_v_hdrres : 1; 00043 unsigned kfe_v_shared : 1; 00044 unsigned kfe_v_kfe_naming : 1; 00045 unsigned kfe_v_compress : 1; 00046 unsigned kfe_v_nopurge : 1; 00047 unsigned kfe_v_account : 1; 00048 unsigned kfe_v_writeable : 1; 00049 unsigned kfe_v_exeonly : 1; 00050 unsigned kfe_v_discontiguous : 1; 00051 unsigned kfe_v_delete_pend : 1; 00052 unsigned kfe_v_version_safe : 1; 00053 unsigned kfe_v_data_resident : 1; 00054 }; 00055 }; 00056 unsigned short int kfe_w_gblseccnt; 00057 unsigned int kfe_l_usecnt; 00058 union { 00059 struct _wcb *kfe_l_wcb; 00060 struct { 00061 union { 00062 unsigned short int kfe_w_fid; 00063 unsigned short int kfe_w_fid_num; 00064 }; 00065 unsigned short int kfe_w_fid_seq; 00066 }; 00067 }; 00068 union { 00069 struct _ihd *kfe_l_imghdr; 00070 unsigned short int kfe_w_fid_rvn; 00071 }; 00072 unsigned long long kfe_q_procpriv; 00073 unsigned char kfe_b_matchctl; 00074 char kfedef_$_fill_4; 00075 unsigned short int kfe_w_amecod; 00076 unsigned int kfe_l_ident; 00077 struct _orb *kfe_l_orb; 00078 unsigned short int kfe_w_shrcnt; 00079 unsigned short int kfe_w_maxshrisd; 00080 struct _kferes *kfe_l_kferes_ptr; 00081 unsigned int kfe_l_ref_count; 00082 unsigned int kfe_l_priv_isd_cnt; 00083 unsigned int kfe_l_image_size; 00084 unsigned int kfe_l_obsolete_1; 00085 unsigned int kfe_l_imagename_offset; 00086 union { 00087 unsigned int kfe_l_flags2; 00088 struct { 00089 unsigned kfe_v_authpriv : 1; 00090 unsigned kfe_v_arb_support : 1; 00091 unsigned kfe_v_fill_0_ : 6; 00092 }; 00093 }; 00094 void *kfe_ar_authrights; 00095 void *kfe_ar_rights; 00096 unsigned int kfe_l_arb_support; 00097 unsigned long long kfe_q_authpriv; 00098 unsigned int kfe_l_risig_offset; 00099 unsigned short int kfe_w_filver; 00100 short int kfedef_$_fill_5; 00101 }; 00102 00103 #endif 00104 00105