diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-09-27 10:00:27 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:39:02 -0500 |
commit | 42b81d7c3e8ac9ad4c35d5377decbdd5ab18ffbb (patch) | |
tree | 41a3de61c250ed6340de45d76e15bcb58e21c676 | |
parent | 190683f3e8fd04c12b2a930b51393dbef546773d (diff) | |
download | samba-42b81d7c3e8ac9ad4c35d5377decbdd5ab18ffbb.tar.gz samba-42b81d7c3e8ac9ad4c35d5377decbdd5ab18ffbb.tar.bz2 samba-42b81d7c3e8ac9ad4c35d5377decbdd5ab18ffbb.zip |
r10528: Add credentials.h back into includes.h as some compilers don't
seem to be able to handle incomplete enum types.
(This used to be commit 540155fad3c8e3d79fb631bb3f14273f82130a73)
-rw-r--r-- | source4/client/client.c | 1 | ||||
-rw-r--r-- | source4/gtk/common/credentials.c | 1 | ||||
-rw-r--r-- | source4/include/includes.h | 1 | ||||
-rw-r--r-- | source4/include/structs.h | 4 | ||||
-rw-r--r-- | source4/lib/cmdline/popt_common.c | 1 | ||||
-rw-r--r-- | source4/lib/credentials.c | 1 | ||||
-rw-r--r-- | source4/lib/samba3/secrets.c | 1 | ||||
-rw-r--r-- | source4/ntvfs/cifs/vfs_cifs.c | 1 | ||||
-rw-r--r-- | source4/rpc_server/remote/dcesrv_remote.c | 1 | ||||
-rw-r--r-- | source4/scripting/ejs/smbcalls_cli.c | 1 | ||||
-rw-r--r-- | source4/scripting/ejs/smbcalls_creds.c | 1 | ||||
-rw-r--r-- | source4/torture/basic/secleak.c | 1 | ||||
-rw-r--r-- | source4/torture/gentest.c | 1 | ||||
-rw-r--r-- | source4/torture/locktest.c | 1 | ||||
-rw-r--r-- | source4/torture/masktest.c | 1 | ||||
-rw-r--r-- | source4/torture/rpc/samlogon.c | 1 | ||||
-rw-r--r-- | source4/torture/rpc/samsync.c | 1 | ||||
-rw-r--r-- | source4/torture/rpc/schannel.c | 1 | ||||
-rw-r--r-- | source4/utils/ntlm_auth.c | 1 |
19 files changed, 1 insertions, 21 deletions
diff --git a/source4/client/client.c b/source4/client/client.c index ff41cba7e0..62841af23e 100644 --- a/source4/client/client.c +++ b/source4/client/client.c @@ -32,7 +32,6 @@ #include "system/dir.h" #include "system/filesys.h" #include "dlinklist.h" -#include "credentials.h" #include "system/readline.h" #include "pstring.h" diff --git a/source4/gtk/common/credentials.c b/source4/gtk/common/credentials.c index 176fe08c21..01132ec6bd 100644 --- a/source4/gtk/common/credentials.c +++ b/source4/gtk/common/credentials.c @@ -20,7 +20,6 @@ #include "includes.h" #include "gtk/common/gtk-smb.h" -#include "include/credentials.h" static void gtk_get_credentials(struct cli_credentials *credentials) { diff --git a/source4/include/includes.h b/source4/include/includes.h index 78481ac679..ee1ac6d96e 100644 --- a/source4/include/includes.h +++ b/source4/include/includes.h @@ -114,6 +114,7 @@ struct ipv4_addr { #include "ntvfs/ntvfs.h" #include "cli_context.h" #include "lib/com/com.h" +#include "credentials.h" #define malloc_p(type) (type *)malloc(sizeof(type)) #define malloc_array_p(type, count) (type *)realloc_array(NULL, sizeof(type), count) diff --git a/source4/include/structs.h b/source4/include/structs.h index e09d9bb242..ca28c1fc7a 100644 --- a/source4/include/structs.h +++ b/source4/include/structs.h @@ -297,7 +297,3 @@ struct ldb_map_objectclass; struct param_context; struct param_section; struct param; - -enum credentials_obtained; -struct cli_credentials; -struct ccache_container; diff --git a/source4/lib/cmdline/popt_common.c b/source4/lib/cmdline/popt_common.c index 76c8a537e3..43ea203b78 100644 --- a/source4/lib/cmdline/popt_common.c +++ b/source4/lib/cmdline/popt_common.c @@ -25,7 +25,6 @@ #include "system/filesys.h" #include "system/passwd.h" #include "lib/cmdline/popt_common.h" -#include "credentials.h" /* Handle command line options: * -d,--debuglevel diff --git a/source4/lib/credentials.c b/source4/lib/credentials.c index 166d60b00d..045047d358 100644 --- a/source4/lib/credentials.c +++ b/source4/lib/credentials.c @@ -27,7 +27,6 @@ #include "librpc/gen_ndr/ndr_samr.h" /* for struct samrPassword */ #include "system/kerberos.h" #include "auth/kerberos/kerberos.h" -#include "include/credentials.h" /** diff --git a/source4/lib/samba3/secrets.c b/source4/lib/samba3/secrets.c index 0981a7a6ec..0f3cc0c581 100644 --- a/source4/lib/samba3/secrets.c +++ b/source4/lib/samba3/secrets.c @@ -30,7 +30,6 @@ #include "system/filesys.h" #include "librpc/gen_ndr/ndr_security.h" #include "lib/tdb/include/tdbutil.h" -#include "credentials.h" /** * Unpack SID into a pointer diff --git a/source4/ntvfs/cifs/vfs_cifs.c b/source4/ntvfs/cifs/vfs_cifs.c index 04ed1fd7d9..789f24259a 100644 --- a/source4/ntvfs/cifs/vfs_cifs.c +++ b/source4/ntvfs/cifs/vfs_cifs.c @@ -32,7 +32,6 @@ #include "libcli/smb_composite/smb_composite.h" #include "smb_server/smb_server.h" #include "smbd/service_stream.h" -#include "credentials.h" /* this is stored in ntvfs_private */ struct cvfs_private { diff --git a/source4/rpc_server/remote/dcesrv_remote.c b/source4/rpc_server/remote/dcesrv_remote.c index 08734493ba..9e77347fa7 100644 --- a/source4/rpc_server/remote/dcesrv_remote.c +++ b/source4/rpc_server/remote/dcesrv_remote.c @@ -21,7 +21,6 @@ #include "includes.h" #include "rpc_server/dcerpc_server.h" -#include "credentials.h" struct dcesrv_remote_private { struct dcerpc_pipe *c_pipe; diff --git a/source4/scripting/ejs/smbcalls_cli.c b/source4/scripting/ejs/smbcalls_cli.c index 3b0905d7d3..d7ffea29fe 100644 --- a/source4/scripting/ejs/smbcalls_cli.c +++ b/source4/scripting/ejs/smbcalls_cli.c @@ -26,7 +26,6 @@ #include "libcli/raw/libcliraw.h" #include "libcli/composite/composite.h" #include "clilist.h" -#include "credentials.h" #if 0 diff --git a/source4/scripting/ejs/smbcalls_creds.c b/source4/scripting/ejs/smbcalls_creds.c index d615bcbed2..cc2ccf8c47 100644 --- a/source4/scripting/ejs/smbcalls_creds.c +++ b/source4/scripting/ejs/smbcalls_creds.c @@ -24,7 +24,6 @@ #include "scripting/ejs/smbcalls.h" #include "lib/appweb/ejs/ejs.h" #include "lib/cmdline/popt_common.h" -#include "credentials.h" /* helper function to get the local objects credentials ptr diff --git a/source4/torture/basic/secleak.c b/source4/torture/basic/secleak.c index 2a1c5b15d5..f77b399874 100644 --- a/source4/torture/basic/secleak.c +++ b/source4/torture/basic/secleak.c @@ -24,7 +24,6 @@ #include "libcli/raw/libcliraw.h" #include "system/time.h" #include "libcli/composite/composite.h" -#include "credentials.h" #include "libcli/smb_composite/smb_composite.h" static BOOL try_failed_login(struct smbcli_state *cli) diff --git a/source4/torture/gentest.c b/source4/torture/gentest.c index 2765df35f0..8a2bba8497 100644 --- a/source4/torture/gentest.c +++ b/source4/torture/gentest.c @@ -24,7 +24,6 @@ #include "request.h" #include "libcli/raw/libcliraw.h" #include "librpc/gen_ndr/ndr_security.h" -#include "credentials.h" #define NSERVERS 2 #define NINSTANCES 2 diff --git a/source4/torture/locktest.c b/source4/torture/locktest.c index 980fc6287c..be363d0cb3 100644 --- a/source4/torture/locktest.c +++ b/source4/torture/locktest.c @@ -22,7 +22,6 @@ #include "system/filesys.h" #include "system/time.h" #include "pstring.h" -#include "credentials.h" static int numops = 1000; static BOOL showall; diff --git a/source4/torture/masktest.c b/source4/torture/masktest.c index b432c7129a..0b1c58a2f2 100644 --- a/source4/torture/masktest.c +++ b/source4/torture/masktest.c @@ -23,7 +23,6 @@ #include "clilist.h" #include "libcli/raw/libcliraw.h" #include "system/time.h" -#include "credentials.h" #include "pstring.h" static struct cli_credentials *credentials; diff --git a/source4/torture/rpc/samlogon.c b/source4/torture/rpc/samlogon.c index 8fa784c624..ef0ccd9037 100644 --- a/source4/torture/rpc/samlogon.c +++ b/source4/torture/rpc/samlogon.c @@ -27,7 +27,6 @@ #include "auth/auth.h" #include "lib/crypto/crypto.h" #include "lib/cmdline/popt_common.h" -#include "credentials.h" #define TEST_MACHINE_NAME "samlogontest" #define TEST_USER_NAME "samlogontestuser" diff --git a/source4/torture/rpc/samsync.c b/source4/torture/rpc/samsync.c index 1f526ff7bc..9cd30ef019 100644 --- a/source4/torture/rpc/samsync.c +++ b/source4/torture/rpc/samsync.c @@ -28,7 +28,6 @@ #include "dlinklist.h" #include "lib/crypto/crypto.h" #include "system/time.h" -#include "credentials.h" #define TEST_MACHINE_NAME "samsynctest" #define TEST_WKSTA_MACHINE_NAME "samsynctest2" diff --git a/source4/torture/rpc/schannel.c b/source4/torture/rpc/schannel.c index d5df777451..c10405354e 100644 --- a/source4/torture/rpc/schannel.c +++ b/source4/torture/rpc/schannel.c @@ -24,7 +24,6 @@ #include "librpc/gen_ndr/ndr_samr.h" #include "librpc/gen_ndr/ndr_netlogon.h" #include "lib/cmdline/popt_common.h" -#include "credentials.h" #define TEST_MACHINE_NAME "schanneltest" diff --git a/source4/utils/ntlm_auth.c b/source4/utils/ntlm_auth.c index d2be631d99..3b94640f22 100644 --- a/source4/utils/ntlm_auth.c +++ b/source4/utils/ntlm_auth.c @@ -28,7 +28,6 @@ #include "lib/cmdline/popt_common.h" #include "auth/auth.h" #include "librpc/gen_ndr/ndr_security.h" -#include "credentials.h" #include "pstring.h" #define SQUID_BUFFER_SIZE 2010 |