diff options
| author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-05-23 19:59:06 +0900 |
|---|---|---|
| committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-05-29 14:21:19 +0900 |
| commit | 5896e03c6f0a39a0fe75ddc3cfe54af1f7dc4113 (patch) | |
| tree | e3b62e14d4de55b8a2b4e0431673e9f111ac141c /src/shared/format-table.h | |
| parent | f1bc253efaeb8a2578bd4f7c87bd94c8d6f81b77 (diff) | |
| download | systemd-5896e03c6f0a39a0fe75ddc3cfe54af1f7dc4113.tar.gz | |
table: add teble_add_string_cell()
Diffstat (limited to 'src/shared/format-table.h')
| -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); |
