X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fvlan-bitmap.h;h=3e2e82062dc2e099f026c75afec9e3596d786450;hb=HEAD;hp=092c2ca87a00dc90e235572c4fac8cee9e2fa1eb;hpb=fc3d74089cea8f4f7d026daf922d2b89305a7364;p=sliver-openvswitch.git diff --git a/lib/vlan-bitmap.h b/lib/vlan-bitmap.h index 092c2ca87..3e2e82062 100644 --- a/lib/vlan-bitmap.h +++ b/lib/vlan-bitmap.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2011 Nicira Networks +/* Copyright (c) 2011 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -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'. */