www.pudn.com > UDiskFileSystem.rar > mx_FFS_FDB.h


/*************************************************************************/ 
/*                                                                       */ 
/*        Copyright (c) 1993-2001 Macronix, Inc.           				 */ 
/*                                                                    	 */ 
/* PROPRIETARY RIGHTS of Macronix are involved in the      			     */ 
/* subject matter of this material.  All manufacturing, reproduction,    */ 
/* use, and sales rights pertaining to this subject matter are governed  */ 
/* by the license agreement.  The recipient of this software implicitly  */ 
/* accepts the terms of the license.                                     */ 
/*                                                                       */ 
/*************************************************************************/ 
 
/*************************************************************************/ 
/* FILE NAME                                                     	 	 */ 
/*      MX_FFS_FDB.h        			 						 		 */ 
/* DESCRIPTION                                                           */ 
/*	This file definition only internal used in File System							 */ 
/* AUTHOR                                                                */ 
/*      MXIC ISG , Inc.   System Application Department			 		 */ 
/*                                                                       */ 
/*                                                                       */ 
/* HISTORY                                                               */ 
/*      2006/03/16      Test version 0.00 for BCB6						*/ 
/*************************************************************************/ 
 
#ifndef  MX_FFS_FDB_H 
#define  MX_FFS_FDB_H 
 
 
u_8 Check_FDB(u_8 * Buffer, mxFDB * Temp_FDB, u_8 Mode ); 
//u_8 SearchFDBLinkEntry( mxDRIVE_PROPERTY *bDisk_Property, mxDISK_HISTORY *bDisk_History); 
u_8 SearchFDBLinkEntry( mxDRIVE_PROPERTY *bDisk_Property, mxDISK_HISTORY *bDisk_History, u_8 Mode); 
u_8 LFN_ChsSum( s_8 *ShortName); 
void GetLFN_FDB( mxFDB_LFN *FDB_LFN, u_8 *FDB_Buffer); 
void GetLongFileName( mxLFN *LFN, mxFDB_LFN *FDB_LFN, u_8 LFN_Num); 
u_16 GetFolderLayer( s_8 *Path, u_16 PathLen); 
u_8 GetFolderLayerName( s_8 *Path, s_8 *FolderName, u_16 Layer,u_16 PathLen); 
void SetDiskHistoryInit( mxDISK_HISTORY *History, mxDRIVE_PROPERTY Property); 
void MX_SetFolderLinkPath(mxFDB FolderFDB, mxDISK_HISTORY *History); 
 
u_8 SearchFileLinkEntry( mx_FHANDLE *Handle, u_8 Mode); 
 
#endif   /*MX_FFS_FDB_H*/