diff options
author | Dave Barach <dave@barachs.net> | 2019-07-08 14:47:44 -0400 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2019-07-11 18:04:20 +0000 |
commit | 9e4946b324a8480b35c861e96199881b314ea825 (patch) | |
tree | 262de11d4b5d913098d5c58ef99573d339b4e0e0 /src/vppinfra/cache.h | |
parent | 39040a619af4e8750349edba2e93eecb8ce4538b (diff) |
vppinfra: bihash add-but-do-not-overwrite semantics
If is_add=2, fail w/ return value -2 if the key exists instead of
overwriting the (key,value) pair.
Type: feature
Change-Id: I00a3c194a381c68090369c31d6c6f9870cfe0a62
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vppinfra/cache.h')
0 files changed, 0 insertions, 0 deletions