diff --git a/src/util/inc/tfile.h b/src/util/inc/tfile.h index 00b2fd6c3276efe8f295d290fb33315419290ce6..981ee7cecbcf77d61cbae45cac87ed6493cd5a90 100644 --- a/src/util/inc/tfile.h +++ b/src/util/inc/tfile.h @@ -22,19 +22,19 @@ extern "C" { #include +// init taos file module +int tfinit(); + +// clean up taos file module +void tfcleanup(); + // the same syntax as UNIX standard open/close/read/write // but FD is int64_t and will never be reused - int64_t tfopen(const char *pathname, int flags); int64_t tfclose(int64_t tfd); ssize_t tfwrite(int64_t tfd, const void *buf, size_t count); ssize_t tfread(int64_t tfd, void *buf, size_t count); -// init taos file module -int tfinit(); - -// clean up taos fle module -void tfcleanup(); #ifdef __cplusplus }