projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
io_uring: remove cachehit information
[fio.git]
/
lib
/
output_buffer.h
diff --git
a/lib/output_buffer.h
b/lib/output_buffer.h
index 4a35839b62e7bb59b7d507cc6ca1f333f278b407..389ed5b7bc0a039d20b45ef52672a2c48f8650ba 100644
(file)
--- a/
lib/output_buffer.h
+++ b/
lib/output_buffer.h
@@
-1,7
+1,7
@@
#ifndef FIO_OUTPUT_BUFFER_H
#define FIO_OUTPUT_BUFFER_H
#ifndef FIO_OUTPUT_BUFFER_H
#define FIO_OUTPUT_BUFFER_H
-#include <
unistd
.h>
+#include <
stddef
.h>
struct buf_output {
char *buf;
struct buf_output {
char *buf;
@@
-9,9
+9,8
@@
struct buf_output {
size_t max_buflen;
};
size_t max_buflen;
};
-void buf_output_init(struct buf_output *out
, int index
);
+void buf_output_init(struct buf_output *out);
void buf_output_free(struct buf_output *out);
void buf_output_free(struct buf_output *out);
-void buf_output_add(struct buf_output *out, const char *buf, size_t len);
-void buf_output_flush(struct buf_output *out);
+size_t buf_output_add(struct buf_output *out, const char *buf, size_t len);
#endif
#endif