summaryrefslogtreecommitdiff
path: root/include/lf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lf.h')
-rw-r--r--include/lf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/lf.h b/include/lf.h
index 21cf65941ff..5ca777dd680 100644
--- a/include/lf.h
+++ b/include/lf.h
@@ -232,6 +232,8 @@ void lf_hash_destroy(LF_HASH *hash);
int lf_hash_insert(LF_HASH *hash, LF_PINS *pins, const void *data);
void *lf_hash_search(LF_HASH *hash, LF_PINS *pins, const void *key, uint keylen);
int lf_hash_delete(LF_HASH *hash, LF_PINS *pins, const void *key, uint keylen);
+int lf_hash_iterate(LF_HASH *hash, LF_PINS *pins,
+ my_hash_walk_action action, void *argument);
/*
shortcut macros to access underlying pinbox functions from an LF_HASH
see _lf_pinbox_get_pins() and _lf_pinbox_put_pins()