In the server our header files are a bit hectic. We have 192 headers, distributed through out the tree. 32 of these are in the server core itself.
However, even the ones in the server core, often have a reliance on headers and parts outside of the core, such as cert.h in ldaputil, or ssl.h from nss. We have plugins that reference slap.h, It's hard to trace structures, our definitions are all over the place.
I want to propose a header cleanup, that structures our headers in the following way.
This would allow us to very clearly identify what is and isn't supported, we have clearer barriers of abstraction.
If you find yourself in a situation saying "I need something from slapi-internal-x.h", then we need to expose this in slapi-private or slapi-public properly instead of pulling in the header! This will also guide us when we change symbol visibility of libslapd.
Metadata Update from @firstyear: - Issue assigned to firstyear - Issue set to the milestone: FUTURE
Metadata Update from @firstyear: - Issue close_status updated to: None - Issue tagged with: Complex, Investigate
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in 389-ds-base's github repository.
This issue has been cloned to Github and is available here: - https://github.com/389ds/389-ds-base/issues/2183
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi: - Issue close_status updated to: wontfix - Issue status updated to: Closed (was: Open)