|
@@ -31,16 +31,16 @@
|
31
|
31
|
#include "SdVolume.h"
|
32
|
32
|
//------------------------------------------------------------------------------
|
33
|
33
|
/**
|
34
|
|
- * \struct fpos_t
|
|
34
|
+ * \struct filepos_t
|
35
|
35
|
* \brief internal type for istream
|
36
|
36
|
* do not use in user apps
|
37
|
37
|
*/
|
38
|
|
-struct fpos_t {
|
|
38
|
+struct filepos_t {
|
39
|
39
|
/** stream position */
|
40
|
40
|
uint32_t position;
|
41
|
41
|
/** cluster for position */
|
42
|
42
|
uint32_t cluster;
|
43
|
|
- fpos_t() : position(0), cluster(0) {}
|
|
43
|
+ filepos_t() : position(0), cluster(0) {}
|
44
|
44
|
};
|
45
|
45
|
|
46
|
46
|
// use the gnu style oflag in open()
|
|
@@ -196,11 +196,11 @@ class SdBaseFile {
|
196
|
196
|
/** get position for streams
|
197
|
197
|
* \param[out] pos struct to receive position
|
198
|
198
|
*/
|
199
|
|
- void getpos(fpos_t* pos);
|
|
199
|
+ void getpos(filepos_t* pos);
|
200
|
200
|
/** set position for streams
|
201
|
201
|
* \param[out] pos struct with value for new position
|
202
|
202
|
*/
|
203
|
|
- void setpos(fpos_t* pos);
|
|
203
|
+ void setpos(filepos_t* pos);
|
204
|
204
|
//----------------------------------------------------------------------------
|
205
|
205
|
bool close();
|
206
|
206
|
bool contiguousRange(uint32_t* bgnBlock, uint32_t* endBlock);
|