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

📄 filesys.h

📁 T-kernel 的extension源代码
💻 H
字号:
/* *---------------------------------------------------------------------- *    T-Kernel / Standard Extension * *    Copyright (C) 2006 by Ken Sakamura. All rights reserved. *    T-Kernel / Standard Extension is distributed  *      under the T-License for T-Kernel / Standard Extension. *---------------------------------------------------------------------- * *    Version:   1.00.00 *    Released by T-Engine Forum(http://www.t-engine.org) at 2006/8/11. * *---------------------------------------------------------------------- *//* *	filesys.h (file) * *	File management *	File system related */#ifndef _FM_FILESYS_H_#define _FM_FILESYS_H_#include "fsinfo.h"#include "cmdpkt.h"IMPORT FsInfo*	fmSelectFileSystemOfDevName( DevName dev );IMPORT FsInfo*	fmSelectFileSystemOfConName( ConName con );IMPORT FsInfo*	fmSelectFileSystemOfFsName( FsName fsnm );IMPORT void	fmcAttachFileSystem( FmCmdPkt *pkt );IMPORT void	fmcDetachFileSystem( FmCmdPkt *pkt );IMPORT ER	fmcDeleteFileSystem( FsInfo *fs );IMPORT void	fmcSyncFileSystem( FmCmdPkt *pkt );IMPORT void	fmcListFileSystem( FmCmdPkt *pkt );IMPORT void	fmcGetFileSystemStatus( FmCmdPkt *pkt );IMPORT void	fmcChangeFileSystemInfo( FmCmdPkt *pkt );/* * Select the file system by LINK. */Inline FsInfo* fmSelectFileSystemOfLink( LINK *lnk ){	return fmSelectFileSystemOfFsName(lnk->fs_name);}/* * Check whether the same connection name is already used. */Inline ER fmConNameExist( ConName con ){	FsInfo	*fs;	fs = fmSelectFileSystemOfConName(con);	return ( fs == NULL )? E_OK: E_OBJ;}/* * Check whether the file system is already connected in the same name. */Inline ER fmFsNameExist( FsName fsnm ){	FsInfo	*fs;	fs = fmSelectFileSystemOfFsName(fsnm);	return ( fs == NULL )? E_OK: E_OBJ;}#endif

⌨️ 快捷键说明

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