mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07: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
|
||
---|---|---|
.. | ||
clioplock.c | ||
clisession.c | ||
clisocket.c | ||
clitransport.c | ||
clitree.c | ||
libcliraw.h | ||
rawacl.c | ||
rawdate.c | ||
raweas.c | ||
rawfile.c | ||
rawfileinfo.c | ||
rawfsinfo.c | ||
rawioctl.c | ||
rawnegotiate.c | ||
rawnotify.c | ||
rawreadwrite.c | ||
rawrequest.c | ||
rawsearch.c | ||
rawsetfileinfo.c | ||
rawtrans.c | ||
README | ||
smb_signing.c |
Design notes for client library restructure: 1 - no references to cli_state should exist in libcli/raw. 2 - all interfaces to functions in this directory should use cli_session or cli_tree as the primary context structure