diff options
author | Ondrej Oprala | 2014-04-09 16:58:28 +0200 |
---|---|---|
committer | Ondrej Oprala | 2014-04-14 12:37:21 +0200 |
commit | d1b4d14f4da1a6ac10f0d038c20bd80185b99bdc (patch) | |
tree | c22532d0cf01c53645c209a8c5647fffb0cf886b /libsmartcols/src/libsmartcols.h.in | |
parent | build-sys: fix fstrim systemd stuff (diff) | |
download | kernel-qcow2-util-linux-d1b4d14f4da1a6ac10f0d038c20bd80185b99bdc.tar.gz kernel-qcow2-util-linux-d1b4d14f4da1a6ac10f0d038c20bd80185b99bdc.tar.xz kernel-qcow2-util-linux-d1b4d14f4da1a6ac10f0d038c20bd80185b99bdc.zip |
libsmartcols: add separator getters/setters
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Diffstat (limited to 'libsmartcols/src/libsmartcols.h.in')
-rw-r--r-- | libsmartcols/src/libsmartcols.h.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libsmartcols/src/libsmartcols.h.in b/libsmartcols/src/libsmartcols.h.in index b3ceeeab9..1307013a1 100644 --- a/libsmartcols/src/libsmartcols.h.in +++ b/libsmartcols/src/libsmartcols.h.in @@ -174,6 +174,9 @@ extern int scols_table_enable_noheadings(struct libscols_table *tb, int enable); extern int scols_table_enable_export(struct libscols_table *tb, int enable); extern int scols_table_enable_maxout(struct libscols_table *tb, int enable); +extern int scols_table_set_column_separator(struct libscols_table *tb, char *sep); +extern int scols_table_set_line_separator(struct libscols_table *tb, char *sep); + extern struct libscols_table *scols_new_table(void); extern void scols_ref_table(struct libscols_table *tb); extern void scols_unref_table(struct libscols_table *tb); @@ -182,6 +185,8 @@ extern int scols_table_remove_column(struct libscols_table *tb, struct libscols_ extern int scols_table_remove_columns(struct libscols_table *tb); extern struct libscols_column *scols_table_new_column(struct libscols_table *tb, const char *name, double whint, int flags); extern int scols_table_next_column(struct libscols_table *tb, struct libscols_iter *itr, struct libscols_column **cl); +extern char *scols_table_get_column_separator(struct libscols_table *tb); +extern char *scols_table_get_line_separator(struct libscols_table *tb); extern int scols_table_get_ncols(struct libscols_table *tb); extern int scols_table_get_nlines(struct libscols_table *tb); extern struct libscols_column *scols_table_get_column(struct libscols_table *tb, size_t n); |