libsmartcols: add basic files

Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols: add iterator

Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols: add symbols

[kzak@redhat.com: - split scols_new_symbols() to regular getters functions]

Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols: add cells

[kzak@redhat.com: - remove copy, free -- all have to be handled by lines]

Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols: add columns

Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols: add lines

Co-Author: Ondrej Oprala <ooprala@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
include/carefulputc: cleanup and add fputs_{quoted,nonblank}()

Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols: add table struct, cleanup refcounting

Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols: add table code

Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols: add test

[kzak@redhat.com: - refresh according to previous API changes]

Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols: support alternative streams

Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols: add SCOLS_FL_MAX

Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols: add reduce term width functionality

Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols: remove unnecessary code

Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols: add function to convert table to string

Note that open_memstream() is POSIX-1.2008, so it's possible than not
all libc have already implemented this function.

Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols: allow to read lines as tree

Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols: fill the symbol version file

Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
libsmartcols: add missing copyright notifications

Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
libsmartcols: separate flags, add getters/setters

Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
libsmartcols: colors may now be specified as human-readable strings

Signed-off-by: Ondrej Oprala <ooprala@redhat.com>