diff options
author | Karel Zak | 2011-05-10 10:37:39 +0200 |
---|---|---|
committer | Karel Zak | 2011-05-10 10:37:39 +0200 |
commit | bfe695ff5b6a08bbdef6c63bb1a0209548f39875 (patch) | |
tree | 133099d3befd3680bff49c4ff1271b6a2643ffcc /include | |
parent | sfdisk: returns non-zero on failed BLKRRPART ioctl (diff) | |
download | kernel-qcow2-util-linux-bfe695ff5b6a08bbdef6c63bb1a0209548f39875.tar.gz kernel-qcow2-util-linux-bfe695ff5b6a08bbdef6c63bb1a0209548f39875.tar.xz kernel-qcow2-util-linux-bfe695ff5b6a08bbdef6c63bb1a0209548f39875.zip |
lib: [tt.c] support key="value" output format
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/tt.h | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/include/tt.h b/include/tt.h index 569e81b3a..c3dcb2b36 100644 --- a/include/tt.h +++ b/include/tt.h @@ -12,13 +12,21 @@ #include "list.h" enum { - TT_FL_TRUNC = (1 << 1), - TT_FL_TREE = (1 << 2), - TT_FL_RAW = (1 << 3), - TT_FL_ASCII = (1 << 4), - TT_FL_NOHEADINGS = (1 << 5), - TT_FL_RIGHT = (1 << 6), - TT_FL_STRICTWIDTH = (1 << 7) + /* + * Global flags + */ + TT_FL_RAW = (1 << 1), + TT_FL_ASCII = (1 << 2), + TT_FL_NOHEADINGS = (1 << 3), + TT_FL_EXPORT = (1 << 4), + + /* + * Column flags + */ + TT_FL_TRUNC = (1 << 5), + TT_FL_TREE = (1 << 6), + TT_FL_RIGHT = (1 << 7), + TT_FL_STRICTWIDTH = (1 << 8) }; struct tt { |