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

📄 ui.h

📁 DVB软件,基于CT216软件的开发源程序.
💻 H
字号:
/*****************************************************************************\
*              efs - General purpose Embedded Filesystem library              *
*          ---------------------------------------------------------          *
*                                                                             *
* Filename : ui.h                                                             *
* Description : Headerfile for ui.c                                           *
*                                                                             *
* This library is free software; you can redistribute it and/or               *
* modify it under the terms of the GNU Lesser General Public                  *
* License as published by the Free Software Foundation; either                *
* version 2.1 of the License, or (at your option) any later version.          *
*                                                                             *
* This library is distributed in the hope that it will be useful,             *
* but WITHOUT ANY WARRANTY; without even the implied warranty of              *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU           *
* Lesser General Public License for more details.                             *
*                                                                             *
*                                                    (c)2005 Michael De Nil   *
\*****************************************************************************/

#ifndef __UI_H__
#define __UI_H__

/*****************************************************************************/
#include "fs.h"
#include "types.h"
#include "fat.h"
#include "dir.h"
#include "config.h"
#include "ls.h"
/*****************************************************************************/

short listFiles(FileSystem *fs, char *dir);
esint16 rmfile(FileSystem *fs,euint8* filename, euint8 u8IsVFAT);
esint8 mk_dir(FileSystem *fs,eint8* dirname);


esint16 rmfile_plus(FileSystem *fs, u32 u32DirSector, u8 u8DirOffset, u32 u32LongStartSector, u32 u32LongEndSector, u8 u8LongOffset, bool8 b8ClearClusterChain);
esint8 mk_dir_plus( FileSystem *fs,
                    u8* dirname, 
                    bool8 b8IsLongFile, 
                    u16* pu16LongFilename, 
                    u32 u32FileLength, 
                    u8 u8NTRes, 
                    u32* pu32DirSector, 
                    u8* pu8DirOffset, 
                    u8* pu8LongOffset,
                    u32* pu32LongStartSector,
                    u32* pu32LongEndSector,
                    u32* pu32FirstCluster);

#endif

⌨️ 快捷键说明

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