summaryrefslogtreecommitdiffstats
path: root/include/tt.h
diff options
context:
space:
mode:
authorKarel Zak2014-02-04 23:34:54 +0100
committerKarel Zak2014-03-11 11:35:14 +0100
commit9a66e1e76fbde53ecf0e7684e5a942d96f4c9780 (patch)
treed0604666cdc168d1eafdff98b0814b5fc535fd36 /include/tt.h
parentlibfdisk: add dump functions, make freespace code generic (diff)
downloadkernel-qcow2-util-linux-9a66e1e76fbde53ecf0e7684e5a942d96f4c9780.tar.gz
kernel-qcow2-util-linux-9a66e1e76fbde53ecf0e7684e5a942d96f4c9780.tar.xz
kernel-qcow2-util-linux-9a66e1e76fbde53ecf0e7684e5a942d96f4c9780.zip
lib/tt: add tt_line_get_userdata()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/tt.h')
-rw-r--r--include/tt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tt.h b/include/tt.h
index 198ccdcb7..ae81d4f3b 100644
--- a/include/tt.h
+++ b/include/tt.h
@@ -97,6 +97,7 @@ 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, char *data);
extern int tt_line_set_userdata(struct tt_line *ln, void *data);
+extern void *tt_line_get_userdata(struct tt_line *ln);
extern void tt_fputs_quoted(const char *data, FILE *out);
extern void tt_fputs_nonblank(const char *data, FILE *out);