X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=lib%2Fvlan-bitmap.h;h=fed0ba197ab74cb69748f8b9e8d10c24eafefc5e;hb=b5a36e3878937a489458f7a0ff42769e826ae88b;hp=092c2ca87a00dc90e235572c4fac8cee9e2fa1eb;hpb=fc3d74089cea8f4f7d026daf922d2b89305a7364;p=openvswitch diff --git a/lib/vlan-bitmap.h b/lib/vlan-bitmap.h index 092c2ca8..fed0ba19 100644 --- a/lib/vlan-bitmap.h +++ b/lib/vlan-bitmap.h @@ -28,6 +28,9 @@ * This is empirically a useful data structure. */ unsigned long *vlan_bitmap_from_array(const int64_t *vlans, size_t n_vlans); +int vlan_bitmap_from_array__(const int64_t *vlans, size_t n_vlans, + unsigned long int *b); + bool vlan_bitmap_equal(const unsigned long *a, const unsigned long *b); /* Returns a new copy of 'vlans'. */