summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKarel Zak2011-01-04 14:01:33 +0100
committerKarel Zak2011-01-04 14:01:33 +0100
commit049caefdcf5f0fa01339fcca012ea23b7b147619 (patch)
tree9afe27aec1302889365494c205bf4573a3eb5893 /include
parentlibmount: cleanup API and docs (diff)
downloadkernel-qcow2-util-linux-049caefdcf5f0fa01339fcca012ea23b7b147619.tar.gz
kernel-qcow2-util-linux-049caefdcf5f0fa01339fcca012ea23b7b147619.tar.xz
kernel-qcow2-util-linux-049caefdcf5f0fa01339fcca012ea23b7b147619.zip
findmnt: add --submounts option
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/tt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tt.h b/include/tt.h
index e6a63ed37..b27f51ea1 100644
--- a/include/tt.h
+++ b/include/tt.h
@@ -47,6 +47,7 @@ struct tt_column {
struct tt_line {
struct tt *table;
char const **data;
+ void *userdata;
struct list_head ln_lines; /* table lines */
@@ -68,6 +69,7 @@ extern struct tt_column *tt_get_column(struct tt *tb, int colnum);
extern struct tt_line *tt_add_line(struct tt *tb, struct tt_line *parent);
extern int tt_line_set_data(struct tt_line *ln, int colnum, const char *data);
+extern int tt_line_set_userdata(struct tt_line *ln, void *data);
extern int tt_parse_columns_list(const char *list, int cols[], int *ncols,
int (name2id)(const char *, size_t));