]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libsmartcols: add scols_cell_refer_memory()
authorKarel Zak <kzak@redhat.com>
Wed, 18 Oct 2023 08:20:12 +0000 (10:20 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 23 Oct 2023 19:54:00 +0000 (21:54 +0200)
commitc57e73eac9334d5196599511939e2b57e588ff54
tree7f5af7eddbe6676c08c9e313ca4174e7bc3613f7
parent958d0b7fbc501d9b07b13265c92378dfd8dd9832
libsmartcols: add scols_cell_refer_memory()

* allow to use non-string data
* use memcpy() rather than strdup() for data

Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols/src/cell.c
libsmartcols/src/libsmartcols.h.in
libsmartcols/src/libsmartcols.sym
libsmartcols/src/print.c
libsmartcols/src/smartcolsP.h