Hi everyone!
While working on my overlay, I add real hard time trying to understand the structure used by OpenLDAP.
To help me out, I used Doxygen that automatically generates a map of the structures (and much more) from the source code.
I would highly recommend you to use this tool so that future developers can easily find their way in your structures.
The best solution would be to add this kind of documentation to the OpenLDAP website, so that everyone could easily access it.
I don't want to judge your way of doing things, I just want to share something that helped me out allot!
Best regards,
Johan Jakus