📄 fsentitydata.hit
字号:
#ifndef FSENTITYDATA_HIT#define FSENTITYDATA_HIT/*--------------------------------------*//* *//* Entity data structures *//* *//*--------------------------------------*//* Structure used in the translation table from the RTk-E ID to the FS ID *//*------------------------------------------------------------------------*/typedef struct st_IDTranslStruct { t_RtkID v_RtkID; /* Real time kernel Identifier */ u16 v_FsID; /* FS Identifier */ } t_IDTranslStruct;/* Structure associated to an entity *//*-----------------------------------*/typedef struct st_fsEntityStruct { ascii * p_Path; /* Pointer on current entity's path */ t_fsVolStruct * p_CurrentVolume; /* Pointer on volume corresponding to current path */ t_fsFILE * p_FileList; /* Pointer on List containing all entity's open files */ t_fsDIR * p_DirList; /* Pointer on list containing all entities open directories */ u32 v_CurrentDirIDLevelN; /* Directory's Id corresponding to current path level N */ u32 v_CurrentDirIDLevelN_1; /* Directory's Id corresponding to current path level N - 1 */ u16 v_PathLenght; /* Lenght of path without \0 */ t_RtkID v_RtkID; /* RTK ID of entity */ u8 v_DirLevelNExist; /* Current dir level N exist */ u8 v_DirLevelN_1Exist; /* Current dir level N-1 exist */ u8 v_CurrPathValid; /* If current path is valid ( can be invalidated if current directory removed ) */ MC_PCC_FILL_STRUCT1 } t_fsEntityStruct;/* This structure is the base structure of entity data management *//*----------------------------------------------------------------*/typedef struct st_EntityDataBaseStruct { t_IDTranslStruct * p_TabTranslRtkFs; /* Pointer on table to translate RTK-E ID in FSS ID */ t_fsEntityStruct ** p_EntityIndexedByFsId; /* Pointer on table which point on FSS entitys' CBs indexed via FSS index */ u16 v_NbrMaxEntitys; /* Number max of entitys' which can be managed by fs */ u16 v_NbrEntitys; /* Current number of entitys */ u16 v_BeginningIndex; /* Beginning index for dychotomeous search */ MC_PCC_FILL_STRUCT2 } t_EntityDataBaseStruct;typedef struct st_EntityPathInfo { ascii * p_Path; /* Pointer on path */ t_fsVolStruct * p_CurrVolume; /* Current volume pointer */ u32 v_CurrentDirIDLevelN; /* Directory's Id corresponding to current path level N */ u32 v_CurrentDirIDLevelN_1; /* Directory's Id corresponding to current path level N - 1 */ u16 v_PathLenght; /* Lenght of path without \0 */ u8 v_DirLevelNExist; /* Current dir level N exist */ u8 v_DirLevelN_1Exist; /* Current dir level N-1 exist */ u8 v_CurrPathValid; /* If current path is valid ( can be invalidated if current directory removed ) */ MC_PCC_FILL_STRUCT3 } t_EntityPathInfo;#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -