RTEMS  5.1
fat_fat_operations.h
Go to the documentation of this file.
1 
12 /*
13  * Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
14  * Author: Eugeny S. Mints <Eugeny.Mints@oktet.ru>
15  *
16  * The license and distribution terms for this file may be
17  * found in the file LICENSE in this distribution or at
18  * http://www.rtems.org/license/LICENSE.
19  */
20 
21 #ifndef __DOSFS_FAT_FAT_OPERATIONS_H__
22 #define __DOSFS_FAT_FAT_OPERATIONS_H__
23 
24 #include <rtems.h>
25 #include <rtems/libio_.h>
26 
27 #include <rtems/bdbuf.h>
28 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
39 #include "fat.h"
40 
41 int
42 fat_get_fat_cluster(fat_fs_info_t *fs_info,
43  uint32_t cln,
44  uint32_t *ret_val);
45 
46 int
47 fat_set_fat_cluster(fat_fs_info_t *fs_info,
48  uint32_t cln,
49  uint32_t in_val);
50 
51 int
52 fat_scan_fat_for_free_clusters(
53  fat_fs_info_t *fs_info,
54  uint32_t *chain,
55  uint32_t count,
56  uint32_t *cls_added,
57  uint32_t *last_cl,
58  bool zero_fill
59 );
60 
61 int
62 fat_free_fat_clusters_chain(
63  fat_fs_info_t *fs_info,
64  uint32_t chain
65 );
66 
67 #ifdef __cplusplus
68 }
69 #endif
70 
71 #endif /* __DOSFS_FAT_FAT_OPERATIONS_H__ */
Definition: fat.h:351
LibIO Internal Interface.
Constants/Data Structures/Prototypes on a Volume with FAT Filesystem.
Block Device Buffer Management.