aboutgitcodebugslistschat
path: root/test/lib/git:
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2026-05-20 11:55:25 +0200
committerStefano Brivio <sbrivio@redhat.com>2026-05-26 12:17:01 +0200
commit9361b6bab7b7e661b1a4a6b4847800e82dad0224 (patch)
treeacbc29db2e41765378a2c386bfee740090608323 /test/lib/git:
parent28ee143d92df5fd779a3f16b3f2717ab478584da (diff)
downloadpasst-9361b6bab7b7e661b1a4a6b4847800e82dad0224.tar
passt-9361b6bab7b7e661b1a4a6b4847800e82dad0224.tar.gz
passt-9361b6bab7b7e661b1a4a6b4847800e82dad0224.tar.bz2
passt-9361b6bab7b7e661b1a4a6b4847800e82dad0224.tar.lz
passt-9361b6bab7b7e661b1a4a6b4847800e82dad0224.tar.xz
passt-9361b6bab7b7e661b1a4a6b4847800e82dad0224.tar.zst
passt-9361b6bab7b7e661b1a4a6b4847800e82dad0224.zip
iov: Introduce IOV_PUSH_HEADER() macro
Add iov_push_header_() and its typed wrapper IOV_PUSH_HEADER() to write a header into an iov_tail at the current offset and advance past it. This is the write counterpart to IOV_PEEK_HEADER() / IOV_REMOVE_HEADER(), using iov_from_buf() to copy the header data across iovec boundaries. Signed-off-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/lib/git:')
0 files changed, 0 insertions, 0 deletions