mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
284349482f
I have created the include/system/ directory, which will contain the wrappers for the system includes for logical subsystems. So far I have created include/system/kerberos.h and include/system/network.h, which contain all the system includes for kerberos code and networking code. These are the included in subsystems that need kerberos or networking respectively. Note that this method avoids the mess of #ifdef HAVE_XXX_H in every C file, instead each C module includes the include/system/XXX.h file for the logical system support it needs, and the details are kept isolated in include/system/ This patch also creates a "struct ipv4_addr" which replaces "struct in_addr" in our code. That avoids every C file needing to import all the system networking headers. (This used to be commit 2e25c71853f8996f73755277e448e7d670810349)
5 lines
242 B
Plaintext
5 lines
242 B
Plaintext
This directory contains wrappers around logical groups of system
|
|
include files. The idea is to avoid #ifdef blocks in the main code,
|
|
and instead put all the necessary conditional includes in subsystem
|
|
specific header files in this directory.
|