mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +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
|
||
---|---|---|
.. | ||
net | ||
config.m4 | ||
config.mk | ||
getntacl.c | ||
ndrdump.c | ||
nmblookup.c | ||
ntlm_auth.c | ||
setntacl.c | ||
setnttoken.c |