projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for multiple output formats
[fio.git]
/
fio.h
diff --git
a/fio.h
b/fio.h
index adf879f3461218e4300a38974e90cbd994741280..b3fe9e1b387e12efa371cb2ead2f5ac52c439914 100644
(file)
--- a/
fio.h
+++ b/
fio.h
@@
-674,9
+674,13
@@
extern const char *fio_get_os_string(int);
#endif
enum {
#endif
enum {
- FIO_OUTPUT_TERSE = 0,
- FIO_OUTPUT_JSON,
- FIO_OUTPUT_NORMAL,
+ __FIO_OUTPUT_TERSE = 0,
+ __FIO_OUTPUT_JSON = 1,
+ __FIO_OUTPUT_NORMAL = 2,
+
+ FIO_OUTPUT_TERSE = 1U << __FIO_OUTPUT_TERSE,
+ FIO_OUTPUT_JSON = 1U << __FIO_OUTPUT_JSON,
+ FIO_OUTPUT_NORMAL = 1U << __FIO_OUTPUT_NORMAL,
};
enum {
};
enum {