v4: include: split out non-exported definitions
Split out private definitions from public server module API.
changes v4:
- resolved conflicts
- cleaned up include statements
- dropped extra include dirs
changes v3:
- dropped commits for dixgrabs.h -- reworked version now in !1359 (merged)
- dropped commit for colormap.h -- reworked version now in !1283 (merged)
- dropped commit for hotplug.h -- reworked version now in !1360
- dropped commit for client.h -- reworked version now in !1279 (merged)
changes v2:
- fixed several headers, did move some pieces still needed by drivers
- tested against all drivers in gitlab that are compiling under linux
- added SPDX header on newly added files
- dropped unnecessary extern on function decls in new header files
- a bit nicer formatting of the new header files
Edited by Enrico Weigelt, metux IT consult .