vppinfra: Function to check if a bihash has been initialised
[vpp.git] / src / vppinfra / bihash_template.h
index 83c9427..4ab27aa 100644 (file)
@@ -363,6 +363,8 @@ int BV (clib_bihash_search) (BVT (clib_bihash) * h,
                             BVT (clib_bihash_kv) * search_v,
                             BVT (clib_bihash_kv) * return_v);
 
+int BV (clib_bihash_is_initialised) (const BVT (clib_bihash) * h);
+
 #define BIHASH_WALK_STOP 0
 #define BIHASH_WALK_CONTINUE 1