summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/bihash_template.h
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2020-09-29 14:44:23 +0000
committerDamjan Marion <dmarion@me.com>2020-10-02 10:43:14 +0000
commiteb69648bf8f8839bcc955a43921790c443946eb4 (patch)
treef3542df7ab34116adb1af6f0a83621d9ef2234db /src/vppinfra/bihash_template.h
parent9a59785c91acf12926224b4660f2b12fe1e9eb1d (diff)
vppinfra: Function to check if a bihash has been initialised
Type: improvement Signed-off-by: Neale Ranns <nranns@cisco.com> Change-Id: Ic31f7721f326ca9d78d645abcea63ce58df5bd5b
Diffstat (limited to 'src/vppinfra/bihash_template.h')
-rw-r--r--src/vppinfra/bihash_template.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vppinfra/bihash_template.h b/src/vppinfra/bihash_template.h
index 83c94279668..4ab27aac38f 100644
--- a/src/vppinfra/bihash_template.h
+++ b/src/vppinfra/bihash_template.h
@@ -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