⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fstranslate.h

📁 我今天开始上传5份TI、NXP、MTK的手机开发全套资料。希望对大家有很大的帮助
💻 H
字号:
/*S**************************************************************************** ........................................................................                COPYRIGHT (c) Philips Semiconductors Nuremberg 2003    ..     All rights are reserved. Reproduction in whole or in part is      ..     prohibited without the written consent of the copyright owner.    . ......................................................................... File name :    FsTranslate.h.. Project :      SSYOL3 WAP/MMS.. Module :       OSFS.. %version:      MMS1.0 %.. Compiler name and release:...............:........:..........:............:........................... *----------------------------------------------------------------------------* *                                    DESCRIPTION * *   This include file maps all FS definitions to FSS definitions *----------------------------------------------------------------------------* *----------------------------------------------------------------------------* *                           FUNCTIONS DEFINED IN THIS FILE *----------------------------------------------------------------------------* * Name            | Object *----------------------------------------------------------------------------* * * *----------------------------------------------------------------------------* *----------------------------------------------------------------------------* *                                    EVOLUTION *----------------------------------------------------------------------------* * Date     | Author             | Description *----------------------------------------------------------------------------* * 27.03.03 | tcmc_sgp           | File header is added *****************************************************************************E*/#ifndef FSTRANSLATE_H#define FSTRANSLATE_H#define t_DIR		t_UnusedD#define t_fssDIR 	t_fsDIR#define t_FILE		t_UnusedF#define t_fssFILE	t_fsFILE/* Map FSS volume states to FS states *//*------------------------------------*/#define FS_NOT_FORMATED		FSS_NOT_FORMATED	/* Volume not formated */#define FS_FORMATED		FSS_FORMATED		/* Volume is formated */#define FS_FROZEN		FSS_FROZEN		/* Volume frozen *//*-------------------------------------*//* Map FSS structures to FS structures *//*-------------------------------------*/#define t_fss_off_t t_fs_off_t  /* "t_fss_off_t" is a bit field off permission bits							 and type of object */	#define t_fss_dirent t_fs_dirent/* Path for the file system server *//*---------------------------------*/#define fssPath		fsPath/* Volume name for the file system server *//*----------------------------------------*/#define fssVolName 	fsVolName/* Redefinition of mode and its associted macros *//*-----------------------------------------------*/#define t_fss_mod_t 		t_fs_mod_t  #define s_fss_st_mode 		s_fs_st_mode/* Definition of a size *//*----------------------*/#define t_fss_size_t	t_fs_size_t#define s_fss_st_size 	s_fs_st_size/* Definition of the stat structure *//*----------------------------------*/#define t_fss_stat  	t_fs_stat/* Redefinition of volume info structure *//*---------------------------------------*/#define t_fssVolInfo	t_fsVolInfo/* Redefinition of volume structure *//*----------------------------------*/#define t_fssVolStruct	t_fsVolStruct/* Redefinition of file address structure and it's piece *//*-------------------------------------------------------*/#define  FS_FILE_ADDR_HEADER_SIZE	FSS_FILE_ADDR_HEADER_SIZE#define t_fssFilePieceInfo 		t_fsFilePieceInfo#define t_fssFileAddr			t_fsFileAddr/* Redefinition of fs configuration *//*----------------------------------*/#define t_FssConfiguration t_FsConfiguration/****************************************************************************************//*											*//*		Redefinition of message interface structures and commands		*//*											*//****************************************************************************************/#define	FS_CMD_FOPEN_REQ		FSS_CMD_FOPEN_REQ#define	FS_CMD_FCLOSE_REQ		FSS_CMD_FCLOSE_REQ#define	FS_CMD_REMOVE_REQ		FSS_CMD_REMOVE_REQ#define	FS_CMD_RENAME_REQ		FSS_CMD_RENAME_REQ#define	FS_CMD_SETVBUFF_REQ		FSS_CMD_SETVBUFF_REQ#define	FS_CMD_FTELL_REQ		FSS_CMD_FTELL_REQ#define	FS_CMD_FSEEK_REQ		FSS_CMD_FSEEK_REQ#define	FS_CMD_REWIND_REQ		FSS_CMD_REWIND_REQ#define	FS_CMD_STAT_REQ			FSS_CMD_STAT_REQ#define	FS_CMD_FFLUSH_REQ		FSS_CMD_FFLUSH_REQ#define	FS_CMD_FEOF_REQ			FSS_CMD_FEOF_REQ#define	FS_CMD_FWRITE_REQ		FSS_CMD_FWRITE_REQ#define	FS_CMD_FREAD_REQ		FSS_CMD_FREAD_REQ#define	FS_CMD_GETVOLINFO_REQ		FSS_CMD_GETVOLINFO_REQ#define	FS_CMD_CLEARALLVOLOBJ_REQ	FSS_CMD_CLEARALLVOLOBJ_REQ#define	FS_CMD_MKDIR_REQ		FSS_CMD_MKDIR_REQ#define	FS_CMD_RMDIR_REQ		FSS_CMD_RMDIR_REQ#define	FS_CMD_CHDIR_REQ		FSS_CMD_CHDIR_REQ#define	FS_CMD_GETCWD_REQ		FSS_CMD_GETCWD_REQ#define	FS_CMD_OPENDIR_REQ		FSS_CMD_OPENDIR_REQ#define	FS_CMD_CLOSEDIR_REQ		FSS_CMD_CLOSEDIR_REQ#define	FS_CMD_READDIR_REQ		FSS_CMD_READDIR_REQ#define	FS_CMD_REWINDDIR_REQ		FSS_CMD_REWINDDIR_REQ#define	FS_CMD_FORMATVOL_REQ		FSS_CMD_FORMATVOL_REQ#define FS_CMD_FREEZEVOL_REQ		FSS_CMD_FREEZEVOL_REQ#define FS_CMD_UNFREEZEVOL_REQ		FSS_CMD_UNFREEZEVOL_REQ#define FS_CMD_GETFILEADDR_REQ		FSS_CMD_GETFILEADDR_REQ#define FS_CMD_GETFILESADDROFDIR_REQ	FSS_CMD_GETFILESADDROFDIR_REQ#define FS_CMD_GARBAGEVOL_REQ		FSS_CMD_GARBAGEVOL_REQ#ifdef SYNCHRONOUS_FILE_SYSTEM_FTR#define FS_CMD_SETSIZE_REQ              FSS_CMD_SETSIZE_REQ#endif    /* Special FS commands */    /*---------------------*/	/* Time out Optype ( for buffer flush ...) */#define	FS_CMD_TO			FSS_CMD_TO#define FS_CMD_TO_IND			FSS_CMD_TO_IND	/* Run of a special thread command */#define	FS_CMD_RUNTHREAD		FSS_CMD_RUNTHREAD#define	FS_CMD_RUNTHREAD_REQ		FSS_CMD_RUNTHREAD_REQ/* Redefinition of message header *//*--------------------------------*/#define t_FssMsgHeader	t_FsMsgHeader/* Structure of message for fopen command *//*----------------------------------------*/#define t_FssCmdFOpen 		t_FsCmdFOpen/* Structure of message for fclose command *//*-----------------------------------------*/#define t_FssCmdFClose 		t_FsCmdFClose/* Structure of message for remove command *//*-----------------------------------------*/#define t_FssCmdRemove 		t_FsCmdRemove/* Structure of message for rename command *//*-----------------------------------------*/#define t_FssCmdRename 		t_FsCmdRename/* Structure of message for SetVBuff command *//*-------------------------------------------*/#define t_FssCmdSetVBuff 	t_FsCmdSetVBuff/* Structure of message for ftell command *//*----------------------------------------*/#define t_FssCmdFTell 		t_FsCmdFTell/* Structure of message for fseek command *//*----------------------------------------*/#define t_FssCmdFSeek 		t_FsCmdFSeek/* Structure of message for rewind command *//*-----------------------------------------*/#define t_FssCmdRewind 		t_FsCmdRewind/* Structure of message for stat command *//*---------------------------------------*/#define t_FssCmdStat 		t_FsCmdStat/* Structure of message for feof command *//*---------------------------------------*/#define t_FssCmdFeof 		t_FsCmdFeof/* Structure of message for fwrite command *//*-----------------------------------------*/#define t_FssCmdFWrite 		t_FsCmdFWrite/* Structure of message for fread command *//*----------------------------------------*/#define t_FssCmdFRead 		t_FsCmdFRead/* Structure of message for fgets command *//*----------------------------------------*/#define t_FssCmdFGets 		t_FsCmdFGets/* Structure of message for fputs command *//*----------------------------------------*/#define t_FssCmdFPuts 		t_FsCmdFPuts/* Structure of message for fgetc command *//*----------------------------------------*/#define t_FssCmdFGetc 		t_FsCmdFGetc/* Structure of message for fputc command *//*----------------------------------------*/#define t_FssCmdFPutc 		t_FsCmdFPutc/* Structure of message for ferror command *//*-----------------------------------------*/#define t_FssCmdFError 		t_FsCmdFError/* Structure of message for clearerror command *//*---------------------------------------------*/#define t_FssCmdClearError 	t_FsCmdClearError/* Structure of message for flush command *//*----------------------------------------*/#define t_FssCmdFFlush 		t_FsCmdFFlush/* Structure of message for get volume info command *//*--------------------------------------------------*/#define t_FssCmdGetVolInfo 	t_FsCmdGetVolInfo/* Structure of message for clear all entity's objects command *//*-------------------------------------------------------------*/#define t_FssCmdClearAllEntityObj t_FsCmdClearAllEntityObj/* Structure of message for clear all volume's objects info command *//*------------------------------------------------------------------*/#define t_FssCmdClearAllVolObj 	t_FsCmdClearAllVolObj/* Structure of message for format command *//*-----------------------------------------*/#define t_FssCmdFormat 		t_FsCmdFormat/* Structure of message for mkdir command *//*----------------------------------------*/#define t_FssCmdMkDir 		t_FsCmdMkDir/* Structure of message for rmdir command *//*----------------------------------------*/#define t_FssCmdRmDir 		t_FsCmdRmDir/* Structure of message for chdir command *//*----------------------------------------*/#define t_FssCmdChDir 		t_FsCmdChDir/* Structure of message for getcwd command *//*-----------------------------------------*/#define t_FssCmdGetCwd 		t_FsCmdGetCwd/* Structure of message for opendir command *//*------------------------------------------*/#define t_FssCmdOpenDir 	t_FsCmdOpenDir/* Structure of message for closedir command *//*-------------------------------------------*/#define t_FssCmdCloseDir 	t_FsCmdCloseDir/* Structure of message for readdir command *//*------------------------------------------*/#define t_FssCmdReadDir 	t_FsCmdReadDir/* Structure of message for rewinddir command *//*--------------------------------------------*/#define t_FssCmdRewindDir 	t_FsCmdRewindDir/* Structure of message for freeze command *//*-----------------------------------------*/#define t_FssCmdFreezeVol	t_FsCmdFreezeVol /* Structure of message for unfreeze command *//*-------------------------------------------*/#define t_FssCmdUnFreezeVol 	t_FsCmdUnFreezeVol/* Structure of message for get file addr command *//*-----------------------------------------------*/#define t_FssCmdGetFileAddr 	t_FsCmdGetFileAddr/* Structure of message for get files addr of dir command *//*--------------------------------------------------------*/#define t_FssCmdGetFilesAddrOfDir 	t_FsCmdGetFilesAddrOfDir/* Structure of message for garbage command *//*------------------------------------------*/#define t_FssCmdGarbageVol 	t_FsCmdGarbageVol/* Structure of message for SetSize command *//*------------------------------------------*/#ifdef SYNCHRONOUS_FILE_SYSTEM_FTR#define t_FssCmdSetSize 	t_FsCmdSetSize#endif#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -