diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-05-23 12:59:06 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-05-29 07:21:19 +0200 |
commit | 5896e03c6f0a39a0fe75ddc3cfe54af1f7dc4113 (patch) | |
tree | e3b62e14d4de55b8a2b4e0431673e9f111ac141c /src/shared/format-table.h | |
parent | Merge pull request #12687 from yuwata/parse_ifindex_or_ifname (diff) | |
download | systemd-5896e03c6f0a39a0fe75ddc3cfe54af1f7dc4113.tar.xz systemd-5896e03c6f0a39a0fe75ddc3cfe54af1f7dc4113.zip |
table: add teble_add_string_cell()
Diffstat (limited to '')
-rw-r--r-- | src/shared/format-table.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/format-table.h b/src/shared/format-table.h index 85e3afce4c..5a52c43e25 100644 --- a/src/shared/format-table.h +++ b/src/shared/format-table.h @@ -36,6 +36,7 @@ int table_add_cell_full(Table *t, TableCell **ret_cell, TableDataType type, cons static inline int table_add_cell(Table *t, TableCell **ret_cell, TableDataType type, const void *data) { return table_add_cell_full(t, ret_cell, type, data, (size_t) -1, (size_t) -1, (unsigned) -1, (unsigned) -1, (unsigned) -1); } +int table_add_cell_stringf(Table *t, TableCell **ret_cell, const char *format, ...) _printf_(3, 4); int table_dup_cell(Table *t, TableCell *cell); |