diff options
author | Ondrej Oprala | 2014-03-25 15:09:09 +0100 |
---|---|---|
committer | Karel Zak | 2014-04-03 12:29:18 +0200 |
commit | 1d90bcb1a82cea0c994425cb12e2df436107168c (patch) | |
tree | 50488666c5d8299eea69136ab7c987d5d32c36ac /libsmartcols/src/libsmartcols.h.in | |
parent | libsmartcols: move some code around (diff) | |
download | kernel-qcow2-util-linux-1d90bcb1a82cea0c994425cb12e2df436107168c.tar.gz kernel-qcow2-util-linux-1d90bcb1a82cea0c994425cb12e2df436107168c.tar.xz kernel-qcow2-util-linux-1d90bcb1a82cea0c994425cb12e2df436107168c.zip |
libsmartcols: documentation
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Diffstat (limited to 'libsmartcols/src/libsmartcols.h.in')
-rw-r--r-- | libsmartcols/src/libsmartcols.h.in | 41 |
1 files changed, 38 insertions, 3 deletions
diff --git a/libsmartcols/src/libsmartcols.h.in b/libsmartcols/src/libsmartcols.h.in index 8130d62dc..e40aad4cd 100644 --- a/libsmartcols/src/libsmartcols.h.in +++ b/libsmartcols/src/libsmartcols.h.in @@ -19,11 +19,46 @@ extern "C" { #define LIBSMARTCOLS_VERSION "@LIBSMARTCOLS_VERSION@" +/** + * libscols_iter: + * + * Generic iterator + */ struct libscols_iter; + +/** + * libscols_symbols: + * + * Symbol groups for printing tree hierarchies + */ struct libscols_symbols; + +/** + * libscols_cell: + * + * A cell - the smallest library object + */ struct libscols_cell; + +/** + * libscols_line: + * + * A line - an array of cells + */ struct libscols_line; + +/** + * libscols_table: + * + * A table - The most abstract object, encapsulating lines, columns, symbols and cells + */ struct libscols_table; + +/** + * libscols_column: + * + * A column - defines the number of columns and column names + */ struct libscols_column; /* iter.c */ @@ -33,10 +68,10 @@ enum { SCOLS_ITER_BACKWARD }; +/* + * Column flags + */ enum { - /* - * Column flags - */ SCOLS_FL_TRUNC = (1 << 15), /* truncate fields data if necessary */ SCOLS_FL_TREE = (1 << 16), /* use tree "ascii art" */ SCOLS_FL_RIGHT = (1 << 17), /* align to the right */ |