summaryrefslogtreecommitdiff
path: root/fs/fdos/fdos.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-06-27 21:31:46 +0000
committerwdenk <wdenk>2003-06-27 21:31:46 +0000
commit8bde7f776c77b343aca29b8c7b58464d915ac245 (patch)
tree20f1fd99975215e7c658454a15cdb4ed4694e2d4 /fs/fdos/fdos.h
parent993cad9364c6b87ae429d1ed1130d8153f6f027e (diff)
* Code cleanup:LABEL_2003_06_27_2340
- remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c) * Patches by Kenneth Johansson, 25 Jun 2003: - major rework of command structure (work done mostly by Michal Cendrowski and Joakim Kristiansen)
Diffstat (limited to 'fs/fdos/fdos.h')
-rw-r--r--fs/fdos/fdos.h37
1 files changed, 18 insertions, 19 deletions
diff --git a/fs/fdos/fdos.h b/fs/fdos/fdos.h
index 18076d86659..e28c22f8494 100644
--- a/fs/fdos/fdos.h
+++ b/fs/fdos/fdos.h
@@ -41,25 +41,25 @@ typedef struct fs
int cluster_size;
int num_clus;
-
+
int fat_start;
int fat_len;
int nb_fat;
int num_fat;
-
+
int dir_start;
int dir_len;
unsigned char *fat_buf;
-
+
} Fs_t;
/* Data structure describing one file system slot */
typedef struct slot {
int (*map) (struct fs *fs,
- struct slot *file,
- int where,
- int *len);
+ struct slot *file,
+ int where,
+ int *len);
unsigned long FileSize;
unsigned short int FirstAbsCluNr;
@@ -89,24 +89,24 @@ int read_fat (BootSector_t *boot, Fs_t *fs);
/* vfat.c */
int vfat_lookup (Slot_t *dir,
- Fs_t *fs,
- Directory_t *dirent,
- int *entry,
- int *vfat_start,
- char *filename,
- int flags,
- char *outname,
- Slot_t *file);
+ Fs_t *fs,
+ Directory_t *dirent,
+ int *entry,
+ int *vfat_start,
+ char *filename,
+ int flags,
+ char *outname,
+ Slot_t *file);
/* subdir.c */
char *basename (char *name);
int open_subdir (File_t *desc);
int open_file (Slot_t *file, Directory_t *dir);
int read_file (Fs_t *fs,
- Slot_t *file,
- char *buf,
- int where,
- int len);
+ Slot_t *file,
+ char *buf,
+ int where,
+ int len);
void init_subdir (void);
/* fs.c */
@@ -114,4 +114,3 @@ int fs_init (Fs_t *fs);
#endif
-