Adjust comments and struct to better reflect FIO_ctx_t
This commit is contained in:
+4
-2
@@ -328,9 +328,11 @@ struct FIO_prefs_s {
|
|||||||
/* typedef'd to FIO_ctx_t within fileio.h */
|
/* typedef'd to FIO_ctx_t within fileio.h */
|
||||||
struct FIO_ctx_s {
|
struct FIO_ctx_s {
|
||||||
|
|
||||||
/* multiple file processing info */
|
/* file i/o info */
|
||||||
int currFileIdx;
|
|
||||||
int nbFilesTotal;
|
int nbFilesTotal;
|
||||||
|
|
||||||
|
/* file i/o state */
|
||||||
|
int currFileIdx;
|
||||||
int nbFilesProcessed;
|
int nbFilesProcessed;
|
||||||
size_t totalBytesInput;
|
size_t totalBytesInput;
|
||||||
size_t totalBytesOutput;
|
size_t totalBytesOutput;
|
||||||
|
|||||||
+1
-1
@@ -59,7 +59,7 @@ typedef struct FIO_prefs_s FIO_prefs_t;
|
|||||||
FIO_prefs_t* FIO_createPreferences(void);
|
FIO_prefs_t* FIO_createPreferences(void);
|
||||||
void FIO_freePreferences(FIO_prefs_t* const prefs);
|
void FIO_freePreferences(FIO_prefs_t* const prefs);
|
||||||
|
|
||||||
/* Mutable struct containing relevant context and state of (de)compression with respect to file I/O */
|
/* Mutable struct containing relevant context and state regarding (de)compression with respect to file I/O */
|
||||||
typedef struct FIO_ctx_s FIO_ctx_t;
|
typedef struct FIO_ctx_s FIO_ctx_t;
|
||||||
|
|
||||||
FIO_ctx_t* FIO_createContext(void);
|
FIO_ctx_t* FIO_createContext(void);
|
||||||
|
|||||||
Reference in New Issue
Block a user