1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-18 19:33:16 +03:00
Commit Graph

3 Commits

Author SHA1 Message Date
Jelmer Vernooij
262c1c23a6 r25624: Remove ipv4_addr hack. Only causes 4 extra includes of system/network.h because we stripped down includes. 2007-12-21 05:43:00 +01:00
Andrew Tridgell
2e25c71853 r3443: the next stage in the include files re-organisation.
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.
2007-10-10 13:05:11 -05:00
Andrew Tridgell
b0510b5428 first public release of samba4 code -