diff options
author | germeier <germeier> | 2003-04-06 23:09:19 +0000 |
---|---|---|
committer | germeier <germeier> | 2003-04-06 23:09:19 +0000 |
commit | 50c439ffa36fed9e1cce65b211ec05bf50925cc2 (patch) | |
tree | 923c967c689a873b2497d5daf007531e194c61fc /libmpio/mpio.h | |
parent | c4c88c7d7227834fe2d94f507d01cfafabe885b9 (diff) | |
download | mpiosh-50c439ffa36fed9e1cce65b211ec05bf50925cc2.tar.gz mpiosh-50c439ffa36fed9e1cce65b211ec05bf50925cc2.tar.bz2 mpiosh-50c439ffa36fed9e1cce65b211ec05bf50925cc2.zip |
initial support for directories
BEWARE: this might have broken some things!!!
Diffstat (limited to 'libmpio/mpio.h')
-rw-r--r-- | libmpio/mpio.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/libmpio/mpio.h b/libmpio/mpio.h index 152c27a..94db5af 100644 --- a/libmpio/mpio.h +++ b/libmpio/mpio.h @@ -1,7 +1,7 @@ #/* -*- linux-c -*- */ /* - * $Id: mpio.h,v 1.14 2003/02/21 18:28:56 crunchy Exp $ + * $Id: mpio.h,v 1.15 2003/04/06 23:09:20 germeier Exp $ * * Library for USB MPIO-* * @@ -75,11 +75,17 @@ BYTE mpio_charset_set(mpio_t *, BYTE *); /* context, memory bank */ BYTE* mpio_directory_open(mpio_t *, mpio_mem_t); +/* context, memory bank, directory name */ +int mpio_directory_make(mpio_t *, mpio_mem_t, BYTE *); +/* context, memory bank, directory name */ +int mpio_directory_cd(mpio_t *, mpio_mem_t, BYTE *); +/* context, memory bank, directory name buffer space */ +void mpio_directory_pwd(mpio_t *, mpio_mem_t, BYTE pwd[INFO_LINE]); /* context, dir context */ BYTE* mpio_dentry_next(mpio_t *, mpio_mem_t, BYTE *); /* context, dir context */ int mpio_dentry_get(mpio_t *, mpio_mem_t, BYTE *, BYTE *, int,WORD *, - BYTE *, BYTE *, BYTE *, BYTE *, DWORD *); + BYTE *, BYTE *, BYTE *, BYTE *, DWORD *, BYTE *); /* * reading/writing/deleting of files @@ -143,7 +149,7 @@ int mpio_file_move(mpio_t *,mpio_mem_t m,mpio_filename_t,mpio_filename_t); int mpio_memory_format(mpio_t *, mpio_mem_t, mpio_callback_t); /* mpio_sync has to be called after every set of mpio_file_{del,put} - * operations to write the current state of FAT and root directory. + * operations to write the current state of FAT and (root) directory. * This is done explicitly to avoid writing these informations to often * and thereby exhausting the SmartMedia chips */ |