diff options
author | Karel Zak | 2013-12-18 10:22:32 +0100 |
---|---|---|
committer | Karel Zak | 2014-04-03 12:29:17 +0200 |
commit | 2a965b804ac754ef3c36f753af0ae988b4e79bb3 (patch) | |
tree | 9e86acc5bf8117d46a0d9d82b79db3e6cb3e6876 /libsmartcols/src/libsmartcols.h.in | |
parent | libsmartcols: remove unnecessary code (diff) | |
download | kernel-qcow2-util-linux-2a965b804ac754ef3c36f753af0ae988b4e79bb3.tar.gz kernel-qcow2-util-linux-2a965b804ac754ef3c36f753af0ae988b4e79bb3.tar.xz kernel-qcow2-util-linux-2a965b804ac754ef3c36f753af0ae988b4e79bb3.zip |
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>
Diffstat (limited to 'libsmartcols/src/libsmartcols.h.in')
-rw-r--r-- | libsmartcols/src/libsmartcols.h.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libsmartcols/src/libsmartcols.h.in b/libsmartcols/src/libsmartcols.h.in index 93b205e2f..8a61668bf 100644 --- a/libsmartcols/src/libsmartcols.h.in +++ b/libsmartcols/src/libsmartcols.h.in @@ -138,6 +138,7 @@ extern int scols_table_reduce_termwidth(struct libscols_table *tb, size_t reduce /* table_print.c */ extern int scols_print_table(struct libscols_table *tb); +extern int scols_print_table_to_string(struct libscols_table *tb, char **data); #ifdef __cplusplus } |