diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-01-03 17:27:33 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:49:40 -0500 |
commit | 63d718e243fd03e6ea24c47e7442975ec088a5b5 (patch) | |
tree | 97224ad82f32e4f61429316f32d244d0bea4aeae /source4/libcli | |
parent | 92461359f79803d97f942912d347c692fa596dc4 (diff) | |
download | samba-63d718e243fd03e6ea24c47e7442975ec088a5b5.tar.gz samba-63d718e243fd03e6ea24c47e7442975ec088a5b5.tar.bz2 samba-63d718e243fd03e6ea24c47e7442975ec088a5b5.zip |
r12696: Reduce the size of include/structs.h
(This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f)
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/cldap/cldap.h | 2 | ||||
-rw-r--r-- | source4/libcli/smb2/keepalive.c | 1 | ||||
-rw-r--r-- | source4/libcli/smb2/logoff.c | 1 | ||||
-rw-r--r-- | source4/libcli/smb2/smb2.h | 2 | ||||
-rw-r--r-- | source4/libcli/smb2/smb2_calls.h | 2 | ||||
-rw-r--r-- | source4/libcli/smb2/tdis.c | 1 | ||||
-rw-r--r-- | source4/libcli/smb2/transport.c | 1 |
7 files changed, 8 insertions, 2 deletions
diff --git a/source4/libcli/cldap/cldap.h b/source4/libcli/cldap/cldap.h index e1f59464e5..0baaec02df 100644 --- a/source4/libcli/cldap/cldap.h +++ b/source4/libcli/cldap/cldap.h @@ -23,6 +23,8 @@ #include "libcli/util/asn_1.h" #include "librpc/gen_ndr/ndr_nbt.h" +struct ldap_message; + enum cldap_request_state {CLDAP_REQUEST_SEND, CLDAP_REQUEST_WAIT, CLDAP_REQUEST_DONE, diff --git a/source4/libcli/smb2/keepalive.c b/source4/libcli/smb2/keepalive.c index 99d9dd3ae9..b800bdb3b1 100644 --- a/source4/libcli/smb2/keepalive.c +++ b/source4/libcli/smb2/keepalive.c @@ -22,6 +22,7 @@ #include "includes.h" #include "libcli/smb2/smb2.h" +#include "libcli/smb2/smb2_calls.h" /* send a keepalive request diff --git a/source4/libcli/smb2/logoff.c b/source4/libcli/smb2/logoff.c index ba0e691e8b..977c1e57af 100644 --- a/source4/libcli/smb2/logoff.c +++ b/source4/libcli/smb2/logoff.c @@ -22,6 +22,7 @@ #include "includes.h" #include "libcli/smb2/smb2.h" +#include "libcli/smb2/smb2_calls.h" /* send a logoff request diff --git a/source4/libcli/smb2/smb2.h b/source4/libcli/smb2/smb2.h index cf84f34442..913d58409b 100644 --- a/source4/libcli/smb2/smb2.h +++ b/source4/libcli/smb2/smb2.h @@ -199,5 +199,3 @@ struct smb2_request { return NT_STATUS_INVALID_PARAMETER; \ } \ } while (0) - -#include "libcli/smb2/smb2_proto.h" diff --git a/source4/libcli/smb2/smb2_calls.h b/source4/libcli/smb2/smb2_calls.h index 08e765ad60..7349b609cb 100644 --- a/source4/libcli/smb2/smb2_calls.h +++ b/source4/libcli/smb2/smb2_calls.h @@ -361,3 +361,5 @@ struct smb2_flush { struct smb2_handle handle; } in; }; + +#include "libcli/smb2/smb2_proto.h" diff --git a/source4/libcli/smb2/tdis.c b/source4/libcli/smb2/tdis.c index 7d1f7aee4e..9ea58113b3 100644 --- a/source4/libcli/smb2/tdis.c +++ b/source4/libcli/smb2/tdis.c @@ -22,6 +22,7 @@ #include "includes.h" #include "libcli/smb2/smb2.h" +#include "libcli/smb2/smb2_calls.h" /* send a tdis request diff --git a/source4/libcli/smb2/transport.c b/source4/libcli/smb2/transport.c index 60dd5d2ba6..d5591fa11c 100644 --- a/source4/libcli/smb2/transport.c +++ b/source4/libcli/smb2/transport.c @@ -23,6 +23,7 @@ #include "includes.h" #include "libcli/raw/libcliraw.h" #include "libcli/smb2/smb2.h" +#include "libcli/smb2/smb2_calls.h" #include "lib/socket/socket.h" #include "lib/events/events.h" #include "lib/stream/packet.h" |