thom311 / libnl

Netlink Library Suite
GNU Lesser General Public License v2.1
419 stars 311 forks source link

[th/move-private-headers-1] move some internal headers aroudn #353

Closed thom311 closed 1 year ago

thom311 commented 1 year ago

The build of libnl-3 is actually quite confusing. We have several libraries with public (stable) API. Which can use each other only via the symbols exported in the shared libraries.

Then under include/netlink-private three are internal headers, which make those symbols accessible to various places. But it's confusing.

A first step to try to clean this up. Internal headers should be in different directories, depending on who can use them (and what they themselves depend on/use).