bankd: Implement new ResetStateReq
Change-Id: Ib794e605162903a2b2c4f4516887ec91fc8d139a
diff --git a/src/slotmap.h b/src/slotmap.h
index bf18e04..3d07c8d 100644
--- a/src/slotmap.h
+++ b/src/slotmap.h
@@ -83,6 +83,9 @@
void slotmap_del(struct slotmaps *maps, struct slot_mapping *map);
void _slotmap_del(struct slotmaps *maps, struct slot_mapping *map);
+/* thread-safe removal of all bank<->client maps */
+void slotmap_del_all(struct slotmaps *maps);
+
/* initialize the entire map collection */
struct slotmaps *slotmap_init(void *ctx);