On 07/17/2014 10:12 AM, Michal Privoznik wrote:
This internal API just checks if two bitmaps intersect or not.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
src/libvirt_private.syms | 1 +
src/util/virbitmap.c | 20 ++++++++++++++++++++
src/util/virbitmap.h | 3 +++
tests/virbitmaptest.c | 26 ++++++++++++++++++++++++++
4 files changed, 50 insertions(+)
diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
index 44403fd..256edd5 100644
--- a/src/libvirt_private.syms
+++ b/src/libvirt_private.syms
@@ -1016,6 +1016,7 @@ virBitmapClearBit;
virBitmapCopy;
virBitmapCountBits;
virBitmapDataToString;
+virBitmapDoesIntersect;
The naming sounds awkward. Maybe virBitmapIntersects or
virBitmapHasIntersection would be better.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org