+/* More general callback-based iteration of all entries */
+typedef void (* dict_action_t) (void *closure, char *word);
+
+int
+dict_for_each (dict_t *dict,
+ dict_action_t action,
+ void *closure);
+
+int
+dict_for_each_by_length (dict_t *dict,
+ dict_action_t action,
+ void *closure);
+
+int
+dict_for_each_if (dict_t *dict,
+ dict_action_t action,
+ void *closure,
+ dict_entry_predicate_t predicate);
+
+int
+dict_for_each_by_length_if (dict_t *dict,
+ dict_action_t action,
+ void *closure,
+ dict_entry_predicate_t predicate);
+