Karl MacMillan wrote: > As part of some work to improve the parser in checkpolicy and module > data structures in libsepol, I have implemented doubly-linked list and > iterator data types. The attached patch adds these to libsepol. > > I would appreciate feedback on these before I submit larger patches that > make use of them. In particular: > > * Is the iterator concept acceptable (I plan to add iterator support to > other data types including hashtabs)? > Attached is a patch that implements iterators for hash tables (it also includes some unrelated cleanups). Karl