projects
/
fio.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
389ed5b7bc0a039d20b45ef52672a2c48f8650ba
[fio.git]
/
lib
/
output_buffer.h
1
#ifndef FIO_OUTPUT_BUFFER_H
2
#define FIO_OUTPUT_BUFFER_H
3
4
#include <stddef.h>
5
6
struct buf_output {
7
char *buf;
8
size_t buflen;
9
size_t max_buflen;
10
};
11
12
void buf_output_init(struct buf_output *out);
13
void buf_output_free(struct buf_output *out);
14
size_t buf_output_add(struct buf_output *out, const char *buf, size_t len);
15
16
#endif