summaryrefslogtreecommitdiffstats
path: root/libsmartcols/src/libsmartcols.h.in
diff options
context:
space:
mode:
authorKarel Zak2014-03-18 12:39:54 +0100
committerKarel Zak2014-04-03 12:29:16 +0200
commit74bd28ad6eadd0d51fb8da5003332eb3255f88eb (patch)
tree32bfdf8ed7c3a46038be19bfec932133f8cb4821 /libsmartcols/src/libsmartcols.h.in
parentlibsmartcols: add columns (diff)
downloadkernel-qcow2-util-linux-74bd28ad6eadd0d51fb8da5003332eb3255f88eb.tar.gz
kernel-qcow2-util-linux-74bd28ad6eadd0d51fb8da5003332eb3255f88eb.tar.xz
kernel-qcow2-util-linux-74bd28ad6eadd0d51fb8da5003332eb3255f88eb.zip
libsmartcols: add lines
Co-Author: Ondrej Oprala <ooprala@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libsmartcols/src/libsmartcols.h.in')
-rw-r--r--libsmartcols/src/libsmartcols.h.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/libsmartcols/src/libsmartcols.h.in b/libsmartcols/src/libsmartcols.h.in
index 32c26ce41..f0291756f 100644
--- a/libsmartcols/src/libsmartcols.h.in
+++ b/libsmartcols/src/libsmartcols.h.in
@@ -46,6 +46,8 @@ extern int scols_symbols_set_right(struct libscols_symbols *sb, const char *str)
/* cell.c */
extern int scols_reset_cell(struct libscols_cell *ce);
+extern int scols_cell_copy_content(struct libscols_cell *dest,
+ const struct libscols_cell *src);
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);
@@ -60,7 +62,7 @@ extern int scols_column_set_whint(struct libscols_column *cl, double whint);
extern double scols_column_get_whint(struct libscols_column *cl);
extern int scols_column_set_flags(struct libscols_column *cl, int flags);
extern int scols_column_get_flags(struct libscols_column *cl);
-extern const struct libscols_cell *scols_column_get_header(struct libscols_column *cl);
+extern struct libscols_cell *scols_column_get_header(struct libscols_column *cl);
extern int scols_column_set_color(struct libscols_column *cl, const char *color);
extern const char *scols_column_get_color(struct libscols_column *cl);