summaryrefslogtreecommitdiffstats
path: root/libsmartcols/src/libsmartcols.h.in
diff options
context:
space:
mode:
authorKarel Zak2013-12-18 10:22:32 +0100
committerKarel Zak2014-04-03 12:29:17 +0200
commit2a965b804ac754ef3c36f753af0ae988b4e79bb3 (patch)
tree9e86acc5bf8117d46a0d9d82b79db3e6cb3e6876 /libsmartcols/src/libsmartcols.h.in
parentlibsmartcols: remove unnecessary code (diff)
downloadkernel-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.in1
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
}