Skip to content

Add set_bitmap/test_bitmap functions for server/streaming-agent capability checking

Kevin Pouget requested to merge kpouget/spice-common:rev/bitmap into master

utils: add set_bitmap/test_bitmap functions

This patch introduces set_bitmap and test_bitmap + relevant macros, adapted from <qemu>/include/qemu/bitops.h.

These functions differ from set_bit/test_bit as they can set/test bits in bit arrays longer than scalar data-types.

See also spice-streaming-agent!1 (closed) and spice!10 (closed) that I will update soon

Merge request reports

Loading