summaryrefslogtreecommitdiffstats
path: root/libsmartcols/src/libsmartcols.h.in
diff options
context:
space:
mode:
authorOndrej Oprala2014-03-17 12:19:48 +0100
committerKarel Zak2014-04-03 12:29:16 +0200
commitb36992fb2a44a49c21a608a18cd7da9ceef349c7 (patch)
treecfc8d6374fec458df7b52dbee22f8b7cb493be33 /libsmartcols/src/libsmartcols.h.in
parentlibsmartcols: add iterator (diff)
downloadkernel-qcow2-util-linux-b36992fb2a44a49c21a608a18cd7da9ceef349c7.tar.gz
kernel-qcow2-util-linux-b36992fb2a44a49c21a608a18cd7da9ceef349c7.tar.xz
kernel-qcow2-util-linux-b36992fb2a44a49c21a608a18cd7da9ceef349c7.zip
libsmartcols: add symbols
[kzak@redhat.com: - split scols_new_symbols() to regular getters functions] Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libsmartcols/src/libsmartcols.h.in')
-rw-r--r--libsmartcols/src/libsmartcols.h.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/libsmartcols/src/libsmartcols.h.in b/libsmartcols/src/libsmartcols.h.in
index 46a06a0ce..eefac6c63 100644
--- a/libsmartcols/src/libsmartcols.h.in
+++ b/libsmartcols/src/libsmartcols.h.in
@@ -20,6 +20,7 @@ extern "C" {
#define LIBSMARTCOLS_VERSION "@LIBSMARTCOLS_VERSION@"
struct libscols_iter;
+struct libscols_symbols;
/* iter.c */
@@ -34,6 +35,14 @@ extern void scols_free_iter(struct libscols_iter *itr);
extern void scols_reset_iter(struct libscols_iter *itr, int direction);
extern int scols_iter_get_direction(struct libscols_iter *itr);
+/* symbols.c */
+extern struct libscols_symbols *scols_new_symbols(void);
+struct libscols_symbols *scols_copy_symbols(const struct libscols_symbols *sb);
+extern void scols_free_symbols(struct libscols_symbols *sb);
+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);
+
#ifdef __cplusplus
}
#endif