RTEMS 6.1-rc4
Loading...
Searching...
No Matches
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
36extern "C" {
37#endif
38
39#include "fat.h"
40
41int
42fat_get_fat_cluster(fat_fs_info_t *fs_info,
43 uint32_t cln,
44 uint32_t *ret_val);
45
46int
47fat_set_fat_cluster(fat_fs_info_t *fs_info,
48 uint32_t cln,
49 uint32_t in_val);
50
51int
52fat_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
61int
62fat_free_fat_clusters_chain(
63 fat_fs_info_t *fs_info,
64 uint32_t chain
65);
66
67#ifdef __cplusplus
68}
69#endif
71#endif /* __DOSFS_FAT_FAT_OPERATIONS_H__ */
Block Device Buffer Management.
Constants/Data Structures/Prototypes on a Volume with FAT Filesystem.
LibIO Internal Interface.
This header file defines the RTEMS Classic API.
Definition: fat.h:352