diff options
author | Jim Meyering <meyering@redhat.com> | 2011-05-13 21:26:17 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-05-27 17:07:45 +0200 |
commit | 58413d67ecb80740a07c3582d31883884cbb1966 (patch) | |
tree | 7683226939c6d1b4bb28b810cb61494a6ba03ea0 /libparted/fs/fat/fat.h | |
parent | f82ca7907f2e1a614ce0f649ad08fc3739e5d1eb (diff) | |
download | parted-58413d67ecb80740a07c3582d31883884cbb1966.tar.gz |
fat: remove all-but-probe FS-related code
Diffstat (limited to 'libparted/fs/fat/fat.h')
-rw-r--r-- | libparted/fs/fat/fat.h | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/libparted/fs/fat/fat.h b/libparted/fs/fat/fat.h index 70355b6..bf767e6 100644 --- a/libparted/fs/fat/fat.h +++ b/libparted/fs/fat/fat.h @@ -50,15 +50,22 @@ typedef enum _FatType FatType; typedef struct _FatSpecific FatSpecific; typedef struct _FatDirEntry FatDirEntry; -/* FIXME: YUCKY */ -#include "table.h" #include "bootsector.h" -#include "context.h" -#include "fatio.h" -#include "traverse.h" -#include "calc.h" #include "count.h" -#include "clstdup.h" + +struct _FatTable { + void* table; + FatCluster size; + int raw_size; + + FatType fat_type; + FatCluster cluster_count; + FatCluster free_cluster_count; + FatCluster bad_cluster_count; + + FatCluster last_alloc; +}; +typedef struct _FatTable FatTable; struct __attribute__ ((packed)) _FatDirEntry { char name[8]; |