]> xenbits.xensource.com Git - libvirt.git/commit
internal: Introduce STRCASESKIP()
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 10 Nov 2022 11:52:56 +0000 (12:52 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 16 Nov 2022 11:15:05 +0000 (12:15 +0100)
commit059e096435db1297e70e1df4d6f396583e93f4be
tree1d8227395c56a21a9e8070ef5b2cf4e797932095
parentaf4b994bc4624e9732359e63a1e3349984856617
internal: Introduce STRCASESKIP()

There is so far one case where STRCASEPREFIX(a, b) && a +
strlen(b) combo is used (in virVMXConfigScanResultsCollector()),
but there will be more. Do what we do usually: introduce a macro.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Tim Wiederhake <twiederh@redhat.com>
docs/coding-style.rst
src/internal.h