1
0
mirror of https://github.com/facebook/zstd.git synced 2025-12-24 17:21:03 +03:00

Adjust comments and struct to better reflect FIO_ctx_t

This commit is contained in:
senhuang42
2020-09-03 09:26:30 -04:00
parent 7842f43197
commit a480b02044
2 changed files with 5 additions and 3 deletions

View File

@@ -328,9 +328,11 @@ struct FIO_prefs_s {
/* typedef'd to FIO_ctx_t within fileio.h */
struct FIO_ctx_s {
/* multiple file processing info */
int currFileIdx;
/* file i/o info */
int nbFilesTotal;
/* file i/o state */
int currFileIdx;
int nbFilesProcessed;
size_t totalBytesInput;
size_t totalBytesOutput;

View File

@@ -59,7 +59,7 @@ typedef struct FIO_prefs_s FIO_prefs_t;
FIO_prefs_t* FIO_createPreferences(void);
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;
FIO_ctx_t* FIO_createContext(void);