fat_fat_operations.h
来自「AMLOGIC DPF source code」· C头文件 代码 · 共 84 行
H
84 行
/*******************************************************************
*
* Copyright C 2005 by Amlogic, Inc. All Rights Reserved.
*
* Description:
*
* Author: Amlogic Software
* Created: Fri Nov 11 00:22:43 2005
*
*******************************************************************/
/*
* fat_fat_operations.h
*
* Constants/data structures/prototypes for operations on Files Allocation
* Table
*
* Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
* Author: Eugeny S. Mints <Eugeny.Mints@oktet.ru>
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.avfs.com/license/LICENSE.
*
* @(#) fat_fat_operations.h,v 1.1.2.1 2003/09/04 18:47:02 joel Exp
*/
#ifndef __DOSFS_FAT_FAT_OPERATIONS_H__
#define __DOSFS_FAT_FAT_OPERATIONS_H__
#ifdef __cplusplus
extern "C" {
#endif
//#include <avfs.h>
//#include <avfs/libio_.h>
//#include <avfs/bdbuf.h>
#include "fat.h"
#include "fat_file.h"
int
fat_get_fat_cluster(avfs_filesystem_mount_table_entry_t *mt_entry,
unsigned32 cln,
unsigned32 *ret_val);
int
fat_set_fat_cluster(avfs_filesystem_mount_table_entry_t *mt_entry,
unsigned32 cln,
unsigned32 in_val);
int
fat_scan_fat_for_free_clusters(
avfs_filesystem_mount_table_entry_t *mt_entry,
fat_file_fd_t *fat_fd,
unsigned32 *chain,
unsigned32 count,
unsigned32 *cls_added,
unsigned32 *last_cl
);
int
fat_free_fat_clusters_chain(
avfs_filesystem_mount_table_entry_t *mt_entry,
unsigned32 chain
);
int
fat_scan_fat_for_free_clusters_check(
avfs_filesystem_mount_table_entry_t *mt_entry,
unsigned32 count,
unsigned32 *cls_added
);
int
fat_free_fat_clusters_chain_check(
avfs_filesystem_mount_table_entry_t *mt_entry,
unsigned32 chain
);
#ifdef __cplusplus
}
#endif
#endif /* __DOSFS_FAT_FAT_OPERATIONS_H__ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?