mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:35:43 +00:00
[VFATLIB] Upgrade fsck.fat to 4.1
Also make it easier to sync in the future.
This commit is contained in:
parent
9f3169b295
commit
469289ed5c
14 changed files with 676 additions and 374 deletions
|
@ -23,13 +23,13 @@
|
|||
#ifndef _CHECK_H
|
||||
#define _CHECK_H
|
||||
|
||||
off_t alloc_rootdir_entry(DOS_FS * fs, DIR_ENT * de, const char *pattern);
|
||||
off_t alloc_rootdir_entry(DOS_FS * fs, DIR_ENT * de, const char *pattern, int gen_name);
|
||||
|
||||
/* Allocate a free slot in the root directory for a new file. The file name is
|
||||
constructed after 'pattern', which must include a %d type format for printf
|
||||
and expand to exactly 11 characters. The name actually used is written into
|
||||
the 'de' structure, the rest of *de is cleared. The offset returned is to
|
||||
where in the filesystem the entry belongs. */
|
||||
/* Allocate a free slot in the root directory for a new file. If gen_name is
|
||||
true, the file name is constructed after 'pattern', which must include a %d
|
||||
type format for printf and expand to exactly 11 characters. The name
|
||||
actually used is written into the 'de' structure, the rest of *de is cleared.
|
||||
The offset returned is to where in the filesystem the entry belongs. */
|
||||
|
||||
int scan_root(DOS_FS * fs);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue