+
+/**
+ * the entity walk function
+ *
+ * @param ent points to the visited entity
+ * @param env free environment pointer
+ */
+typedef void entity_walk_func(entity *ent, void *env);
+
+/**
+ * Walks over all entities in the type.
+ *
+ * @param tp the type
+ * @param doit the entity walker function
+ * @param env environment, wil be passed to the walker function
+ */
+void walk_types_entities(type *tp,
+ entity_walk_func *doit,
+ void *env);