diff options
author | Ondrej Oprala | 2014-03-17 13:00:52 +0100 |
---|---|---|
committer | Karel Zak | 2014-04-03 12:29:16 +0200 |
commit | 6d1072696ce3e4ae9dc8b4a37805fb00bfc1d4e1 (patch) | |
tree | a2e8db0e0a00fa7c6d5b520afe5d5ca8e8228f9c /libsmartcols/src/libsmartcols.h.in | |
parent | libsmartcols: add symbols (diff) | |
download | kernel-qcow2-util-linux-6d1072696ce3e4ae9dc8b4a37805fb00bfc1d4e1.tar.gz kernel-qcow2-util-linux-6d1072696ce3e4ae9dc8b4a37805fb00bfc1d4e1.tar.xz kernel-qcow2-util-linux-6d1072696ce3e4ae9dc8b4a37805fb00bfc1d4e1.zip |
libsmartcols: add cells
[kzak@redhat.com: - remove copy, free -- all have to be handled by lines]
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libsmartcols/src/libsmartcols.h.in')
-rw-r--r-- | libsmartcols/src/libsmartcols.h.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libsmartcols/src/libsmartcols.h.in b/libsmartcols/src/libsmartcols.h.in index eefac6c63..7b3d4d837 100644 --- a/libsmartcols/src/libsmartcols.h.in +++ b/libsmartcols/src/libsmartcols.h.in @@ -21,6 +21,7 @@ extern "C" { struct libscols_iter; struct libscols_symbols; +struct libscols_cell; /* iter.c */ @@ -43,6 +44,12 @@ extern int scols_symbols_set_branch(struct libscols_symbols *sb, const char *str extern int scols_symbols_set_vertical(struct libscols_symbols *sb, const char *str); extern int scols_symbols_set_right(struct libscols_symbols *sb, const char *str); +/* cell.c */ +extern int scols_cell_set_data(struct libscols_cell *ce, const char *str); +extern const char *scols_cell_get_data(const struct libscols_cell *ce); +extern int scols_cell_set_color(struct libscols_cell *ce, const char *color); +extern const char *scols_cell_get_color(const struct libscols_cell *ce); + #ifdef __cplusplus } #endif |